var topHeight=0;
var imgheight
var imgright
document.ns = navigator.appName == "Netscape"
window.screen.width>800 ? imgheight=500:imgheight=500
window.screen.width>800 ? imgright=3:imgright=100
function myload()
{
if (navigator.appName == "Netscape")
{document.myright.pageY=pageYOffset+window.innerHeight-imgheight;
document.myright.pageX=imgright;
rightmove();
}
else
{
//myright.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
myright.style.top=document.body.scrollTop+topHeight;
myright.style.right=imgright;
rightmove();

}
}


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();
}

function MakeADHidden02()
{
 document.all["myright"].style.visibility="hidden";
}

MM_reloadPage(true)

if (navigator.appName == "Netscape")
{
document.write("<layer id=myright top=300 width=110 height=173>");


document.write("</layer>");

myload()}
else
{
document.write("<div id=myright style='position: absolute;width:80;top:230;right:10;visibility: visible;z-index: 1'>");
document.write("<table width=110 border=0 cellSpacing=0 cellPadding=0>");
document.write("<a href=http://www.520boy.com target=_blank>");
document.write("<img src='img/logo2.gif' quality='high' border='0' width='155' height='75'>");
document.write(" </a>");
document.write("</td></tr></table>");
document.write("</div>");
myload()
}