var imgheight
var imgleft
document.ns = navigator.appName == "Netscape"
window.screen.width>800 ? imgheight=600:imgheight=400
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")
{
	if(screen.width>8000)
	{
		document.write("<layer id=myleft top=300 width=90 height=400><a href='http://www.chinayouyu.net' target='_blank'><img src='http://www.chinayouyu.net/web2/images/left.jpg' width='90' height='400' border='0'></a></layer>");
		myload()
	}
}
else
{
	if(screen.width>800)
	{
		/*
		Edit by 2007-04-19
		document.write("<div id=myleft style='position: absolute;width:90;top:400;left:5;visibility: visible;z-index: 1'><br>");
		document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='90' height='300'>");
		document.write("<param name='movie' value='images/kaka.swf'>");
		document.write("<param name='quality' value='high'>");
		document.write("<embed src='images/kaka.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='90' height='300'></embed></object>");
		document.write("</div>");
		*/
		document.write("<div id=myleft style='position: absolute;width:90;top:300;left:5;visibility: visible;z-index: 1'><br><img src='http://www.chinayouyu.net/images/ads01.jpg' width='88' height='400' border='0'></div>");
		myload()
	}
}