var imgheight
document.ns = navigator.appName == "Netscape"
window.screen.width>800 ? imgheight=200:imgheight=200
 function myload()
{
if (navigator.appName == "Netscape")
{document.dangdang.pageY=pageYOffset+window.innerHeight-imgheight;
document.dangdang.pageX=+window.innerWidth-110;
mymove();
}
else
{
dangdang.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
dangdang.style.left=document.body.offsetWidth-110;
mymove();
}
}
 function mymove()
 {
 if(document.ns)
 {
 document.dangdang.top=pageYOffset+window.innerHeight-imgheight;
 document.dangdang.left=pageXOffset+window.innerWidth-110;
 setTimeout("mymove();",50)
 }
 else
 {
 dangdang.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
 dangdang.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 (navigator.appName == "Netscape")
{document.write("<layer id=dangdang top=300 width=80 height=80><a href=/images/up_vip.asp#reg><img src='../ad/vip_up.gif' border='0'></a></layer>");
myload()}
else
{
document.write("<div id=dangdang style='position: absolute;width:80;top:100;visibility: visible;z-index: 1'><a href='http://www.xhhmmw.com' target=_blank><img src='../ad/logo_AD_changlong2.gif' border='0'></a>");
document.write("<br><br><a href='/vip/show_vip_detail.asp?V_ID=duanlin' target=_blank><img src='../ad/logo_AD_duanlin.gif' border='0'></a></div>");
myload()
}