function initEcAd() {
document.all.AdLayer1.style.posTop = -200;
document.all.AdLayer1.style.visibility = 'visible'
document.all.AdLayer2.style.posTop = -200;
document.all.AdLayer2.style.visibility = 'visible'
MoveLeftLayer('AdLayer1');
MoveRightLayer('AdLayer2');
}
function MoveLeftLayer(layerName) {
var x = 5;
var y = 150;// 左侧广告距离页首高度
var diff = (document.body.scrollTop + y - document.all.AdLayer1.style.posTop)*.40;
var y = document.body.scrollTop + y - diff;
eval("document.all." + layerName + ".style.posTop = parseInt(y)");
eval("document.all." + layerName + ".style.posLeft = x");
setTimeout("MoveLeftLayer('AdLayer1');", 20);
}
function MoveRightLayer(layerName) {
var x = 10;
var y = 150;// 右侧广告距离页首高度
var diff = (document.body.scrollTop + y - document.all.AdLayer2.style.posTop)*.40;
var y = document.body.scrollTop + y - diff;
eval("document.all." + layerName + ".style.posTop = y");
eval("document.all." + layerName + ".style.posRight = x");
setTimeout("MoveRightLayer('AdLayer2');", 20);
}

document.write("<div id=AdLayer1 style='position: absolute;visibility:hidden;z-index:1'></div>");		   
document.write("<div id=AdLayer2 style='position: absolute;visibility:hidden;z-index:1'>");
document.write("<table width='166' border='0' cellpadding='0' cellspacing='0'>");
document.write("<tr><td width='166' height='172' valign='top' background='kf_bj.gif'>");
document.write("<table width='155' border='0' align='right' cellpadding='0' cellspacing='0'>");
document.write("<tr><td width='149' height='29'>&nbsp;</td></tr>");
document.write("<tr>");
document.write("<td height='70' align='left' valign='top' style='font-size:11px;'><strong>David Duan</strong> <br>");
document.write("<img src='msn.GIF'> <a href='msnim:chat?contact=johnal501@hotmail.com' target='_blank' style='font-size:11px;'>");
document.write("johnal501@hotmail.com</a><br><img src='sky.GIF'> <a style='font-size:11px;' href='callto://dzg501vip' target='_blank'>dzg501vip</a>");
document.write("</td></tr>");
document.write("<tr>");
document.write("<td height='66' align='left' style='font-size:11px;'><strong></strong><br>");
document.write("");
document.write("</td>");
document.write("</tr></table></td>");
document.write("</tr>");
document.write("</table></div>");
initEcAd()// JavaScript Document