var imgheight2
document.ns = navigator.appname == "netscape"
window.screen.width>800 ? imgheight2=560:imgheight2=560
 function myload()
{
if (navigator.appname == "netscape")
{document.dangdang.pagey=pageyoffset+window.innerheight-imgheight2;
document.dangdang.pagex=+window.innerwidth-130;
mymove();
}
else
{
dangdang.style.top=document.body.scrolltop+document.body.offsetheight-imgheight2;
dangdang.style.left=document.body.offsetwidth-130;
mymove();
}
}
 function mymove()
 {
 if(document.ns)
 {
 document.dangdang.top=pageyoffset+window.innerheight-imgheight2;
 document.dangdang.left=pagexoffset+window.innerwidth-130;
 settimeout("mymove();",80)
 }
 else
 {
 dangdang.style.top=document.body.scrolltop+document.body.offsetheight-imgheight2;
 dangdang.style.left=document.body.scrollleft+document.body.offsetwidth-130;
 settimeout("mymove();",80)
 }
 }

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><embed src='flash/left.swf'.swf' quality=high  width=100 height=300 type='application/x-shockwave-flash' id=changhongout wmode=transparent></embed></layer>");
myload()}
else
{
document.write("<div id=dangdang style='position: absolute;width:95;visibility: visible;z-index: -10'><embed src='flash/left.swf'.swf' quality=high  width=100 height=350 type='application/x-shockwave-flash' id=changhongout wmode=transparent></embed></div>");
myload()
}


