function $(element){ if(arguments.length>1){ for(var i=0,elements=[],length=arguments.length;i'+content+''); this.id=$(id); this.top=top; if(!!left){ this.id.style.left=((document.body.clientwidth-1020)/2-width-5)+"px"; window.onresize=function(){ this.id.style.left=((document.body.clientwidth-1020)/2-width-5)+"px"; }.bind(this); }else{ this.id.style.left=(document.body.clientwidth-width-5)+"px"; window.onresize=function(){ this.id.style.left=(document.body.clientwidth-width-5)+"px"; }.bind(this); } this.id.style.top=top+"px"; this.interid=setinterval(this.scroll.bind(this),20); }, scroll:function(){ this.stmnstartpoint = parseint(this.id.style.top, 10); this.stmnendpoint =document.documentelement.scrolltop+ this.top; if(navigator.useragent.indexof("chrome")>0){ this.stmnendpoint=document.body.scrolltop+this.top; } if ( this.stmnstartpoint != this.stmnendpoint ) { this.stmnscrollamount = math.ceil( math.abs( this.stmnendpoint - this.stmnstartpoint ) / 15 ); this.id.style.top = parseint(this.id.style.top, 10) + ( ( this.stmnendpoint"+this.imgoptions.alt+""; document.write(vhtmlstring); this.id=$(this.id); this.intervalid=setinterval(this.scroll.bind(this),this.delay); this.id.onmouseover=this.stop.bind(this); this.id.onmouseout=this.start.bind(this); }, scroll:function(){ var l=t=0; var b=document.documentelement.clientheight-this.id.offsetheight; var r=document.documentelement.clientwidth-this.id.offsetwidth; this.id.style.left=this.adposition.left+document.documentelement.scrollleft+"px"; this.id.style.top=this.adposition.top+document.documentelement.scrolltop+"px"; this.adposition.left =this.adposition.left + this.step*(this.herizonflag?1:-1); if (this.adposition.left < l) { this.herizonflag = true; this.adposition.left = l;} if (this.adposition.left > r){ this.herizonflag = false; this.adposition.left = r;} this.adposition.top =this.adposition.top + this.step*(this.verticleflag?1:-1); if(this.adposition.top <= t){ this.verticleflag=true; this.adposition.top=t;} if(this.adposition.top >= b){ this.verticleflag=false; this.adposition.top=b; } }, stop:function(){ clearinterval(this.intervalid); }, start:function(){ this.intervalid=setinterval(this.scroll.bind(this),this.delay); } } //new float_ad('followdiv2','
contact us
',138,true,155); new move_ad({url:"images/yb_yzsm.jpg",link:"./10bulletin/bulletin_xx.asp?id=31349",width:300,height:150},{left:40,top:160},30);