var imgheight
window.screen.width>800 ? imgheight=550:imgheight=300
 function myload()
{
myright.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
myright.style.left=document.body.offsetWidth-120;
mymove();
}
 function mymove()
 {
 myright.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
 myright.style.left=document.body.scrollLeft+document.body.offsetWidth-120;
 setTimeout("mymove();",300)
 }

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';
}

if(ad_float_right_type!="swf")
	document.write("<div id=myright style='position: absolute;width:100;top:2;left:570;visibility: visible;z-index: 1'><table><tr><td ><a href='" + ad_float_right_url + "' target = '_blank'><img src='" + ad_float_right_src + "' WIDTH=107 HEIGHT=140  border = 0 > </a>");
else
	document.write("<div id=myright style='position: absolute;width:100;top:2;left:570;visibility: visible;z-index: 1'><EMBED src='" + ad_float_right_src + "' quality=high  WIDTH=107 HEIGHT=140 TYPE='application/x-shockwave-flash'></EMBED>");
document.write("</td></tr>"
+"</table>"
+"</div>");
myload()
