var imgheight
document.ns = navigator.appName == "Netscape"
window.screen.width>800 ? imgheight=300:imgheight=100
function myload()
{
if (navigator.appName == "Netscape")
{document.myright.pageY=pageYOffset+window.innerHeight-imgheight;
document.myright.pageX=100
rightmove();
}
else
{
myright.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
myright.style.right=100;
rightmove();
}
}
function rightmove()
 {
 if(document.ns)
 {
 document.myright.top=pageYOffset+window.innerHeight-imgheight
 document.myright.right=100;
 setTimeout("rightmove();",50)
 }
 else
 {
 myright.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
 myright.style.right=20;
 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)

if (navigator.appName == "Netscape")
{
document.write("<layer id=myright top=100 width=100 height=100><a href=http://www.stairlift.cn/ target=_blank><img src=http://www.chinaelevator.net/images/150.gif border='0'></a></layer>");
myload()}
else
{
document.write("<div id=myright style='position: absolute;width:80;top:4000;right:2;visibility: visible;z-index: 1'><a href='http://www.stairlift.cn/' target=_blank><img src=http://www.chinaelevator.net/images/150.gif border='0'></a></div>");
myload()
}
