var imgheight
var imgleft
document.ns = navigator.appName == "Netscape"
window.screen.width>800 ? imgheight=202:imgheight=202
window.screen.width>800 ? imgleft=15:imgleft=15
function myload()
{
if (navigator.appName == "Netscape")
{document.myleft.pageY=pageYOffset+window.innerHeight-imgheight;
document.myleft.pageX=imgleft;
leftmove();
}
else
{
myleft.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
myleft.style.left=imgleft;
leftmove();
}
}
function leftmove()
{
if(document.ns)
{
document.myleft.top=pageYOffset+window.innerHeight-imgheight
document.myleft.left=imgleft;
setTimeout("leftmove();",80)
}
else
{
myleft.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
myleft.style.left=imgleft;
setTimeout("leftmove();",80)
}
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true)

if (navigator.appName == "Netscape")
{
document.write("<layer id=myleft style='position:absolute; width:40px; height:20px; z-index:2; left: 10; top: 0;'><iframe name=click src=http://code.51ads.com/createads_click.aspx?userid=1500&typeid=18&logo=true&sn=325ad67f01a5c93112f7e028504f4411 width=90 height=90 marginwidth=0 scrolling=no border=0 frameborder=0></iframe></layer>");
myload()}
else
{
document.write("<div id=myleft style='position: absolute;width:80;top:50;left:5;visibility: visible;z-index: 1'><iframe name=click src=http://code.51ads.com/createads_click.aspx?userid=1500&typeid=18&logo=true&sn=325ad67f01a5c93112f7e028504f4411 width=90 height=90 marginwidth=0 scrolling=no border=0 frameborder=0></iframe></div>");
myload()
}

这个是页面滚动漂浮广告80X80的代码,
用你的iframe换上去就可以了。。最好保存成JS ,再调用。。
有问题可回复。