////change number of images below
var number_of_images=5
//change speed below (in seconds)
var speed=5
//Quantos passo por vez - de 1 em 1
var step=1
// De quantas em quantas imagens - de 1 em 1
var whichimage=1


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*999+1000)
else
setTimeout("slideit()",speed*1000)
}
function slidelink(){
if (whichimage==1)
	window.location="#"
else if (whichimage==2)
	window.location="#"
else if (whichimage==3)
	window.location="#"
else if (whichimage==4)
	window.location="#"
else if (whichimage==5)
	window.location="#"
}

function reapply(){
setTimeout("slideit()",1000)
return true
}

window.onerror=reapply
var image1=new Image()
	image1.src="imgs/produtos/img01.jpg"
var image2=new Image()
	image2.src="imgs/produtos/img02.jpg"
var image3=new Image()
	image3.src="imgs/produtos/img03.jpg"
var image4=new Image()
	image4.src="imgs/produtos/img04.jpg"
var image5=new Image()
	image5.src="imgs/produtos/img05.jpg"

