document.ns = navigator.appName == "Microsoft Internet Explorer"

var imgheight_close
var imgright
window.screen.width>800 ? imgheight_close=420:imgheight_close=420
window.screen.width>800 ? imgright=1:imgright=122
function myload()
{
myright.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight_close;
myright.style.right=imgright;
rightmove();
}
function rightmove()
 { 
 myright.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight_close;
 myright.style.right=imgright;
 setTimeout("rightmove();",500)
 }

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_right(){
	myright.style.visibility='hidden';
}

document.write("<div id=myright style='position: absolute;width:80;top:0;right:2;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>");

if(document.ns){
if(ad_float_right_type!="swf")
	document.write("<a href='" + ad_float_right_url + "' target = '_blank'><img src='" + ad_float_right_src + "' WIDTH=100 HEIGHT=302  border = 0></a>");
else
	document.write("<EMBED src='" + ad_float_right_src + "' quality=high param name=wmode value=transparent   WIDTH=100 HEIGHT=302 TYPE='application/x-shockwave-flash' id=changhongout ></EMBED>");

document.write("</td></tr><tr><td width=100 height=20 align=right><a href='javascript:close_float_right();void(0);' class=closefloat><b><font color=#cccccc>¹Ø±Õ</font></b></a></td></tr>"
+"</table>"
+"</div>");

myload()
}
