var astravan_slideShowSpeed=4000;
var astravan_crossFadeDuration=2;

var astravan_Pic = new Array();
astravan_Pic[0]="/images/new-vauxhall-vans/vauxhall-astravan-1-2.jpg";
astravan_Pic[1]="/images/new-vauxhall-vans/vauxhall-astravan-2-2.jpg";
astravan_Pic[2]="/images/new-vauxhall-vans/vauxhall-astravan-3-2.jpg";
astravan_Pic[3]="/images/new-vauxhall-vans/vauxhall-astravan-4-2.jpg";
var astravan_t;
var astravan_j=0;
var astravan_p=astravan_Pic.length;

var astravan_preLoad=new Array();
for (astravan_i=0;astravan_i<astravan_p;astravan_i++){
astravan_preLoad[astravan_i]=new Image();
astravan_preLoad[astravan_i].src=astravan_Pic[astravan_i]};

function astravan_runSlideShow(){
if (document.all){
document.images.astravan_SlideShow.style.filter="blendTrans(duration=astravan_crossFadeDuration);"
document.images.astravan_SlideShow.filters.blendTrans.Apply();
}
document.images.astravan_SlideShow.src=astravan_preLoad[astravan_j].src;
if (document.all){
document.images.astravan_SlideShow.filters.blendTrans.Play();
}
astravan_j=astravan_j+1;
if (astravan_j>(astravan_p-1)) astravan_j=0;
astravan_t=setTimeout('astravan_runSlideShow()', astravan_slideShowSpeed);
}