function Open_Window(theURL,winName,features) {setTimeout("winp.focus()",100);winp=window.open(theURL,winName,features);} function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i0&&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= imgend) {imgstart = -1;} // SET WHICH IMAGE TO DIFFUSE if (mylayer1.style.zIndex == 1) {todiffuse = 'layer1';todiffuse2 = 'image1';toupdate='image2';toupdate2='thelink2';} else {todiffuse = 'layer2';todiffuse2 = 'image2';toupdate='image1';toupdate2='thelink1';} thelayer = document.getElementById(todiffuse); theimage = document.getElementById(todiffuse2); // GET HIDDEN IMAGE & LINK thehiddenone = document.getElementById(toupdate); thehiddenone2 = document.getElementById(toupdate2); // UPDATE COUNTER ++imgstart; // UPDATE HIDDEN IMAGE & LINK imgandlink = image_url[imgstart].split("|"); //alert(thehiddenone2.href); thehiddenone.src = imgandlink[0]; thehiddenone2.href = imgandlink[1]; thebgcolor = imgandlink[2]; // SET TIMER EVENT showslide = setTimeout("difuseaction()", 9000); } function killslideshow() { clearTimeout(showslide); } function restartslideshow() { showslide = setTimeout("difuseaction()", 2000); }