var imgheight
var imgleft
document.ns = navigator.appName == "Netscape"
window.screen.width>800 ? imgheight=500:imgheight=175
window.screen.width>800 ? imgleft=0:imgleft=20
function myload()
{
if (navigator.appName == "Netscape")
{document.myleft.pageY=pageYOffset+window.innerHeight-imgheight;
document.myleft.pageX=imgleft;
leftmove();
}
else
{
myleft.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
myleft.style.left=imgleft;
leftmove();
}
}
function leftmove()
{
if(document.ns)
{
document.myleft.top=pageYOffset+window.innerHeight-imgheight
document.myleft.left=imgleft;
setTimeout("leftmove();",80)
}
else
{
myleft.style.top=document.body.scrollTop;
myleft.style.left=imgleft;
setTimeout("leftmove();",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=myleft top=50 width=80 height=88 style=position:absolute; width:200px; height:115px; z-index:1; background-color:#CC0000><img src='/images/duanxin.gif' width=60 height=200 border=0></layer>");
myload()}
else
{
document.write("<div id=myleft style='position:absolute; width:60px; height:115px; z-index:1; background-color:#CC0000' align='right'><img src='images/duanxin.gif' width=60 height=200 border=0></div>");
myload()
}
