<!--
function MM_openBrWindow(theURL,winName,features){
    window.open(theURL,winName,features);
}

function DoHome(http){
    this.home.style.behavior='url(#default#homepage)';
    this.home.setHomePage(http);
}

function DoSubmit(){
  if(document.ser_form.ser_word.value==""){
    alert("错误：搜索关键字为空！");
    document.ser_form.ser_word.value="";
    document.ser_form.ser_word.focus();
    return;
  }
  MM_openBrWindow('ser.php?one_name='+document.ser_form.one_name.value+'&ser_word='+document.ser_form.ser_word.value,'','scrollbars=yes,width=550,height=400');
  return;
}

function DoKey(){
  if(event.keyCode=="13"){
    DoSubmit();
  }
  return;
}

function ToDay(){
    calendar = new Date();
    day = calendar.getDay();
    month = calendar.getMonth();
    date = calendar.getDate();
    year = calendar.getYear();
    if (year< 100) year = 1900 + year;
    cent = parseInt(year/100);
    g = year % 19;
    k = parseInt((cent - 17)/25);
    i = (cent - parseInt(cent/4) - parseInt((cent - k)/3) + 19*g + 15) % 30;
    i = i - parseInt(i/28)*(1 - parseInt(i/28)*parseInt(29/(i+1))*parseInt((21-g)/11));
    j = (year + parseInt(year/4) + i + 2 - cent + parseInt(cent/4)) % 7;
    l = i - j;
    emonth = 3 + parseInt((l + 40)/44);
    edate = l + 28 - 31*parseInt((emonth/4));
    emonth--;
    var dayname = new Array (" 星期日", " 星期一", " 星期二", " 星期三", " 星期四", " 星期五", " 星期六");
    var monthname = 
    new Array ("1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月" );
    document.write(""+year +"年");
    document.write(monthname[month]);
    document.write(date + "日");
    document.write(dayname[day]);
}
//--> 
 
 
