﻿// JavaScript Document
lastScrollY = 0;
function heartBeat() {
    var diffY;
    if (document.documentElement && document.documentElement.scrollTop)
        diffY = document.documentElement.scrollTop;
    else if (document.body)
        diffY = document.body.scrollTop
    else
    { /*Netscape stuff*/ }

    //alert(diffY);
    percent = .1 * (diffY - lastScrollY);
    if (percent > 0) percent = Math.ceil(percent);
    else percent = Math.floor(percent);
    document.getElementById("lovexin12").style.top = parseInt(document.getElementById("lovexin12").style.top) + percent + "px";
    lastScrollY = lastScrollY + percent;
    //alert(lastScrollY);
}
suspendcode12 = "<div id=\"lovexin12\" style='left: 10px; position: absolute; top: 69px; background: url(q.jpg) no-repeat;height: 450px; width: 150px;'><table style='font-size: 12px; color: #0f19ed; margin-top: 8px;'><tr><td>乔老师:</td><td style='height:32px;'><a target='_blank' href='http://wpa.qq.com/msgrd?v=3&uin=806346038&site=qq&menu=yes'><img width='70px' border='0' src='http://wpa.qq.com/pa?p=2:806346038:41' alt='点击这里给我发消息'title='点击这里给我发消息'></a></td></tr><tr><td>宋老师:</td><td style='height:32px;'><a target='_blank' href='http://wpa.qq.com/msgrd?v=3&uin=1355055794&site=qq&menu=yes'><img width='70px' border='0' src='http://wpa.qq.com/pa?p=2:1355055794:41' alt='点击这里给我发消息' title='点击这里给我发消息'></a></td></tr><tr><td>马老师:</td><td style='height:32px;'><a class='QQ_dingwei flt' target='_blank' href='http://wpa.qq.com/msgrd?v=1&uin=1521492720&site=qq&menu=yes'><img width='70' border='0' src='http://wpa.qq.com/pa?p=2:1521492720:41' alt='点击这里给我发消息'title='点击这里给我发消息'></a></td></tr><tr><td>刘老师:</td><td style='height:32px;'><a target='_blank' href='http://wpa.qq.com/msgrd?v=3&uin=762015304&site=qq&menu=yes'><img width='70' border='0' src='http://wpa.qq.com/pa?p=2:75366443:41' alt='点击这里给我发消息' title='点击这里给我发消息'></a></td></tr><tr><td>&nbsp;</td><td>&nbsp;</td></tr><tr><td>&nbsp;</td><td>&nbsp;</td></tr><tr><td>&nbsp;</td><td>&nbsp;</td></tr><tr><td colspan='2'><marquee width='130px'><a style='color:#fe0000; font-size:16px;'  href='xiazai/2012.doc'><strong>2012热门项目（点击下载）</strong></a></marquee></td></tr><tr><td >&nbsp;</td><td ><a style='font-size:12px; color:#4e0202; line-height:24px;' href='http://www.ydedu.org/gdxljy.html'>专本研学历</a></td></tr><tr><td></td><td ><a style='font-size:12px; color:#4e0202;line-height:23px;' href='http://www.ydedu.org/kjcyzgz.html'>会计从业资格</a></td></tr><tr><td></td><td><a style='font-size:12px; color:#4e0202;line-height:23px;' href='http://www.ydedu.org/rlzy.html'>职业资格</a></td></tr><tr><td></td><td ><a style='font-size:12px; color:#4e0202;line-height:24px;' href='http://www.ydedu.org/zcps.html'>职称评审</a></td></tr><tr><td></td><td ><a style='font-size:12px; color:#4e0202;line-height:22px;' href='http://www.ydedu.org/tz&jn.html'>技能工种</a></td></tr><tr><td colspan='2'><a href='xiazai/2012.doc'><img style='border:none;position:absolute;top:355px;'src='d.png' /></a></td></tr></table></div>"

document.write(suspendcode12);
window.setInterval("heartBeat()", 1);

