var speed=10000; //time picture is display
var delay=3; //time it takes to blend to the next picture
var y=1;
var y2=1;
imgpath=new Array;
imgpath[1]="images/pa1.jpg";
imgpath[2]="images/pa2.jpg";
imgpath[3]="images/pa3.jpg";
imgpath[4]="images/pa4.jpg";

imgpath2=new Array;
imgpath2[1]="images/smartsalesman1.jpg";
imgpath2[2]="images/smartsalesman1.jpg";


function show() { 

   document.all.pic.filters.blendTrans.Apply() 
   document.all.pic2.filters.blendTrans.Apply() 
   document.all.pic.src=imgpath[y++];
   document.all.pic2.src=imgpath2[y2++];
   document.all.pic.filters.blendTrans.Play(delay) 
   document.all.pic2.filters.blendTrans.Play(delay) 



   if (y>imgpath.length-1) y=1; 
   if (y2>imgpath2.length-1) y2=1; 
} 
function timeF() { 
   setTimeout("show()",speed) 
} 




