////change number of images below
var number_of_images=4
//change speed below (in seconds)
var speed=7
//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="#"
}

function reapply(){
setTimeout("slideit()",1000)
return true
}

window.onerror=reapply
var image1=new Image()
	image1.src="imgs/destaques/nylofor3D.jpg"
var image2=new Image()
	image2.src="imgs/destaques/gradilfor.jpg"
var image3=new Image()
	image3.src="imgs/destaques/nylofor3D_2.jpg"
var image4=new Image()
	image4.src="imgs/destaques/fortinet01.jpg"

