/*********************************************** * Translucent Slideshow script- © Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code ***********************************************/ var trans_width='250px' var trans_height='167px' var pause=3000 var degree=10 var slideshowcontent=new Array() slideshowcontent[0]=["images/home/beach.jpg", "", ""] slideshowcontent[1]=["images/home/bounty.jpg", "", ""] slideshowcontent[2]=["images/home/bubblewrap train.jpg", "", ""] slideshowcontent[3]=["images/home/docks.jpg", "", ""] slideshowcontent[4]=["images/home/lighthouse.jpg", "", ""] slideshowcontent[5]=["images/home/windmills.jpg", "", ""] var bgcolor='white' var imageholder=new Array() for (i=0;i
') else if (document.layers){ document.write(''+'') } var curpos=trans_width*(-1) var curcanvas="canvas0" var curindex=0 var nextindex=1 function getslidehtml(theslide){ var slidehtml="" if (theslide[1]!="") slidehtml='' slidehtml+='' if (theslide[1]!="") slidehtml+='' return slidehtml } function moveslide(){ if (curpos<0){ curpos=Math.min(curpos+degree,0) tempobj.style.left=curpos+"px" } else{ clearInterval(dropslide) if (crossobj.filters) crossobj.filters.alpha.opacity=100 else if (crossobj.style.MozOpacity) crossobj.style.MozOpacity=1 nextcanvas=(curcanvas=="canvas0")? "canvas0" : "canvas1" tempobj=ie4? eval("document.all."+nextcanvas) : document.getElementById(nextcanvas) tempobj.innerHTML=getslidehtml(slideshowcontent[curindex]) nextindex=(nextindex