//---------------------------flr.js------------------------------------
/****************************************
*首页右边浮动广告代码
****************************************/
var imgheight
document.ns = navigator.appName == "Netscape"
window.screen.width>800 ? imgheight=550:imgheight=550
var advLinkRight1   = 'index.asp';		//右边的广告链接
var advPicSrcRight1 = 'image/b.jpg';	//右边的广告图片地址
//var advPicSrcRight2 = 'common/advpicture/adv_juhe.swf';
function myload()
{
	if (navigator.appName == "Netscape")
	{
		document.divRight1.pageY=pageYOffset+window.innerHeight-imgheight-0;
		document.divRight1.pageX=+window.innerWidth-107;
		rightmove();
	}
	else
	{
		divRight1.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight-0;
		divRight1.style.left=document.body.offsetWidth-107;

		//divRight2.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight-0;
		//divRight2.style.left=document.body.offsetWidth-107;
		rightmove();
	}
}
function rightmove()
{
	if(document.ns)
	{
		document.divRight1.top=pageYOffset+window.innerHeight-imgheight-0;
		document.divRight1.left=pageXOffset+window.innerWidth-125;
		setTimeout("rightmove();",50)
	}
	else
	{
		divRight1.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight-0;
		divRight1.style.left=document.body.scrollLeft+document.body.offsetWidth-125;

		//divRight2.style.top=305 + document.body.scrollTop+document.body.offsetHeight-imgheight-0;
		//divRight2.style.left=document.body.scrollLeft+document.body.offsetWidth-125;

		setTimeout("rightmove();",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")
//{
//	document.write("<layer id=divRight1 top=300 width=100 height=300><a target='_blank' href="+advLinkRight1+"><img border='0' src="+advPicSrcRight1+" width='100' height='300'></a></layer>");
//	myload()
//}
//else
//{
	//document.write("<div id=divRight1 style='position: absolute;width:100;height:300;top:300;left:5;visibility:visible;z-index: 1'><a target='_blank' href="+advLinkRight1+"><img border='0' src="+advPicSrcRight1+" width='100' height='300'></a></div>");
	document.write("<div id=divRight1 style='position: absolute;width:100;height:300;top:300;left:5;visibility:visible;z-index: 1'><a target='_blank' href="+advLinkRight1+"><img border='0' src="+advPicSrcRight1+" width='100' height='455'></a></div>");
//	document.write("<div id=divRight2 style='position: absolute;width:100;height:300;top:300;left:5;visibility:visible;z-index: 1'><EMBED src="+advPicSrcRight2+" width='100' height='300' /></div>");
	myload()
//} 
 

 

 
 
 




 
 



 

 





 
 



 
 





 





 
 





