﻿
document.write("<link href=\"http://www.szgan.com/css/qq.css\" rel=\"stylesheet\" type=\"text/css\" />");
document.writeln("<script type=\"text/javascript\" src=\"http://www.szgan.com/kfzx/main.js\" charset=\"UTF-8\"></script>");
document.writeln("<script type=\"text/javascript\" src=\"http://www.szgan.com/kfzx/flobottom.js\" charset=\"UTF-8\"></script>");

document.write("<DIV class=QQbox id=divQQbox>");
document.write("<DIV class=\"d\">");
document.write("<a href=\"http://com.zoosnet.net/LR/Chatpre.aspx?id=COM70653874\" target=\"_blank\" class=\"a1\"></a>");
document.write("<a href=\"http://com.zoosnet.net/LR/Chatpre.aspx?id=COM70653874\" target=\"_blank\" class=\"a2\"></a>");
document.write("<a href=\"/mianfeidianhua/\" class=\"a3\"></a>");
document.write("<a href=\"tencent://message/?uin=800036661&amp;Site=深圳鹏程医院欢迎您&amp;Menu=yes\" target=\"_blank\" class=\"a4\"></a>");
document.write("</DIV>");
document.write("<div class=\"b\" onclick=\"document.getElementById('divQQbox').style.display='none';\"><img src='http://www.szgan.com/images/7.gif'></div>");
document.write("</DIV>");
document.write("<map name=\"Map\" id=\"Map\">");
document.write("<area shape=\"rect\" coords=\"3,4,112,35\" href=\"http://com.zoosnet.net/LR/Chatpre.aspx?id=COM70653874\" target=\"_blank\" />");
document.write("<area shape=\"rect\" coords=\"4,86,108,302\" href=\"http://com.zoosnet.net/LR/Chatpre.aspx?id=COM70653874\" target=\"_blank\" />");
document.write("<area shape=\"rect\" coords=\"5,303,109,337\" href=\"#\" />");
document.write("<area shape=\"rect\" coords=\"3,337,116,374\" href=\"http://com.zoosnet.net/LR/Chatpre.aspx?id=COM70653874\" target=\"_blank\" />");
document.write("</map>");
var tips; var theTop = 100;
var old = theTop;

function initFloatTips() {
    tips = document.getElementById('divQQbox');
    moveTips();
}


function moveTips() {
    var tt=140;
    if (window.innerHeight) {pos = window.pageYOffset;}
    else if(document.documentElement && document.documentElement.scrollTop) {
        pos = document.documentElement.scrollTop;
    }
    else if(document.body) {
        pos = document.body.scrollTop;
    }
    pos=pos-tips.offsetTop+theTop;
    pos=tips.offsetTop+pos/10;
    if (pos < theTop) pos = theTop;
    if (pos != old) {
        tips.style.top = pos+"px";
        tt=10;
    }
    old = pos;
    setTimeout(moveTips,tt);
}

initFloatTips();

function OnlineOver(){
    document.getElementById("divMenu").style.display = "none";
    document.getElementById("divOnline").style.display = "block";
    document.getElementById("divQQbox").style.width = "145px";
}

function OnlineOut(){
    document.getElementById("divMenu").style.display = "block";
    document.getElementById("divOnline").style.display = "none";
}

function hideMsgBox(theEvent){
    if (theEvent){
        var browser=navigator.userAgent;
        if (browser.indexOf("Firefox")>0){
            if (document.getElementById('divOnline').contains(theEvent.relatedTarget)) {
                return;
            } 
        } 
        if (browser.indexOf("MSIE")>0){
            if (document.getElementById('divOnline').contains(event.toElement)) {
                return;
            }
        }
    }


    document.getElementById("divMenu").style.display = "block";
    document.getElementById("divOnline").style.display = "none";
}
