function initEcAd() { document.all.AdLayer1.style.posTop = -300; document.all.AdLayer1.style.visibility = 'visible' document.all.AdLayer2.style.posTop = -300; document.all.AdLayer2.style.visibility = 'visible' //document.all.AdLayer1a.style.posTop = -300; //document.all.AdLayer1a.style.visibility = 'visible' //document.all.AdLayer2a.style.posTop = -300; //document.all.AdLayer2a.style.visibility = 'visible' MoveLeftLayer('AdLayer1'); //MoveLeftLayer1a('AdLayer1a'); MoveRightLayer('AdLayer2'); //MoveRightLayer2a('AdLayer2a'); } function MoveLeftLayer(layerName) { var x = 8; var y = 60; 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 = y"); eval("document.all." + layerName + ".style.posLeft = x"); setTimeout("MoveLeftLayer('AdLayer1');", 20); } /* function MoveLeftLayer1a(layerName) { var x = 8; var y = 470; var diff = (document.body.scrollTop + y - document.all.AdLayer1a.style.posTop)*.40; var y = document.body.scrollTop + y - diff; eval("document.all." + layerName + ".style.posTop = y"); eval("document.all." + layerName + ".style.posLeft = x"); setTimeout("MoveLeftLayer1a('AdLayer1a');", 20); } */ function MoveRightLayer(layerName) { var x = 8; var y = 60; 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); } /* function MoveRightLayer2a(layerName) { var x = 8; var y = 470; var diff = (document.body.scrollTop + y - document.all.AdLayer2a.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("MoveRightLayer2a('AdLayer2a');", 20); } */ document.write("
" +"
"); initEcAd() function showhand(){ event.srcElement.style.cursor = "hand"; }