﻿(function(){$get('dFloat:right').innerHTML='<div class="cus">'+'<div><a href="msnim:chat?contact=service1@dabuwawa.com" title="客服"><img src="http://image.dabuwawa.cn/online/msn_on.gif" id="msn1" style="vertical-align:text-bottom"/><font class="blode692b713">客服</font></a>'+'<a target="_blank" href="http://amos.im.alisoft.com/msg.aw?v=2&uid=dabuwawa%E5%AE%98%E7%BD%91&site=cntaobao&s=2&charset=utf-8" title="客服"><img id="ww1" src="http://image.dabuwawa.cn/online/ww_on.bmp" style="vertical-align:text-bottom"/><font class="blode692b713">客服</font></a></div>'+'</div><img alt="" src="/file/images/banner/toreg.gif" onclick="identity.showRegister();" /><a href="/buying/list.aspx?code=all"><img alt="" src="/file/images/banner/tonew.gif" /></a><a href="#top"><img alt="" src="/file/images/banner/totop.gif" /></a>'})();function scrollBanner(timer,moveNumber){function move(o){var st=document.documentElement.scrollTop+o.t;var sl=document.documentElement.scrollLeft+(o.c==0?o.a:document.documentElement.clientWidth-o.a-o.offsetWidth);var tc=st-o.offsetTop,lc=sl-o.offsetLeft;with(o.style){top=o.offsetTop+(tc!=0?tc/Math.abs(tc):0)*Math.min(Math.abs(tc),moveNumber)+"px";left=o.offsetLeft+(lc!=0?lc/Math.abs(lc):0)*Math.min(Math.abs(lc),moveNumber)+"px"}if(o.person){with(o.person.style){top=o.offsetTop+"px";left=o.offsetLeft+o.offsetWidth-o.person.offsetWidth+"px"}}};var hidden=function(){var o=this.parent;window.clearInterval(o.interval);o.parentNode.removeChild(o);this.parentNode.removeChild(this)};this.add=function(to,t,a,c){var div,exec=function(){move(to)};to.t=t;to.a=a;to.c=c;with(to.style){position="absolute";display="block";top=document.documentElement.scrollTop+t;left=document.documentElement.scrollLeft+(c==0?a:document.documentElement.clientWidth-a-to.offsetWidth)}if("undefined"!=typeof lo&&lo!=null){with(lo.style){position="absolute";display="block"}lo.onmousedown=hidden;lo.parent=to}exec();to.interval=window.setInterval(exec,timer)}}window.onload=function(){var b=new scrollBanner(10,15);b.add($get("dFloat:right"),80,10,1);b=null};