var imgheight
document.ns = navigator.appName == "Netscape"
window.screen.width>800 ? imgheight=600:imgheight=400
 function myload()
{
if (navigator.appName == "Netscape")
{document.myright.pageY=pageYOffset+window.innerHeight-imgheight;
document.myright.pageX=+window.innerWidth-120;
mymove();
}
else
{
myright.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
myright.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-120;
 setTimeout("mymove();",50)
 }
 else
 {
 myright.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
 myright.style.left=document.body.scrollLeft+document.body.offsetWidth-120;
 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")
{
	if(screen.width>8000)
	{
		document.write("<layer id=myright top=400 width=90 height=251><a href='http://www.chinayouyu.net' target='_blank'><img src='http://www.chinayouyu.net/web2/images/right.jpg' width='90' height='400' border='0'></a><br></layer>");
		myload()}
}
else
{
	if(screen.width>800)
	{
		/*
		Edit by 2007-04-19
		document.write("<div id=myright style='position: absolute;width:90;top:0;left:578;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=myright style='position: absolute;width:90;top:300;left:5;visibility: visible;z-index: 1'><br><img src='http://www.chinayouyu.net/images/ads02.jpg' width='88' height='400' border='0'></div>");
		myload()
	}
}