function pageinit(){
var l1=(window.screen.width-1024)/2+412;
var l2=(window.screen.width-1024)/2+152;
var l3=(window.screen.width-1024)/2+215;
var l4=(window.screen.width-1024)/2+338;
var l5=(window.screen.width-1024)/2+489;
var l6=(window.screen.width-1024)/2+627;
var l7=(window.screen.width-1024)/2+702;
var l8=(window.screen.width-1024)/2+826;
var l9=(window.screen.width-1024)/2+118;
var l10=(window.screen.width-1024)/2+550;
Layer1.style.left=l1;
Layer2.style.left=l2;
Layer3.style.left=l3;
Layer4.style.left=l4;
Layer5.style.left=l8;
Layer6.style.left=l5;
Layer7.style.left=l6;
Layer8.style.left=l7;
Layer9.style.left=l9;
Layer10.style.left=l10;
}
function MM_reloadPage(init) {  
  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);

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function jubao(){
window.open("jubao.asp","jubao","width=540,height=460,status=no,toolbar=no,scrollbars=1,menubar=no,location=no");
}
function showmoreinput(id){
window.open("showmoreinput.asp?id="+id,"showmore"+id,"width=740,height=600,status=no,scrollbars=1,toolbar=no,menubar=no,location=no");
}
function showcg(cgid){
window.open("showmorecg.asp?cgid="+cgid,"showmorecg","height=500,width=420,status=no,toolbar=no,menubar=no,location=no,scrollbars=yes");
}
function surfto(form){
 var myindex=form.selectedIndex;
 if (myindex!=0)
 {
  var newwindow=form.options[myindex].value; 
  var msgwindow=window.open(newwindow,"windonw");
 }
}
function check(){
login.submit();
}
function tj(){
  if(login.username.value=="")
  {
    alert("ÇëÊäÈëÓÃ»§Ãû£¡");
    login.username.focus();
    return;
  }

  login.submit();
}

function YHkeyup(){
  if(event.keyCode==13)
  {
    login.password.focus();
  }
}

function MMkeyup(){
  if(event.keyCode==13)
  {
    login.imgpic.focus();
    tj();
  }
}
function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}