document.writeln(" <div style=\"border:0; width:auto; height:auto;\"> ");
document.writeln(" <script type=\"text/javascript\" language=\"JavaScript\"> ");
document.writeln(" <!-- ");
document.writeln(" var a=new Array(); ");
document.writeln(" var colorCount=0,bgcolorCount=255; ");
document.writeln(" var Timer; ");
document.writeln(" window.onload=load; ");
document.writeln(" function load() ");
document.writeln(" { ");
document.writeln(" a=document.getElementById('container').getElementsByTagName('a'); ");
document.writeln(" } ");
document.writeln(" function LoadAll(arrayID) ");
document.writeln(" { ");
document.writeln(" if(colorCount<255||bgcolorCount>0) ");
document.writeln(" { ");
document.writeln(" with(a[arrayID].style) ");
document.writeln(" 	{ ");
document.writeln(" color=\"rgb(\"+colorCount+\",\"+colorCount+\",\"+colorCount+\")\"; ");
document.writeln(" 	 border=\"2 white outset\"; ");
document.writeln(" 		backgroundColor=\"rgb(\"+bgcolorCount+\",\"+bgcolorCount+\",\"+bgcolorCount+\")\"; ");
document.writeln(" 	} ");
document.writeln(" 	colorCount+=4; ");
document.writeln(" 	bgcolorCount-=4; ");
document.writeln(" } ");
document.writeln(" Timer=setTimeout(\"LoadAll(\"+arrayID+\");\",10); ");
document.writeln(" } ");
document.writeln(" function OMOver(arrayID) ");
document.writeln(" { ");
document.writeln(" clearTimeout(Timer); ");
document.writeln(" bgcolorCount=255; ");
document.writeln(" colorCount=0; ");
document.writeln(" LoadAll(arrayID); ");
document.writeln(" } ");
document.writeln(" function OMOut(arrayID) ");
document.writeln(" { ");
document.writeln(" bgcolorCount=0; ");
document.writeln(" colorCount=255; ");
document.writeln(" with(a[arrayID].style) ");
document.writeln(" 	{ ");
document.writeln(" 	 color=\"lightyellow\"; ");
document.writeln(" 		border=\"0\"; ");
document.writeln(" 		backgroundColor=\"black\"; ");
document.writeln(" 	} ");
document.writeln(" } ");
document.writeln(" function OMDown(arrayID) ");
document.writeln(" { ");
document.writeln(" with(a[arrayID].style) ");
document.writeln(" 	{ ");
document.writeln(" 	 colorCount=255; ");
document.writeln(" 		bgcolorCount=0; ");
document.writeln(" 	 border=\"2 red inset\"; ");
document.writeln(" 	} ");
document.writeln(" } ");
document.writeln(" //--> ");
document.writeln(" </script> ");
document.writeln(" <script type=\"text/javascript\" language=\"JavaScript1.2\"> ");
document.writeln(" var slideshow_width='150px' //SET SLIDESHOW WIDTH (set to largest image's width if multiple dimensions exist) ");
document.writeln(" var slideshow_height='150px' //SET SLIDESHOW HEIGHT (set to largest image's height if multiple dimensions exist) ");
document.writeln(" var pause=9000 //SET PAUSE BETWEEN SLIDE (9000=9 seconds) ");
document.writeln(" var slidebgcolor=\"white\" ");
document.writeln("  ");
document.writeln(" var dropimages=new Array() ");
document.writeln(" //SET IMAGE PATHS. Extend or contract array as needed ");
document.writeln(" dropimages[0]=\"beaches/anubeach2.jpg\" ");
document.writeln(" dropimages[1]=\"beaches/cocobaysmall.jpg\" ");
document.writeln(" dropimages[2]=\"beaches/fryersbaysmall.jpg\" ");
document.writeln(" dropimages[3]=\"image/antigua-sunset.jpg\" ");
document.writeln(" dropimages[4]=\"image/anubar.jpg\" ");
document.writeln(" dropimages[5]=\"image/jollybeach-antigua.jpg\" ");
document.writeln("  ");
document.writeln(" var droplinks=new Array() ");
document.writeln(" //SET IMAGE URLs. Use \"\" if you wish particular image to NOT be linked: ");
document.writeln(" droplinks[0]=\"antigua-beach.html\" ");
document.writeln(" droplinks[1]=\"antigua-beach.html\" ");
document.writeln(" droplinks[2]=\"antigua-beach.html\" ");
document.writeln(" droplinks[3]=\"antigua-beach.html\" ");
document.writeln(" droplinks[4]=\"antigua-beach.html\" ");
document.writeln(" droplinks[5]=\"antigua-beach.html\" ");
document.writeln(" ////NO need to edit beyond here///////////// ");
document.writeln("  ");
document.writeln(" var preloadedimages=new Array() ");
document.writeln(" for (p=0;p<dropimages.length;p++){ ");
document.writeln(" preloadedimages[p]=new Image() ");
document.writeln(" preloadedimages[p].src=dropimages[p] ");
document.writeln(" } ");
document.writeln("  ");
document.writeln(" var ie4=document.all ");
document.writeln(" var dom=document.getElementById ");
document.writeln("  ");
document.writeln(" if (ie4||dom) ");
document.writeln(" document.write('<div style=\"position:relative;width:'+slideshow_width+';height:'+slideshow_height+';overflow:hidden\"><div id=\"canvas0\" style=\"position:absolute;width:'+slideshow_width+';height:'+slideshow_height+';background-color:'+slidebgcolor+';left:-'+slideshow_width+'\"></div><div id=\"canvas1\" style=\"position:absolute;width:'+slideshow_width+';height:'+slideshow_height+';background-color:'+slidebgcolor+';left:-'+slideshow_width+'\"></div></div>') ");
document.writeln(" else ");
document.writeln(" document.write('<a href=\"javascript:rotatelink()\"><img name=\"defaultslide\" src=\"'+dropimages[0]+'\" border=0></a>') ");
document.writeln("  ");
document.writeln(" var curpos=parseInt(slideshow_width)*(-1) ");
document.writeln(" var degree=10 ");
document.writeln(" var curcanvas=\"canvas0\" ");
document.writeln(" var curimageindex=linkindex=0 ");
document.writeln(" var nextimageindex=1 ");
document.writeln("  ");
document.writeln("  ");
document.writeln(" function movepic(){ ");
document.writeln(" if (curpos<0){ ");
document.writeln(" curpos=Math.min(curpos+degree,0) ");
document.writeln(" tempobj.style.left=curpos+\"px\" ");
document.writeln(" } ");
document.writeln(" else{ ");
document.writeln("  ");
document.writeln(" clearInterval(dropslide) ");
document.writeln(" nextcanvas=(curcanvas==\"canvas0\")? \"canvas0\" : \"canvas1\" ");
document.writeln(" tempobj=ie4? eval(\"document.all.\"+nextcanvas) : document.getElementById(nextcanvas) ");
document.writeln(" var slideimage='<img src=\"'+dropimages[curimageindex]+'\" border=0>' ");
document.writeln(" tempobj.innerHTML=(droplinks[curimageindex]!=\"\")? '<a href=\"'+droplinks[curimageindex]+'\">'+slideimage+'</a>' : slideimage ");
document.writeln(" nextimageindex=(nextimageindex<dropimages.length-1)? nextimageindex+1 : 0 ");
document.writeln(" setTimeout(\"rotateimage()\",pause) ");
document.writeln(" } ");
document.writeln(" } ");
document.writeln("  ");
document.writeln(" function rotateimage(){ ");
document.writeln(" if (ie4||dom){ ");
document.writeln(" resetit(curcanvas) ");
document.writeln(" var crossobj=tempobj=ie4? eval(\"document.all.\"+curcanvas) : document.getElementById(curcanvas) ");
document.writeln(" crossobj.style.zIndex++ ");
document.writeln(" var temp='setInterval(\"movepic()\",50)' ");
document.writeln(" dropslide=eval(temp) ");
document.writeln(" curcanvas=(curcanvas==\"canvas0\")? \"canvas1\" : \"canvas0\" ");
document.writeln(" } ");
document.writeln(" else ");
document.writeln(" document.images.defaultslide.src=dropimages[curimageindex] ");
document.writeln(" linkindex=curimageindex ");
document.writeln(" curimageindex=(curimageindex<dropimages.length-1)? curimageindex+1 : 0 ");
document.writeln(" } ");
document.writeln("  ");
document.writeln(" function rotatelink(){ ");
document.writeln(" if (droplinks[linkindex]!=\"\") ");
document.writeln(" window.location=droplinks[linkindex] ");
document.writeln(" } ");
document.writeln("  ");
document.writeln(" function resetit(what){ ");
document.writeln(" curpos=parseInt(slideshow_width)*(-1) ");
document.writeln(" var crossobj=ie4? eval(\"document.all.\"+what) : document.getElementById(what) ");
document.writeln(" crossobj.style.left=curpos+\"px\" ");
document.writeln(" } ");
document.writeln("  ");
document.writeln(" function startit(){ ");
document.writeln(" var crossobj=ie4? eval(\"document.all.\"+curcanvas) : document.getElementById(curcanvas) ");
document.writeln(" crossobj.innerHTML='<a href=\"'+droplinks[curimageindex]+'\"><img src=\"'+dropimages[curimageindex]+'\" border=0></a>' ");
document.writeln(" rotateimage() ");
document.writeln(" } ");
document.writeln("  ");
document.writeln(" if (ie4||dom) ");
document.writeln(" window.onload=startit ");
document.writeln(" else ");
document.writeln(" setInterval(\"rotateimage()\",pause) ");
document.writeln("  ");
document.writeln(" </script> ");
document.writeln(" </div> ");
document.writeln("  ");
document.writeln("  ");
