// JavaScript Document
document.writeln("<div id=\"divMenu\" style=\"z-index:1; right:5px; width:190px; position:absolute; top:30px;\">");
document.writeln("  <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("    <tr>");
document.writeln("      <td><a onclick=\"CloseQQ()\" href=\"#\" shape=\"circle\" title=\"点击关闭\"><img src=\"http://www.xaguoyi.com/kefu/head_4.gif\" width=\"190\" height=\"32\" /></a></td>");
document.writeln("    </tr>");
document.writeln("    <tr>");
document.writeln("      <td background=\"http://www.xaguoyi.com/kefu/back_4.gif\"><table width=\"100%\" border=\"0\" cellspacing=\"9\" cellpadding=\"0\">");
document.writeln("        <tr>");
document.writeln("          <td><table border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">");
document.writeln("            <tr>");
document.writeln("              <td width=\"60\"><a href=\"http://chat.looyu.com/chat/chat/p.do?c=10731\" target=\"_blank\"><img src=\"http://www.xaguoyi.com/kefu/liwei.jpg\" width=\"55\" height=\"73\" /></a></td>");
document.writeln("              <td width=\"10\"></td>");
document.writeln("              <td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("                <tr>");
document.writeln("                  <td style=\"font-size:14px; font-weight:bold; color:#06C\">肿瘤科</td>");
document.writeln("                </tr>");
document.writeln("                <tr>");
document.writeln("                  <td height=\"6\"></td>");
document.writeln("                </tr>");
document.writeln("                <tr>");
document.writeln("                   <td style=\"font-size:14px; color:#000\">李炜主任</td>");
document.writeln("                </tr>");
document.writeln("                <tr>");
document.writeln("                  <td height=\"6\"></td>");
document.writeln("                </tr>");
document.writeln("                <tr>");
document.writeln("                  <td><a href=\"http://chat.looyu.com/chat/chat/p.do?c=10731\" target=\"_blank\"><img src=\"http://www.xaguoyi.com/kefu/zixun.gif\" width=\"80\" height=\"27\" /></a></td>");
document.writeln("                </tr>");
document.writeln("              </table></td>");
document.writeln("            </tr>");
document.writeln("          </table></td>");
document.writeln("        </tr>");
document.writeln("        <tr>");
document.writeln("          <td background=\"http://www.xaguoyi.com/kefu/linenews.gif\" height=\"1\"></td>");
document.writeln("        </tr>");
document.writeln("        <tr>");
document.writeln("          <td><table border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">");
document.writeln("            <tr>");
document.writeln("              <td width=\"60\"><a href=\"http://chat.looyu.com/chat/chat/p.do?c=10731\" target=\"_blank\"><img src=\"http://www.xaguoyi.com/kefu/wangguoxian.jpg\" width=\"55\" height=\"73\" /></a></td>");
document.writeln("              <td width=\"10\"></td>");
document.writeln("              <td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("                <tr>");
document.writeln("                  <td style=\"font-size:14px; font-weight:bold; font-weight:bold; color:#06C; \">肿瘤科</td>");
document.writeln("                  </tr>");
document.writeln("                <tr>");
document.writeln("                  <td height=\"6\"></td>");
document.writeln("                  </tr>");
document.writeln("                <tr>");
document.writeln("                  <td style=\"font-size:14px; color:#000\">王国献主任</td>");
document.writeln("                  </tr>");
document.writeln("                <tr>");
document.writeln("                  <td height=\"6\"></td>");
document.writeln("                  </tr>");
document.writeln("                <tr>");
document.writeln("                  <td><a href=\"http://chat.looyu.com/chat/chat/p.do?c=10731\" target=\"_blank\"><img src=\"http://www.xaguoyi.com/kefu/zixun.gif\" width=\"80\" height=\"27\" /></a></td>");
document.writeln("                  </tr>");
document.writeln("                </table></td>");
document.writeln("              </tr>");
document.writeln("            </table></td>");
document.writeln("        </tr>");
document.writeln("        <tr>");
document.writeln("          <td background=\"http://www.xaguoyi.com/kefu/linenews.gif\" height=\"1\"></td>");
document.writeln("        </tr>");
document.writeln("        <tr>");
document.writeln("          <td><table border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">");
document.writeln("            <tr>");
document.writeln("              <td width=\"60\"><a href=\"http://chat.looyu.com/chat/chat/p.do?c=10731\" target=\"_blank\"><img src=\"http://www.xaguoyi.com/kefu/wangli.jpg\" width=\"55\" height=\"73\" /></a></td>");
document.writeln("              <td width=\"10\"></td>");
document.writeln("              <td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("                <tr>");
document.writeln("                  <td style=\"font-size:14px; font-weight:bold; font-weight:bold; color:#06C; \">肿瘤科</td>");
document.writeln("                </tr>");
document.writeln("                <tr>");
document.writeln("                  <td height=\"6\"></td>");
document.writeln("                </tr>");
document.writeln("                <tr>");
document.writeln("                  <td style=\"font-size:14px; color:#000\">王利主任</td>");
document.writeln("                </tr>");
document.writeln("                <tr>");
document.writeln("                  <td height=\"6\"></td>");
document.writeln("                </tr>");
document.writeln("                <tr>");
document.writeln("                  <td><a href=\"http://chat.looyu.com/chat/chat/p.do?c=10731\" target=\"_blank\"><img src=\"http://www.xaguoyi.com/kefu/zixun.gif\" width=\"80\" height=\"27\" /></a></td>");
document.writeln("                </tr>");
document.writeln("              </table></td>");
document.writeln("            </tr>");
document.writeln("          </table></td>");
document.writeln("        </tr>");
document.writeln("      </table></td>");
document.writeln("    </tr>");
document.writeln("    <tr>");
document.writeln("      <td><img src=\"http://www.xaguoyi.com/kefu/foot_4.gif\" width=\"190\" height=\"32\" /></td>");
document.writeln("    </tr>");
document.writeln("  </table>");
document.writeln("</div>");

function OnLineService(){
      var yMenuFrom, yMenuTo, yOffset, timeoutNextCheck;
      yMenuFrom   = parseInt (document.getElementById("divMenu").style.top, 10);
      yMenuTo     = document.documentElement.scrollTop + 50; //距页面顶部的距离
      timeoutNextCheck = 500;
      if ( yMenuFrom != yMenuTo ) {
              yOffset = Math.ceil( Math.abs( yMenuTo - yMenuFrom ) / 20 );
              if ( yMenuTo < yMenuFrom )
                      yOffset = -yOffset;
              document.getElementById("divMenu").style.top = parseInt (document.getElementById("divMenu").style.top, 10) + yOffset+"px";
              timeoutNextCheck = 10;
      }
      setTimeout ("OnLineService()", timeoutNextCheck);
}
function CloseQQ()
{
	document.getElementById("divMenu").style.visibility = "hidden";
}
OnLineService();
