<div class="htmlarea"> <textarea id="runcode62374"><script>function initEcAd(LName,RName) { document.all.NowAd_left.style.posTop = -200; document.all.NowAd_left.style.visibility = 'visible'; document.all.NowAd_left.style.position = 'absolute'; document.all.NowAd_right.style.posTop = -200; document.all.NowAd_right.style.visibility = 'visible'; document.all.NowAd_right.style.position = 'absolute'; MoveLeftLayer(LName); MoveRightLayer(RName); } function MoveLeftLayer(LName) { var x = 5; var y = 165; LeftName=LName; eval("var diff = (document.body.scrollTop + y - document.all." + LeftName + ".style.posTop)*.40"); var y = document.body.scrollTop + y - diff; eval("document.all." + LeftName + ".style.posTop = y"); eval("document.all." + LeftName + ".style.posLeft = x"); setTimeout("MoveLeftLayer(LeftName);", 20); } function MoveRightLayer(RName) { var x = 5; var y = 165; RightName=RName; eval("var diff = (document.body.scrollTop + y - document.all." + RightName + ".style.posTop)*.40"); var y = document.body.scrollTop + y - diff; eval("document.all." + RightName + ".style.posTop = y"); eval("document.all." + RightName + ".style.posRight = x"); setTimeout("MoveRightLayer(RightName);", 20); } document.write("<span id=NowAd_left><a href='http://pcqc.86516.com' target='_blank'><img src='http://pcqc.86516.com/huodong/0718/zijia.gif' WIDTH=100 HEIGHT=250 border=0 alt="左右两侧的广告代码 简单_广告代码" >" +"<span id=NowAd_right><a href='http://pcqc.86516.com' target='blank'><img src='http://pcqc.86516.com/huodong/0718/zijia.gif' WIDTH=100 HEIGHT=250 border=0 alt="左右两侧的广告代码 简单_广告代码" >"); initEcAd("NowAd_left","NowAd_right")</script> </textarea><br><input onclick="runEx('runcode62374')" type="button" value="运行代码"> <input onclick="doCopy('runcode62374')" type="button" value="复制代码"> <input onclick="doSave(runcode62374)" type="button" value="保存代码">[Ctrl+A 全选 注:<a href="http://www.jb51.net/article/23421.htm" title="查看具体详情" target="_blank">如需引入外部Js需刷新才能执行</a>]</div>