<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">document.writeln('&lt;div id="aa" style="width:141px;height:579px;background:#c0c0c0;text-align:center;"&gt;&lt;a href="javascript:;"  onclick="openonlineurl();" title="经典整形咨询中心美丽热线电话"&gt;&lt;img src="http://images.9191zx.com/d/www/phone.gif" width="141" height="579" alt="经典整形咨询中心美丽热线电话" border="0"/&gt;&lt;/a&gt;&lt;/div&gt;');
//document.writeln('&lt;div id="bb" style="width:100px;height:100px;background:#c0c0c0;"&gt;我静止不动&lt;/div&gt;');

function scrollx(p){
     var d = document,dd = d.documentElement,db = d.body,w = window,o = d.getElementById(p.id),ie6 = /msie 6/i.test(navigator.userAgent),style,timer;
     if(o){
       o.style.cssText +=";position:"+(p.f&amp;&amp;!ie6?'fixed':'absolute')+";"+(p.l==undefined?'right:10px;':'left:'+p.l+'px;')+(p.t!=undefined?'top:'+p.t+'px':'bottom:0');
       if(p.f&amp;&amp;ie6){
         o.style.cssText +=';left:expression(documentElement.scrollLeft + '+(p.l==undefined?dd.clientWidth-o.offsetWidth:p.l)+' + "px");top:expression(documentElement.scrollTop +'+(p.t==undefined?dd.clientHeight-o.offsetHeight:p.t)+'+ "px" );';
         dd.style.cssText +=';background-image: url(about:blank);background-attachment:fixed;';
       }else{
         if(!p.f){
            w.onresize = w.onscroll = function(){
            clearInterval(timer);
            timer = setInterval(function(){
              //双选择为了修复chrome 下xhtml解析时dd.scrollTop为 0
              var st = (dd.scrollTop||db.scrollTop),c;
              c = st  - o.offsetTop + (p.t!=undefined?p.t:(w.innerHeight||dd.clientHeight)-o.offsetHeight);
              if(c!=0){
                 o.style.top = o.offsetTop + Math.ceil(Math.abs(c)/10)*(c&lt;0?-1:1) + 'px';
              }else{
                 clearInterval(timer);  
              }
            },10)
      
            }
     
        }
      }
    }  
}
var th =(window.screen.height-400) / 2;

//scrollx({id:'aa',t:th})
scrollx({id:'aa',t:0})
//scrollx({id:'bb',l:0,t:200,f:1})
    /*
     id 你要滚动的内容的id
     l 横坐标的位置  不写为紧贴右边
     t 你要放在页面的那个位置默认是贴着底边 0是贴着顶边
     f 1表示固定 不写或者0表示滚动
    */

var online_url= "http://webchathn.tq.cn/pageinfo.jsp?version=vip&amp;admiuin=9880689&amp;ltype=1&amp;iscallback=1&amp;page_templete_id=40824&amp;is_message_sms=0&amp;is_send_mail=0&amp;action=acd&amp;acd=1&amp;type_code=1";

//var online_url= "http://plt.zoosnet.net/LR/Chatpre.aspx?id=PLT48738176&amp;lng=cn";
function openonlineurl()
{
  //window.open(online_url,'','');
  onClickOpenConsult();
}
//document.writeln('&lt;SCRIPT LANGUAGE="JavaScript" src=http://floathn.tq.cn/floatcard?adminid=9880689&amp;sort=7&gt;&lt;/SCRIPT&gt;');</pre></body></html>