var imgheight
document.ns = navigator.appName == "Netscape"
window.screen.width>800 ? imgheight=100:imgheight=110//广告高度
 function myload()
{
if (navigator.appName == "Netscape")
	{
	document.myright.pageY=pageYOffset+window.innerHeight-imgheight;
	document.myright.pageX=+window.innerWidth-120;

	document.myright_top.pageY=1;//pageYOffset+window.innerHeight-imgheight;
	document.myright_top.pageX=+window.innerWidth-120;

	mymove();
	}
else
	{
	myright.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
	myright.style.left=document.body.offsetWidth-120;
	
	myright_top.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
	myright_top.style.left=document.body.offsetWidth-120;
	mymove();
	}
}
 function mymove()
 {
 if(document.ns)
	 {
	 document.myright.top=pageYOffset+window.innerHeight-imgheight;
	 document.myright.left=pageXOffset+window.innerWidth-126;
	 
	 document.myright_top.top=1;//pageYOffset+window.innerHeight-imgheight;
	 document.myright_top.left=pageXOffset+window.innerWidth-126;
	 setTimeout("mymove();",50)
	 }
 else
	 {
	 myright.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight-5;
	 myright.style.left=document.body.scrollLeft+document.body.offsetWidth-126;//右边间距

	 myright_top.style.top=document.body.scrollTop;//document.body.scrollTop+document.body.offsetHeight-imgheight-5;
	 myright_top.style.left=document.body.scrollLeft+document.body.offsetWidth-126;//右边间距

	 setTimeout("mymove();",50)
	 }
 }

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=myright top=300 width=80 HEIGHT=0><EMBED src='http:///' quality=high  WIDTH=80 HEIGHT=0 TYPE='application/x-shockwave-flash' wmode=opaque></EMBED></layer>");
myload()
}
else
{
document.write("<div id=myright style='position: absolute;width:00;top:0;left:0;visibility: visible;z-index: 1'><a href=http://www.rdzx.com/life.htm target=_blank><img src=http://www.rdzx.com/pic/life.gif border=0 width=98 height=98></a></div>");

document.write("<div id=myright_top style='position: absolute;width:;top:;left:0;visibility: visible;z-index: 1'><img src=http://www.rdzx.com/pic/bbs2004.gif border=0 width=100 height=270 usemap=#Map_right></div>");
document.write("<map name='Map_right'>")
document.write("  <area shape='rect' coords='2,2,96,14'   href='javascript:closead();' style='cursor:hand;'>")
document.write("  <area shape='rect' coords='2,42,96,270' href='http://www.rdzx.com/bbs/dispbbs.asp?boardID=5&ID=6041&page=2' target='_blank'>")
document.write("</map>")
myload()
}
