document.ns = navigator.appName == "Microsoft Internet Explorer"

var imgheight
window.screen.width>800 ? imgheight=350:imgheight=350
 function myload()
{
myright.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
myright.style.left=document.body.offsetWidth-240;
mymove();
}
 function mymove()
 {
 myright.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
 myright.style.left=document.body.scrollLeft+document.body.offsetWidth-240;
 setTimeout("mymove();",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(document.ns){
	
if(ad_float_right_type!="swf")
	document.write("<div id=myright style='position: absolute;top:0;left:58;visibility: visible;z-index: 1'><a href='javascript:winew(\"f_news/detail.asp?InfoID=521\",650,515);'><img src='" + ad_float_right_src + "' border = 0></a></div>");
else
	document.write("<div id=myright style='position: absolute;top:0;left:58;visibility: visible;z-index: 1'><EMBED src='" + ad_float_right_src + "' quality=high  TYPE='application/x-shockwave-flash'></EMBED></div>");
myload()

}

function winew(xx,w,h){

    window.open(xx,'','width='+w+',height='+h+',left=100,top=20,scrollbars=no,resizable=no');
}
