﻿var index=1;  // Image Count

function play()
{
    
    var item=new Array();
	
    item=item.concat("img_banner.jpg");
    item=item.concat("img_banner2.jpg");
    item=item.concat("img_banner3.jpg");
    item=item.concat("img_banner4.jpg");       
       if(index>=item.length)
       {
            index=0;
       }
       var str=item[index];
       var control=document.getElementById("Imgbanner");
       if (document.all){control.filters.blendTrans.apply();}
       control.src="/Images/"+str;
       if (document.all){control.filters.blendTrans.play();}
       
       index++;
       setTimeout("play()",5000); 
}
setTimeout("play()",5000); 