var yyimgheight=300;
var yyimgwidth=224;
var yycloseheight=25;
var gradx=18;
var topdistance = 300;

function yymyload()
{
	float_div_right.style.top=document.documentElement.scrollTop + topdistance;
	float_div_right.style.left=document.documentElement.offsetWidth-yyimgwidth-gradx;
	yymymove();
}
function yymymove()
{
	//float_div_right.style.left = screen.width - yyimgwidth - 25;
	float_div_right.style.top=document.documentElement.scrollTop + topdistance;
	float_div_right.style.left=document.documentElement.scrollLeft+document.documentElement.offsetWidth-yyimgwidth-gradx;
	setTimeout("yymymove()",40);
}

function closelayer()
{
	float_div_right.style.visibility = 'hidden';
}

function gongao(isdisplay,tempstr)
{
if(isdisplay==1)
{
	return;
}
if (navigator.appName != "Netscape")
{
	document.write("<div id=float_div_right style='position:absolute;top:100;left:0;visibility: visible;z-index:102;cursor:hand;width:220px;height:200px'>\n");
	document.write("<table width='200' border=0 cellpadding=0 cellspacing=0 >\n");
	document.write("<tr>\n");
	document.write("<td background='images/gonggao1.gif' height='200px'>\n");
	document.write("<table width='100%' border='0'><tr><td style='padding-top:20px;padding-left:20px;padding-right:20px;text-line:18px;' valign='top'>\n");
	document.write(tempstr);
	document.write("</td></tr>\n");
	document.write("<tr>\n");
	document.write("<td onclick='closelayer();' align='center' height='20px'>\n");
	document.write("<img src='images/closebtn1.gif'>");
	document.write("</td>\n");
	document.write("</tr>\n");
	document.write("</table>\n");
	document.write("</td>\n");
	document.write("</tr>\n");
	document.write("</table>\n");
	
	document.write("</div>");
	yymyload();
}
}