function zfrxfloat1229132374903(){ zfrxfloat_a1229132374903("1490367","2","right","1","社区生活助手",""); } var zfrx_interval1229132374903 = 0; var zfrx_drag_flag1229132374903 = 0; var zfrx_drag_flag_11229132374903 = 0; var zfrx_top1229132374903 = 0; var zfrx_xingshi1229132374903="2"; var zfrx_weizhi1229132374903="right"; function zfrxfloat_a1229132374903(id,xingshi,weizhi,fengge,zfrx_imageUrl,zfrx_innerHTML){ document.write("
"+zfrx_imageUrl+zfrx_innerHTML+"
"); if(xingshi=="4"){ document.all("zfrx_float_div1229132374903").style.display="none"; window.setTimeout("document.all(\"zfrx_float_div1229132374903\").style.display=\"block\";",5000); } } function yaoqing_close1229132374903(){ document.all("zfrx_float_div1229132374903").style.display="none"; window.clearInterval(zfrx_interval1229132374903); } zfrxfloat1229132374903(); function DivFloat1229132374903(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 =getRoot1229132374903().clientWidth-this.div.offsetWidth-0; } if(weizhi=="left"){ this.div.style.left = 0; } if(xingshi==2) { this.div.style.top = 300+getRoot1229132374903().scrollTop; } var clientH = 0; if(getRoot1229132374903().scrollTop==0){ if(getRoot1229132374903().offsetHeight>screen.availHeight-50){ clientH = screen.availHeight-200; }else{ clientH=getRoot1229132374903().offsetHeight; } }else { clientH =getRoot1229132374903().offsetHeight; } if(xingshi==3){ this.div.style.top = getRoot1229132374903().scrollTop+clientH-this.div.offsetHeight-10; } if(xingshi==4){ this.div.style.left =(getRoot1229132374903().clientWidth-this.div.offsetWidth)/2; this.div.style.top = getRoot1229132374903().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 getRoot1229132374903(){ 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_obj1229132374903=new DivFloat1229132374903('zfrx_float_div1229132374903',2,'right'); zfrx_float_obj1229132374903.startFloat('zfrx_float_obj1229132374903');