function playImg(){ t_end=document.getElementsByName("intsec")[0].value; if (t==95){ t=0; }else{ t++; } if (t==95){ t_end=10000; } if (goid==0){ img.style.filter="blendTrans(Duration=1)"; img.filters[0].apply(); img.src=ImgName[t]; tIndex=t; img.filters[0].play(); mytimeout=setTimeout("playImg()",t_end); } } function go(id){ if (id==1){ goid=0 playImg(); }else if(id==2){ goid=1; }else if(id==3){ goid=1; t=t+1; if (t<=95) img.src=ImgName[t+1]; }else if(id==4){ goid=1; t=t-1; if (t>0) img.src=ImgName[t]; } else if(id==5){ goid=1; t=0; playImg(); }else{ goid=0; t=0; playImg(); } }