//选择器 function $a(id,tag){var re=(id&&typeof id!="string")?id:document.getelementbyid(id);if(!tag){return re;}else{return re.getelementsbytagname(tag);}} //焦点滚动图 点击移动 function movec() { var o=$a("bd1lfimg",""); var oli=$a("bd1lfimg","dl"); var oliw=oli[0].offsetwidth; //每次移动的宽度 var ow=o.offsetwidth-2; var dnow=0; //当前位置 var olf=oliw-(ow-oliw+10)/2; o["scrollleft"]=olf+(dnow*oliw); var rqbd=$a("bd1lfsj","ul")[0]; var extime; //for(var i=1;i"+i+"";} var rq=$a("bd1lfsj","li"); for(var i=0;i0?math.ceil(ns/10):math.floor(ns/10); o["scrollleft"]+=v;if(v==0){clearinterval(extime);oli[dnow].classname=rq[dnow].classname="show";v=null;} } function uu() { if(dnow