var slideshow_width='390px' //SET IMAGE WIDTH var slideshow_height='230px' //SET IMAGE HEIGHT var pause=10500 //SET PAUSE BETWEEN SLIDE (3000=3 seconds) var fadeimages=new Array() //SET 1) IMAGE PATHS, 2) optional link, 3), optional link target: fadeimages[0]=["img/as/INTERNET.jpg", "http://www.truvista.net/specials/currentpromotions.php", "Wireless"] fadeimages[1]=["img/as/cabletv.jpg", "http://www.truvista.net/specials/currentpromotions.php", "Wireless"] fadeimages[2]=["img/as/wireless.jpg", "http://www.truvista.net/specials/currentpromotions.php", "High-Definition TV"] fadeimages[3]=["img/as/VOICE1.jpg", "http://www.truvista.net/specials/currentpromotions.php", "Voice Services"] ////NO need to edit beyond here///////////// var preloadedimages=new Array() for (p=0;p
') else document.write('') var curpos=10 var degree=10 var curcanvas="canvas0" function get_random() { var ranNum= Math.floor(Math.random()*fadeimages.length); return ranNum; } var curimageindex=get_random() var nextimageindex=curimageindex+1 if (curimageindex==(fadeimages.length-1)){ nextimageindex=0 } function fadepic(){ if (curpos<100){ curpos+=10 if (tempobj.filters) tempobj.filters.alpha.opacity=curpos else if (tempobj.style.MozOpacity) tempobj.style.MozOpacity=curpos/101 } else{ clearInterval(dropslide) nextcanvas=(curcanvas=="canvas0")? "canvas0" : "canvas1" tempobj=ie4? eval("document.all."+nextcanvas) : document.getElementById(nextcanvas) tempobj.innerHTML=insertimage(nextimageindex) nextimageindex=(nextimageindex' : "" tempcontainer+='' tempcontainer=fadeimages[i][1]!=""? tempcontainer+'' : tempcontainer return tempcontainer } function rotateimage(){ if (ie4||dom){ resetit(curcanvas) var crossobj=tempobj=ie4? eval("document.all."+curcanvas) : document.getElementById(curcanvas) crossobj.style.zIndex++ tempobj.style.visibility="visible" var temp='setInterval("fadepic()",50)' dropslide=eval(temp) curcanvas=(curcanvas=="canvas0")? "canvas1" : "canvas0" } else document.images.defaultslide.src=fadeimages[curimageindex][0] curimageindex=(curimageindex