function zfrxfloat1227168521490(){ function DivFloat1227168521490(id,xingshi,weizhi){ this.interval = 0; this.xingshi=xingshi; this.weizhi=weizhi; this.div = document.all(id); this.init = function() { if(weizhi=="right"){ this.div.style.left =getRoot1227168521490().clientWidth-this.div.offsetWidth-0; } if(weizhi=="left"){ this.div.style.left = 0; } if(xingshi==2) { this.div.style.top = 100+getRoot1227168521490().scrollTop; } var clientH = 0; if(getRoot1227168521490().scrollTop==0){ if(getRoot1227168521490().offsetHeight>screen.availHeight-50){ clientH = screen.availHeight-200; }else{ clientH=getRoot1227168521490().offsetHeight; } }else { clientH =getRoot1227168521490().offsetHeight; } if(xingshi==3){ this.div.style.top = getRoot1227168521490().scrollTop+clientH-this.div.offsetHeight-10; } if(xingshi==4){ this.div.style.left =(getRoot1227168521490().clientWidth-this.div.offsetWidth)/2; this.div.style.top = getRoot1227168521490().scrollTop+(clientH-this.div.offsetHeight)/2; } } this.startFloat = function(objName){ if(xingshi!=1){ this.interval = setInterval(objName+'.init()', 10); } } this.stopFloat = function(){ window.clearInterval(this.interval); } this.init(); } function getRoot1227168521490(){ if(document.documentElement && document.body){ return (document.documentElement.scrollTop > document.body.scrollTop) ? document.documentElement : document.body; }else if(document.documentElement){ return document.documentElement; }else{ return document.body; } } var zfrx_float_obj1227168521490=new DivFloat1227168521490('zfrx_float_div1227168521490',,''); zfrx_float_obj1227168521490.startFloat('zfrx_float_obj1227168521490');