document.ns = navigator.appName == "Microsoft Internet Explorer"

var imgheight_close;
var imgleft;
window.screen.width>800? imgheight_close=200:imgheight_close=200;
window.screen.width>800? imgleft=4:imgleft=200;
function myload()
{
	var myleft=document.getElementById("myleft");
	myleft.style.top=(document.body.scrollTop+document.body.clientHeight-imgheight_close)+"px";
	myleft.style.left=imgleft+"px";
	leftmove();
}
function leftmove()
{ 
		var myleft=document.getElementById("myleft");
		var flashzz=document.getElementById("flashzz");
		var tempTop=document.body.scrollTop+document.body.clientHeight-imgheight_close;
	 myleft.style.top=tempTop+"px";
	 myleft.style.left=10+"px";
	 setTimeout("leftmove();",250)
}

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 close_float_left(){
	document.getElementById("myleft").style.visibility='hidden';
}

//document.write("<div id=myleft style='position: absolute;width:80;height:180;top:180;left:5;visibility: visible;z-index: 1'>"
document.write("<div id='myleft' style='position: absolute;width:108px; height:512px;top:180px;left:5px;visibility: visible;z-index: 1'>"
+"<style>"
+"A.closefloat:link,A.refloat:visited {text-decoration:none;color:#000000;font-size:12px}"
+"A.closefloat:active,A.refloat:hover {text-decoration:underline;color:#0000FF;font-size:12px}"
+"</style>"
+"<table border=0 cellpadding=0 cellspacing=0 >"
+"<tr><td><a href='javascript:close_float_left();void(0);' class=closefloat><img src=guangao/duilian/close2.gif width=100 height=34 border=0></a></td></tr><tr><td>");

if(document.ns){
	document.write("<embed id=\"flashzz\" src=guangao/duilian/zz.swf quality=high width=100 height=470 type=application/x-shockwave-flash></embed>");
}
document.write("</td></tr></table></div>");

myload();
if(!document.ns)
	close_float_left();


