
var imgheight
document.ns = navigator.appName == "Netscape"
window.screen.width>800 ? imgheight=300:imgheight=100
function myloadleft()
{
if (navigator.appName == "Netscape")
{document.myleft.pageY=pageYOffset+window.innerHeight-imgheight;
document.myleft.pageX=100
leftmove();
}
else
{
myleft.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight-250;
myleft.style.left=100;
leftmove();
}
}
function leftmove()
 {
 if(document.ns)
 {
 document.myleft.top=pageYOffset+window.innerHeight-imgheight
 document.myleft.left=100;
 setTimeout("leftmove();",50)
 }
 else
 {
 myleft.style.top=document.body.scrollTop+(document.body.offsetHeight-imgheight)/2-100;
 myleft.style.left=15;
 setTimeout("leftmove();",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();
}

var imgheight
document.ns = navigator.appName == "Netscape"
window.screen.width>800 ? imgheight=300:imgheight=100
function myloadright()
{
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-250;
myright.style.right=100;
rightmove();
}
}
function rightmove()
 {
 if(document.ns)
 {
 document.myright.top=pageYOffset+window.innerHeight-imgheight
 document.myright.right=100;
 setTimeout("rightmove();",50)
 }
 else
 {
 myright.style.top=document.body.scrollTop+(document.body.offsetHeight-imgheight)/2-100;
 myright.style.right=15;
 setTimeout("rightmove();",50)
 }
 }

{
if ((screen.width >= 1024) && (screen.height >= 768))
{
MM_reloadPage(true)
if (navigator.appName == "Netscape")
{
//document.write("<layer id=myleft top=20 width=50 height=150><a href=http://bs.ccnu.edu.cn/index.htm target=_blank><img src=images/l.gif border='0'></a></layer>");
document.write("<layer id=myright top=50 width=100 height=150>");
//document.write("<a href=http://www.huashanhp.com.cn/wtrl/hs1.asp  target=_blank>");
document.write("<EMBED src='images/pxlc.swf' quality=high border=0 WIDTH=100 HEIGHT=120 TYPE='application/x-shockwave-flash' wmode=transparent></EMBED>");
//document.write("</a>");
document.write("</layer>");
//myloadleft();
myloadright();}
else
{
//×ó²à¶ÔÁª
//document.write("<div id=myleft style='position: absolute;width:1;top:50;left:10;visibility: visible;z-index: 1'>");
//document.write("<a href=http://www.huashanhp.com.cn/wtrl/hs1.asp  target=_blank>");
//document.write("<EMBED src='../images/zglc.swf' quality=high border=0 WIDTH=100 HEIGHT=120 TYPE='application/x-shockwave-flash' wmode=transparent></EMBED>");
//document.write("</a>");
//document.write("</div>");
//ÓÒ²à¶ÔÁª
//document.write("<div id=myleft style='position: absolute;width:1;top:10;left:50;visibility: visible;z-index: 1'><a href=http://bs.ccnu.edu.cn/index.htm target=_blank><img src=images/l.gif border='0'></a></div>");
document.write("<div id=myright style='position: absolute;width:1;top:50;right:50;visibility: visible;z-index: 1'>");
//document.write("<a href=http://www.huashanhp.com.cn/wtrl/hs1.asp  target=_blank>");
document.write("<EMBED src='../images/zglc.swf' quality=high border=0 WIDTH=100 HEIGHT=120 TYPE='application/x-shockwave-flash' wmode=transparent></EMBED>");
//document.write("</a>");
document.write("</div>");
//myloadleft();
myloadright();
}
}
}