document.ns = navigator.appName == "Netscape";
var imgheight=451;
function myload()
{
if (navigator.appName == "Netscape")
{
document.RightMove.pageY=pageYOffset+window.innerHeight-imgheight;
document.RightMove.pageX=+window.innerWidth-140
}
else
{
RightMove.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
RightMove.style.left=document.body.offsetWidth-140
mymove();
}
}
 function mymove()
 {
 if(document.ns)
 {
 document.RightMove.top=pageYOffset+document.body.offsetHeight-imgheight;
 document.RightMove.left=pageXOffset+window.innerWidth-140
 setTimeout("mymove();",5)
 }
 else
 {
 RightMove.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
 RightMove.style.left=document.body.scrollLeft+document.body.offsetWidth-140
 setTimeout("mymove();",5)
 }
 }
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);

function RightImage(FileName,ALT){
	Height=150;
	Width=90;
	if(FileName.length>4){
		subName=FileName.substring(FileName.length-4,FileName.length);
		if(subName==".swf")
			document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0\" height=",Height," width=",Width,">\n<param name=movie value=\'",FileName,"\'>\n<param name=quality value=high>\n\n</object>");
		else document.write("<img src=\'",FileName,"\' border=0 height=\'",Height,"\' width=\'",Width,"\alt=\'",ALT,"\'>");
	}
	else document.write("<img src=\'",FileName,"\' border=0 height=\'",Height,"\' width=\'",Width,"\'alt=\'",ALT,"\'>");}

	var urodz= new Date("1/10/2004");
	today = new Date();
	var ile = urodz.getTime() - today.getTime();
	var dni = Math.floor(ile / (1000 * 60 * 60 * 24))+1;

sRightUrl="leiyu.gif";
sRightClick="http://www.xingkong.cc";

if (sRightUrl!="")
{
if (navigator.appName == "Netscape")
{
document.write("<layer id=RightMove top=180 width=52 height=150><a href='",sRightClick,"' target=_blank>");
RightImage(sRightUrl);
document.write("</a></layer>");
myload();
}
else
{
document.write("<div id=RightMove style='position: absolute;top:180;left:578;visibility: visible;z-index: 1'><a href='",sRightClick,"' target=_blank>");
RightImage(sRightUrl);
document.write("</a></div>");
myload();
}
}