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-128;
mymove();
}
 function mymove()
 {
 myright.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
 myright.style.left=document.body.scrollLeft+document.body.offsetWidth-128;
 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:573;visibility: visible;z-index: 1'><a href='" + ad_float_right_url + "' target = '_blank'><img src='" + ad_float_right_src + "'  width=110 height=379  border = 0></a>");
else
	document.write("<div id=myright style='position: absolute;width:100;top:2;left:573;visibility: visible;z-index: 1'><EMBED src='" + ad_float_right_src + "' quality=high  WIDTH=100 HEIGHT=370 TYPE='application/x-shockwave-flash'></EMBED>");
	
document.write("</td></tr><tr><td width=100 height=20 align=right><br><a href='javascript:close_float_right();void(0);' class=closefloat>close</a></td></tr>"
+"</table>"
+"</div>");
myload()
