var image1=new Image()
image1.src="../images/shop-4-courses-blank.jpg"
var image2=new Image()
image2.src="../images/shop-4-courses-blank.jpg"
var image3=new Image()
image3.src="../images/shop-4-courses.jpg"




//variable that will increment through the images
var step=1
function slideit_front3(){
//if browser does not support the image object, exit.
if (!document.images)
return
document.images.slide.src=eval("image"+step+".src")
if (step<3)
step++
else
step=1
//call function "slideit()" every 1 seconds
setTimeout("slideit_front3()",1000)
}

if (window.addEventListener)
window.addEventListener("load", slideit_front3, false)
else if (window.attachEvent)
window.attachEvent("onload", slideit_front3)

