var topHeight=0;
var imgheight
var imgleft
document.ns = navigator.appName == "Netscape"
window.screen.width>800 ? imgheight=500:imgheight=500
window.screen.width>800 ? imgleft=3:imgleft=100
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.top=document.body.scrollTop+topHeight;
myleft.style.left=imgleft;
leftmove();
}
}

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 MakeADHidden()
{
 document.all["myleft"].style.visibility="hidden";
}

MM_reloadPage(true)

if (navigator.appName == "Netscape")
{
document.write("<layer id=myleft top=300 width=110 height=173>");


document.write("</layer>");

myload()}
else
{
document.write("<div id=myleft style='position: absolute;width:80;top:230;left:10;visibility: visible;z-index: 1'>");
document.write("<table width=110 border=0 cellSpacing=0 cellPadding=0>");
document.write("<a href=http://www.gay163.com target=_blank>");
document.write("<img src='img/gaytv.gif' quality='high' border='0' width='802' height='98'>");
document.write(" </a>");
document.write("</td></tr></table>");
document.write("</div>");
myload()
}