﻿var w3c = (document.getElementById) ? true : false;
var agt = navigator.userAgent.toLowerCase();
var ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1) && (agt.indexOf("omniweb") == -1));
var mymovey = new Number();
function IeTrueBody(){
 return (document.compatMode && document.compatMode!="BackCompat") ? document.documentElement : document.body;
}
function GetScrollTop(){
 return ie ? IeTrueBody().scrollTop : window.pageYOffset;
}
function picsize(obj,MaxWidth){
  img=new Image();
  img.src=obj.src;
  if (img.width>MaxWidth)
  {
    return MaxWidth;
  }
  else
  {
    return img.width;
  }
}
function CloseQQ()
{
backi.style.display="none";
return true;
}
var online=new Array();
document.writeln("<table width=\"100%\" border=\"0\" align=\"right\" cellpadding=\"0\" cellspacing=\"0\">");
document.writeln(" <tr>");
document.writeln("  <td>");
document.writeln("   <div style=\"width:110px;float:right\">");
document.writeln("    <div style=\"width:0px;text-align:right;\">");
document.writeln("     <div id=\"backi\" style=\"z-index:1;width:110px;position:absolute;top:52px;visibility:inherit;text-align:right;\">");
document.writeln("      <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("       <tr>");
document.writeln("        <td><A onclick=\"CloseQQ()\" href=\"#\" shape=\"circle\" coords=\"91,16,12\"><img height=\"54\" src=\"http:\/\/www.xzdd.cn\/images/qq_01.gif\" width=\"110\" useMap=\"#Map\" border=\"0\" alt=\"点击可以关闭\"></A></td>");
document.writeln("       </tr>");
document.writeln("       <tr>");
document.writeln("        <td align=\"center\" background=\"http:\/\/www.xzdd.cn\/images/qq_02.gif\">");
document.writeln("         <table width=\"56%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">");
document.writeln("          <tr>");
document.writeln("           <td align=\"center\">");
document.writeln("            <table width=\"95%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">");
document.writeln("             <tr>");
document.writeln("              <td width=\"100%\" height=\"25\" align=\"center\" valign=\"top\" style=\"font-size:12px;color:#000000;line-height:22px;\">");
document.writeln("               <a target=\"_blank\" href=\"http://wpa.qq.com/msgrd?v=3&uin=694006246&site=qq&menu=yes\"><img border=\"0\" src=\"http://wpa.qq.com/pa?p=2:1610800691:41\" alt=\"在线\" title=\"在线\"></a>");
document.writeln("              </td>");
document.writeln("             </tr>");
document.writeln("             <tr>");
document.writeln("              <td width=\"100%\" height=\"25\" align=\"center\" valign=\"top\" style=\"font-size:12px;color:#000000;line-height:22px;\">");
document.writeln("               <a target=\"_blank\" href=\"http://wpa.qq.com/msgrd?v=3&uin=2472919162&site=qq&menu=yes\"><img border=\"0\" src=\"http://wpa.qq.com/pa?p=2:1971739258:41\" alt=\"在线\" title=\"在线\"></a>");
document.writeln("              </td>");
document.writeln("             </tr>");
document.writeln("             <tr>");
document.writeln("              <td width=\"100%\" height=\"25\" align=\"center\" valign=\"top\" style=\"font-size:12px;color:#000000;line-height:22px;\">");
document.writeln("               <a target=\"_blank\" href=\"http://wpa.qq.com/msgrd?v=3&uin=2467400583&site=qq&menu=yes\"><img border=\"0\" src=\"http://wpa.qq.com/pa?p=2:2467400583:41\" alt=\"在线\" title=\"在线\"></a>");
document.writeln("              </td>");
document.writeln("             </tr>");
document.writeln("            </table>");
document.writeln("           </td>");
document.writeln("          </tr>");
document.writeln("         </table>");
document.writeln("        </td>");
document.writeln("       </tr>");
document.writeln("       <tr>");
document.writeln("        <td><img src=\"http:\/\/www.xzdd.cn\/images/qq_04.gif\" width=\"110\" height=\"20\"></td>");
document.writeln("       </tr>");
document.writeln("      </table>");
document.writeln("     </div>");
document.writeln("    </div>");
document.writeln("   </div>");
document.writeln("  </td>");
document.writeln(" </tr>");
document.writeln("</table>");

function heartBeat(){
 diffY=GetScrollTop();
 mymovey += Math.floor((diffY-document.getElementById('backi').style.top.replace("px","")+450)*0.5);
 document.getElementById('backi').style.top = mymovey+"px";
}
window.setInterval("heartBeat()",1);

