/***********************************************
* Flexi Slideshow- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var spcl_variableslide=new Array()

//spcl_variableslide[x]=["path to image", "OPTIONAL link for image", "OPTIONAL text description (supports HTML tags)"]

spcl_variableslide[0]=['ads/special/ad1.jpg', '#', '']
spcl_variableslide[1]=['ads/special/ad2.jpg', '#', '']
spcl_variableslide[2]=['ads/special/ad3.jpg', '#', '']
spcl_variableslide[3]=['ads/special/ad4.jpg', '#', '']
spcl_variableslide[4]=['ads/special/ad5.jpg', '#', '']
//spcl_variableslide[2]=['ads/special/ad3.jpg', 'link3.htm', '']

//configure the below 3 variables to set the dimension/background color of the slideshow

var spcl_slidewidth='170px' //set to width of LARGEST image in your slideshow
var spcl_slideheight='170px' //set to height of LARGEST iamge in your slideshow, plus any text description
var spcl_slidebgcolor='#FFFCF3'

//configure the below variable to determine the delay between image rotations (in miliseconds)
var spcl_slidedelay=3000

////Do not edit pass this line////////////////

var ie=document.all
var dom=document.getElementById

for (i=0;i<spcl_variableslide.length;i++){
var spcl_cacheimage=new Image()
spcl_cacheimage.src=spcl_variableslide[i][0]
}

var spcl_currentslide=0

function spcl_rotateimages(){
spcl_contentcontainer='<center>'
if (spcl_variableslide[spcl_currentslide][1]!="")
spcl_contentcontainer+='<a href="'+spcl_variableslide[spcl_currentslide][1]+'">'
spcl_contentcontainer+='<img src="'+spcl_variableslide[spcl_currentslide][0]+'" border="0" vspace="3">'
if (spcl_variableslide[spcl_currentslide][1]!="")
spcl_contentcontainer+='</a>'
spcl_contentcontainer+='</center>'
if (spcl_variableslide[spcl_currentslide][2]!="")
spcl_contentcontainer+=spcl_variableslide[spcl_currentslide][2]

if (document.layers){
spcl_crossrotateobj.document.write(spcl_contentcontainer)
spcl_crossrotateobj.document.close()
}
else if (ie||dom)
spcl_crossrotateobj.innerHTML=spcl_contentcontainer
if (spcl_currentslide==spcl_variableslide.length-1) spcl_currentslide=0
else spcl_currentslide++
setTimeout("spcl_rotateimages()",spcl_slidedelay)
}

if (ie||dom)
document.write('<div id="spcl_slidedom" style="width:'+spcl_slidewidth+';height:'+spcl_slideheight+'; background-color:'+spcl_slidebgcolor+'"></div>')

function start_slider_spcl(){
spcl_crossrotateobj=dom? document.getElementById("spcl_slidedom") : ie? document.all.spcl_slidedom : document.spcl_slidensmain.document.spcl_slidenssub
if (document.layers)
document.spcl_slidensmain.visibility="show"
spcl_rotateimages()
}

if (ie||dom)
start_slider_spcl()
else if (document.layers)
window.onload=start_slider_spcl

/*
</script>

<ilayer id="spcl_slidensmain" width=&{spcl_slidewidth}; height=&{spcl_slideheight}; bgColor=&{spcl_slidebgcolor}; visibility=hide><layer id="spcl_slidenssub" width=&{spcl_slidewidth}; left=0 top=0></layer></ilayer>

<p align="center"><font face="Arial" size="-2">Free DHTML scripts provided by<br>
<a href="http://www.dynamicdrive.com">Dynamic Drive</a></font></p>
*/