document.ns = navigator.appname == "microsoft internet explorer"

var imgheight
window.screen.width>800 ? imgheight=100:imgheight=100
 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();",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;width:80;top:0;left:578;visibility: visible;z-index: 1'><a href='" + ad_float_right_url + "' target = '_blank'><img src='" + ad_float_right_src + "' width=80 height=80  border = 0></a></div>");
else
	document.write("<div id=myright style='position: absolute;width:80;top:0;left:578;visibility: visible;z-index: 1'><embed src='" + ad_float_right_src + "' quality=high  width=80 height=80 type='application/x-shockwave-flash'></embed></div>");
myload()

}


