
/*
Blending Image Slide Show Script- 
© Dynamic Drive (www.dynamicdrive.com)
For full source code, 100's more DHTML scripts, and Terms Of Use, visit dynamicdrive.com
*/

function reapply(){
setTimeout("slideit()",2000)
return true
}
window.onerror=reapply
<!--
var image1=new Image()
image1.src="http://dancoy.com/banner/jazz_guitarist.gif"
var image2=new Image()
image2.src="http://dancoy.com/banner/w3-creator.gif"
var image3=new Image()
image3.src="http://dancoy.com/banner/cycling_coach.gif"


<!--
////change number of images below 
var number_of_images=3
//change speed below (in seconds)
var speed=1
var step=Math.floor((Math.random()*3))
var whichimage=step

function slideit(){
if (!document.images)
return
if (document.all)
slide.filters.blendTrans.apply()
document.images.slide.src=eval("image"+step+".src")
if (document.all)
slide.filters.blendTrans.play()
whichimage=step
if (step<number_of_images)
step++
else
step=1
if (document.all)
setTimeout("slideit()",speed*1000+3000)
else
setTimeout("slideit()",speed*1000)
}

function slidelink(){
if (whichimage==1)
window.location="http://dancoy.com"
else if (whichimage==2)
window.location="http://w3-creator.com"
else if (whichimage==3)
window.location="http://coach.dancoy.com"

}
