<!--
var mypath = '', mypaths;
for (i = 0; i < document.scripts.length; i++) {
    if (document.scripts[i].src.indexOf('js/sk.js?') != '-1') {
        mypath = document.scripts[i].src;
        mypaths = mypath.split('?');
        mypath = mypaths[1];
        break;
    }
}

mypath = '/'
function WriteQqStr(){
    document.write('<DIV id=backi style="RIGHT: 0px; OVERFLOW: visible; POSITION: absolute; TOP: 230px;z-index:99999;">');
    document.write('<table border="0" cellpadding="0" cellspacing="0" width="72">');
    document.write('<tr><td><a href="javascript:close_float_left();void(0);" title="close"><IMG src="' + mypath + 'img/01.gif" border=0></a></td></tr>');
    document.write('<tr><td><A href="tencent://message/?uin=1056657558&Site=www.yaquan168.com&Menu=yes"><IMG src="' + mypath + 'img/qq1.gif" border=0></A></td></tr>');
    document.write('<tr><td><A href="tencent://message/?uin=591580315&Site=www.yaquan168.com&Menu=yes"><IMG src="' + mypath + 'img/qq2.gif" border=0></A></td></tr>');
    
    document.write('<tr><td><A href="tencent://message/?uin=1142200358&Site=www.yaquan168.com&Menu=yes"><IMG src="' + mypath + 'img/qq3.gif" border=0></A></td></tr>');
    //document.write('<tr><td><A href="img/sk/dial.php?headcall=83085112345"><IMG src="'+mypath+'img/03.gif" border=0></A></td></tr>');
    document.write('<tr><td><A href="http://amos1.taobao.com/msg.ww?v=2&uid=wd892&site=cntaobao&s=1" target=_blank><IMG src="' + mypath + 'img/04.gif" border=0></A></td></tr>');
    document.write('<tr><td><A href="msnim:chat?contact=tianbao.168@hotmail.com" target=_blank><IMG src="' + mypath + 'img/06.gif" border=0></A></td></tr>');
    document.write('<tr><td><A href="' + mypath + 'MyCart.asp" target=_blank><IMG src="' + mypath + 'img/05-1.gif" border=0></A></td></tr>');
    document.write('</table>');
    document.write('</DIV>');
}

function close_float_left(){
    backi.style.visibility = 'hidden';
}

lastScrollY = 0;
function heartBeat(){
    diffY = document.documentElement.scrollTop;
    percent = .1 * (diffY - lastScrollY);
    if (percent > 0) 
        percent = Math.ceil(percent);
    else 
        percent = Math.floor(percent);
    document.all.backi.style.pixelTop += percent;
    lastScrollY = lastScrollY + percent;
}

if (!document.layers) {
    WriteQqStr();
    window.setInterval("heartBeat()", 1);
}
//-->

