var imgheightpf
var imgleftpf
document.kantpf = navigator.appName == "Netscape"
window.screen.width>800 ? imgheightpf=250:imgheightpf=250
window.screen.width>800 ? imgleftpf=20:imgleftpf=0
function pfload()
{
if (navigator.appName == "Netscape")
{document.pf.pageY=pageYOffset+window.innerHeight-imgheightpf;
document.pf.pageX=imgleftpf;
pfmove();
}
else
{
pf.style.top=document.body.scrollTop+document.body.offsetHeight-imgheightpf;
pf.style.left=imgleftpf;
pfmove();
}
}
function pfmove()
 {
 if(document.kantpf)
 {
 document.pf.top=pageYOffset+window.innerHeight-imgheightpf
 document.pf.left=imgleftpf;
 setTimeout("pfmove();",50)
 }
 else
 {
 pf.style.top=document.body.scrollTop+document.body.offsetHeight-imgheightpf;
 pf.style.left=imgleftpf;
 setTimeout("pfmove();",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 (window.screen.width>800 )
{
if (navigator.appName == "Netscape")
{document.write("<layer id=pf top=300 width=64 height=80><a href='http://www.online.sh.cn/' target=_blank><img src=club/adv.bmp border=0></a></layer>");
pfload()}
else
{
document.write("<div id=pf style='position: absolute;width:64;top:300;visibility: visible;z-index: 1'><a href='http://www.online.sh.cn/' target=_blank><img src='club/adv.bmp' border='0'></a></div>");
pfload()
}
}
else
{
if (navigator.appName == "Netscape")
{document.write("<layer id=pf top=300 width=64 height=80><a href='http://www.online.sh.cn/' target=_blank><img src=club/adv.bmp border=0></a></layer>");
pfload()}
else
{
document.write("<div id=pf style='position: absolute;width:64;top:300;visibility: visible;z-index: 1'><a href='http://www.online.sh.cn/' target=_blank><img src='club/adv.bmp' border='0'></a></div>");
pfload()
}
}