<!--
function initEcAd() {
if (window.screen.width>=210){ 
//document.all.AdLayer1.style.posTop = -100;
//document.all.AdLayer1.style.visibility = 'visible'
document.all.AdLayer2.style.posTop = -100;
document.all.AdLayer2.style.visibility = 'visible'
//MoveLeftLayer('AdLayer1');
MoveRightLayer('AdLayer2');
}
}

function MoveRightLayer(layerName) {
var x = 5;
var y = 85;
var diff = (document.body.scrollTop + y - document.all.AdLayer2.style.posTop)*.40;
var y = document.body.scrollTop + y - diff+30;
eval("document.all." + layerName + ".style.posTop = y");
eval("document.all." + layerName + ".style.posRight = x");
setTimeout("MoveRightLayer('AdLayer2');", 20);
}
//function MoveLeftLayer(layerName) {
//var x = 5;
//var y = 55;
//var diff = (document.body.scrollTop + y - document.all.AdLayer1.style.posTop)*.40;
//var y = document.body.scrollTop + y - diff+30;
//eval("document.all." + layerName + ".style.posTop = parseInt(y)");
//eval("document.all." + layerName + ".style.posLeft = x");
//setTimeout("MoveLeftLayer('AdLayer1');", 20);
//}
//document.write("<div id=AdLayer1 style='position: absolute;visibility:hidden;z-index:1'><img border='0' src='http://www.automarket.net.cn/ytzx/shengming1.gif' width='108' height='228'></div>");
document.write("<div id=AdLayer2 style='position: absolute;visibility:hidden;z-index:1'><img border='0' src='http://www.automarket.net.cn/ytzx/shengming1.gif' width='108' height='228'></div>");
initEcAd()
//-->


