﻿document.writeln("<div id=\"qq\" style=\"position:absolute;left:60px;\">");
document.writeln("<table width=\"20\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
document.writeln("  <tr>");
document.writeln("    <td width=\"30\" height=\"70\" align=\"center\" valign=\"middle\"><p style=\"line-height:14px;color: #FFF;\">在<br>");
document.writeln("      线<br>");
document.writeln("      客<br>");
document.writeln("      服<\/p><\/td>");
document.writeln("  <\/tr>");
document.writeln("  <tr>");
document.writeln("    <td width=\"30\" height=\"50\" align=\"center\" valign=\"middle\"><p style=\"line-height:12px;color: #FFF;\">Q<br>");
document.writeln("      Q<br>");
document.writeln("      <\/p><\/td>");
document.writeln("  <\/tr>");
document.writeln("  <tr>");
document.writeln("    <td width=\"30\" height=\"25\" align=\"center\" valign=\"middle\"><A href=\"tencent:\/\/message\/?uin=995875101&Site=tayole.com&Menu=yes\" target=blank><img src='../images/qq.gif' style='border-width:0px' title=\"QQ\"><\/A><\/td>");
document.writeln("  <\/tr>");
document.writeln("  <tr>");
document.writeln("    <td width=\"30\" height=\"25\" align=\"center\" valign=\"middle\"><A href=\"tencent:\/\/message\/?uin=1216029668&Site=tayole.com&Menu=yes\" target=blank><img src='../images/qq.gif' style='border-width:0px' title=\"QQ\"><\/A><\/td>");
document.writeln("  <\/tr>");
document.writeln("  <tr>");
document.writeln("    <td width=\"30\" height=\"25\" align=\"center\" valign=\"middle\"><A href=\"tencent:\/\/message\/?uin=2547148259&Site=tayole.com&Menu=yes\" target=blank><img src='../images/qq.gif' style='border-width:0px' title=\"QQ\"><\/A><\/td>");
document.writeln("  <\/tr>");
document.writeln("  <tr>");
document.writeln("<\/table>");
document.writeln("<\/div>")


var step_ratio = 0.5;
objs = new Array();
objs_x = new Array();
objs_y = new Array();
function addfollowmark(name, x, y) {
  i = objs.length;
  objs[i] = document.getElementById(name);
  objs_x[i] = x;
  objs_y[i] = y;
}
function followmark() {
  for(var i=0; i<objs.length; i++) {
    var fm = objs[i];
    var fm_x = typeof(objs_x[i]) == 'string' ? eval(objs_x[i]) : objs_x[i];
    var fm_y = typeof(objs_y[i]) == 'string' ? eval(objs_y[i]) : objs_y[i];
    if (fm.offsetLeft != document.documentElement.scrollLeft + fm_x) {
      var dx = (document.documentElement.scrollLeft + fm_x - fm.offsetLeft) * step_ratio;
      dx = (dx > 0 ? 1/2 : -1/2) * Math.ceil(Math.abs(dx));
      fm.style.left = fm.offsetLeft + dx+"px";
    }
    if (fm.offsetTop != document.body.scrollTop + fm_y) {
      var dy = (document.body.scrollTop + fm_y - fm.offsetTop) * step_ratio;
      dy = (dy > 0 ? 1/2 : -1/2) * Math.ceil(Math.abs(dy));
      fm.style.top = fm.offsetTop + dy+"px";
    }
    fm.style.display = '';
  }
}
addfollowmark("qq","document.body.clientWidth/2-510", 242);
setInterval('followmark()',20);
