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 = 223;
var y = 23 ;

//var y = document.body.scrollTop + y - diff;
if ( document.body.clientWidth<=779)
{
var x=111;
}
else
{
//var diff = (document.body.clientWidth -778);
var x = (document.body.clientWidth-779)/2+111
}
eval("document.all." + layerName + ".style.posTop = y");
eval("document.all." + layerName + ".style.posLeft = x");
setTimeout("MoveLeftLayer('AdLayer1');", 20);
}
/*
function MoveRightLayer(layerName) {
var x = 5;
var y = 15;
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'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='499' height='47'>    <param name='movie' value='swf/sxtm.swf'>    <param name='quality' value='high'>    <embed src='swf/sxtm.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='499' height='47'></embed></object></div>");
initEcAd();
document.write("<SCRIPT FOR='dl' EVENT='fscommand()' LANGUAGE='JavaScript'>");
document.write("AdLayer1.style.visibility='hidden';");
//document.write("AdLayer2.style.visibility='hidden';");
document.write("</script>");

