<!--
/***********************************************
* 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_width3='124px' //slideshow width
var trans_height3='134px' //slideshow height
var pause3=7000 //SET PAUSE BETWEEN SLIDE (3000=3 seconds)
var degree3=5 //animation speed. Greater is faster.

var slideshowcontent3=new Array()
//Define slideshow contents: [image URL, OPTIONAL LINK, OPTIONAL LINK TARGET]
slideshowcontent3[0]=["images/FloridaBeaches1.jpg", "", ""]
slideshowcontent3[1]=["images/FloridaBeaches2.jpg", "", ""]
slideshowcontent3[2]=["images/FloridaBeaches3.jpg", "", ""]


////NO need to edit beyond here/////////////

var bgcolor3='#570707'//#EABC58

var imageholder3=new Array()
for (i=0;i<slideshowcontent3.length;i++){
imageholder3[i]=new Image()
imageholder3[i].src=slideshowcontent3[i][0]
}

var ie4=document.all
var dom=document.getElementById&&navigator.userAgent.indexOf("Opera")==-1

if (ie4||dom)
document.write('<div style="position:relative;width:'+trans_width3+';height:'+trans_height3+';overflow:hidden"><div id="canvas5" style="position:absolute;background-color:'+bgcolor+';width:'+trans_width3+';height:'+trans_height3+';left:-'+trans_width3+';filter:alpha(opacity=20);-moz-opacity:0.2;"></div><div id="canvas6" style="position:absolute;background-color:'+bgcolor+';width:'+trans_width3+';height:'+trans_height3+';left:-'+trans_width3+';filter:alpha(opacity=20);-moz-opacity:0.2;"></div></div>')
else if (document.layers){
document.write('<ilayer id=tickernsmain3 visibility=hide width='+trans_width3+' height='+trans_height3+' bgColor='+bgcolor+'><layer id=tickernssub3 width='+trans_width3+' height='+trans_height3+' left=0 top=0>'+'<img src="'+slideshowcontent3[0][0]+'"></layer></ilayer>')
}

var curpos3=trans_width3*(-1)
var curcanvas3="canvas5"
var curindex3=0
var nextindex3=1

function getslidehtml3(theslide3){
var slidehtml3=""
if (theslide3[1]!="")
slidehtml3='<a href="'+theslide3[1]+'" target="'+theslide3[2]+'">'
slidehtml3+='<p style="margin-top:7px;margin-left:5px;margin-right:5px;"><img src="'+theslide3[0]+'" border="0" height="120" width="110"></p>'
if (theslide3[1]!="")
slidehtml3+='</a>'
return slidehtml3
}

function moveslide3(){
if (curpos3<0){
curpos3=Math.min(curpos3+degree3,0)
tempobj3.style.left=curpos3+"px"
}
else{
clearInterval(dropslide3)
if (crossobj3.filters)
crossobj3.filters.alpha.opacity=100
else if (crossobj3.style.MozOpacity)
crossobj3.style.MozOpacity=1
nextcanvas=(curcanvas3=="canvas5")? "canvas5" : "canvas6"
tempobj3=ie4? eval("document.all."+nextcanvas) : document.getElementById(nextcanvas)
tempobj3.innerHTML=getslidehtml3(slideshowcontent3[curindex3])
nextindex3=(nextindex3<slideshowcontent3.length-1)? nextindex3+1 : 0
setTimeout("rotateslide3()",pause3)
}
}

function rotateslide3(){
if (ie4||dom){
resetit3(curcanvas3)
crossobj3=tempobj3=ie4? eval("document.all."+curcanvas3) : document.getElementById(curcanvas3)
crossobj3.style.zIndex++
if (crossobj3.filters)
document.all.canvas5.filters.alpha.opacity=document.all.canvas6.filters.alpha.opacity=20
else if (crossobj3.style.MozOpacity)
document.getElementById("canvas5").style.MozOpacity=document.getElementById("canvas6").style.MozOpacity=0.2
var temp='setInterval("moveslide3()",50)'
dropslide3=eval(temp)
curcanvas3=(curcanvas3=="canvas5")? "canvas6" : "canvas5"
}
else if (document.layers){
crossobj3.document.write(getslidehtml3(slideshowcontent3[curindex3]))
crossobj3.document.close()
}
curindex3=(curindex3<slideshowcontent3.length-1)? curindex3+1 : 0
}

function jumptoslide3(which){
curindex3=which
rotateslide3()
}

function resetit3(what){
curpos3=parseInt(trans_width3)*(-1)
var crossobj3=ie4? eval("document.all."+what) : document.getElementById(what)
crossobj3.style.left=curpos3+"px"
}

function startit(){
crossobj3=ie4? eval("document.all."+curcanvas3) : dom? document.getElementById(curcanvas3) : document.tickernsmain3.document.tickernsmain3
if (ie4||dom){
crossobj3.innerHTML=getslidehtml3(slideshowcontent3[curindex3])
rotateslide3()
}
else{
document.tickernsmain3.visibility='show'
curindex3++
setInterval("rotateslide3()",pause3)
}
}

if (window.addEventListener)
window.addEventListener("load", startit, false)
else if (window.attachEvent)
window.attachEvent("onload", startit)
else if (ie4||dom||document.layers)
window.onload=startit
//-->