var widths=766; //设置幻灯片宽度 var heights=302; //设置幻灯片高度 var counts=3; //设置幻灯片数量 //设置图片路径 img1=new Image ();img1.src='includes/templates/watches2/images/banner1.jpg'; img2=new Image ();img2.src='includes/templates/watches2/images/banner2.jpg'; img3=new Image ();img3.src='includes/templates/watches2/images/banner3.jpg'; //设置图片的URL url1=new Image ();url1.src='gucci-the-top-the-handle-c-3.html'; url2=new Image ();url2.src='gucci-the-top-the-handle-c-3.html'; url3=new Image ();url3.src='gucci-the-top-the-handle-c-3.html'; var nn=1; var key=0; function change_img() {if(key==0){key=1;} else if(document.all) {document.getElementById("pic").filters[0].Apply();document.getElementById("pic").filters[0].Play(duration=2);} eval('document.getElementById("pic").src=img'+nn+'.src'); eval('document.getElementById("url").href=url'+nn+'.src'); for (var i=1;icounts){nn=1;} //设置图片切换间隔时& #38388; tt=setTimeout('change_img()',3000);} function changeimg(n){nn=n;window.clearInterval(tt);change_img();} document.write(''); document.write('.axx{padding:1px 10px;border-left:#cccccc 1px solid;}'); document.write('a.axx:link,a.axx:visited{text-decoration:none;color:#fff;line-height:12px;font:9px sans-serif;background-color:#666;}'); document.write('a.axx:active,a.axx:hover{text-decoration:none;color:#fff;line-height:12px;font:9px sans-serif;background-color:#999;}'); document.write('.bxx{padding:1px 7px;border-left:#cccccc 1px solid;}'); document.write('a.bxx:link,a.bxx:visited{text-decoration:none;color:#fff;line-height:12px;font:9px sans-serif;background-color:#D34600;}'); document.write('a.bxx:active,a.bxx:hover{text-decoration:none;color:#fff;line-height:12px;font:9px sans-serif;background-color:#D34600;}'); document.write(''); document.write('
'); document.write('
'); document.write('