var slideimages_index=new Array()
var slidelinks=new Array()
function slideshowimages(){
for (i=0;i<slideshowimages.arguments.length;i++){
slideimages_index[i]=new Image()
slideimages_index[i].src=slideshowimages.arguments[i]
}
}

function slideshowlinks(){
for (i=0;i<slideshowlinks.arguments.length;i++)
slidelinks[i]=slideshowlinks.arguments[i]
}

function gotoshow(){
if (!window.winslide||winslide.closed)
window.location=slidelinks[whichlink]
winslide.focus()
}


//configure the paths of the images, plus corresponding target links
slideshowimages("images/oferta_leasing_operational_dacia_duster_laureate_15.jpg","images/oferta_leasing_operational_dacia_mcv_laureate_15.jpg")
slideshowlinks("oferta_leasing_operational_dacia_duster_laureate_15.php","oferta_leasing_operational_dacia_mcv_laureate_15.php")

//configure the speed of the slideshow, in miliseconds
var slideshowspeed=4000

var whichlink=0
var whichimage=0
function slideit_index(){
if (!document.images)
return
document.images.slide.src=slideimages_index[whichimage].src
whichlink=whichimage
if (whichimage<slideimages_index.length-1)
whichimage++
else
whichimage=0
setTimeout("slideit_index()",slideshowspeed)
}

