document.ns = navigator.appName == "Microsoft Internet Explorer"

var imgheight_close
var imgRight
window.screen.width>800 ? imgheight_close=500:imgheight_close=300
window.screen.width>800 ? imgRight=894:imgRight=1118
function myload()
{
myRight.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight_close;
myRight.style.left=imgRight;
rightmove();
}
function rightmove()
 { 
 myRight.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight_close;
 myRight.style.left=imgRight;
 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)

function close_float_left(){
	myRight.style.visibility='hidden';
}

document.write("<div id=myRight style='position: absolute;width:100;top:200;left:5;visibility: visible;z-index: 1'>"
+"<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='" + ad_float_right_width + "' HEIGHT='" + ad_float_right_height + "'  border = 0></a>");
else
	document.write("<EMBED src='" + ad_float_right_src + "' quality=high  WIDTH='" + ad_float_right_width + "' HEIGHT='" + ad_float_right_height + "' TYPE='application/x-shockwave-flash' id=changhongout ></EMBED>");

document.write("</td></tr></table></div>");

myload()



}
