var imgheight
document.ns = navigator.appName == "Netscape"
window.screen.width>800 ? imgheight=580:imgheight=580 //控制图片上下位置 0最下面刚好看不到
function rightload()
{
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();",100)
 }
 else
 {
 myright.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
 myright.style.right=5;
 setTimeout("rightmove();",100)
 }
 }

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=200 width=100 height=200><a href='http://product.qdit.com/' target='_blank'><img src='qditsda/baojiaqdit.gif'  WIDTH=112 HEIGHT=295 border='0'></a></layer>");
rightload()}
else
{document.write("<div id=myright style='position: absolute;width:100;top:200;visibility: visible;z-index: 1'><a href='http://qdit.com/jqd.asp' target='_blank'><img src='jqd/fd.gif'  WIDTH=105 HEIGHT=230 border='0'></a></div>");
rightload()}
//下面的代码是flash的 要用把上面的屏蔽掉，开启下面的代码
//if (navigator.appName == "Netscape")
//{document.write("<layer id=myright top=200 width=115 height=357><EMBED src='powerdisk20050827.gif' quality=high  WIDTH=115 HEIGHT=357 TYPE='application/x-shockwave-flash'></EMBED></layer>");
//rightload()}
//else
//{document.write("<div id=myright style='position: absolute;width:115;top:5;visibility: visible;z-index: 1'><EMBED src='powerdisk20050827.gif' quality=high  WIDTH=115 HEIGHT=357 TYPE='application/x-shockwave-flash'></EMBED></div>");
//rightload()}