﻿function reapply(){
setTimeout("slideit()",2000)
return true
}
window.onerror=reapply
var image1=new Image()
image1.src="motywy/img_bb/grafika/kot.jpg"
var image2=new Image()
image2.src="motywy/img_bb/grafika/mon.jpg"
var image3=new Image()
image3.src="motywy/img_bb/grafika/za.jpg"
var image4=new Image()
image4.src="motywy/img_bb/grafika/sk.jpg"
var image5=new Image()
image5.src="motywy/img_bb/grafika/bo.jpg"
var image6=new Image()
image6.src="motywy/img_bb/grafika/w.jpg"
var image7=new Image()
image7.src="motywy/img_bb/grafika/s.jpg"
var image8=new Image()
image8.src="motywy/img_bb/grafika/my.jpg"

var number_of_images=8
var speed=2
var step=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*1000+3000)
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=""
else if (whichimage==6)
window.location=""
else if (whichimage==7)
window.location=""
else if (whichimage=8)
window.location=""
}