function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i // ======================================= // set the following variables // ======================================= // Set slideShowSpeed (milliseconds) var slideShowSpeed = "5000" // SHOW THE DATE ON THE PAGE // Duration of crossfade (seconds) var crossFadeDuration = "3" // SHOW THE DATE ON THE PAGE // Specify the image files var Pic = new Array() // don't touch this // to add more images, just continue you might have to add the url like www.name.com/images // the pattern, adding to the array below var header1 ="header1_03.jpg" if ( header1 == "NONE" ) { header1path = "/sohoadmin/program/modules/site_templates/pages/MA_SuperBasic/_userimg-Header-Image.jpg"; } else { header1path = "/images/"+header1; } var header2 ="header2_03.jpg" if ( header2 == "NONE" ) { header2path = "/sohoadmin/program/modules/site_templates/pages/MA_SuperBasic/_userimg-Header-Image.jpg"; } else { header2path = "/images/"+header2; } var header3 ="header3_03.jpg" if ( header3 == "NONE" ) { header3path = "/sohoadmin/program/modules/site_templates/pages/MA_SuperBasic/_userimg-Header-Image.jpg"; } else { header3path = "/images/"+header3; } var header4 ="header4_03.jpg" if ( header4 == "NONE" ) { header4path = "/sohoadmin/program/modules/site_templates/pages/MA_SuperBasic/_userimg-Header-Image.jpg"; } else { header4path = "/images/"+header4; } Pic[0] = 'http://www.airadrenaline.ca'+header1path+'' Pic[1] = 'http://www.airadrenaline.ca'+header2path+'' Pic[2] = 'http://www.airadrenaline.ca'+header3path+'' Pic[3] = 'http://www.airadrenaline.ca'+header4path+'' // ======================================= // do not edit anything below this line // ======================================= var t var j = 0 var p = Pic.length var preLoad = new Array() for (i = 0; i < p; i++){ preLoad[i] = new Image() preLoad[i].src = Pic[i] } function runSlideShow(){ if (document.all){ document.images.SlideShow.style.filter="blendTrans(duration=2)" document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)" document.images.SlideShow.filters.blendTrans.Apply() } document.images.SlideShow.src = preLoad[j].src if (document.all){ document.images.SlideShow.filters.blendTrans.Play() } j = j + 1 if (j > (p-1)) j=0 t = setTimeout('runSlideShow()', slideShowSpeed) }