//<!--
browserName = navigator.appName;
//browserVer = parseInt(navigator.appVersion);
//if (browserName == "Netscape" && browserVer >= 3)
//   version = "n3";
//else if (browserName == "Microsoft Internet Explorer" && browserVer >= 4)
//   version = "n3";
//else version = "n2";
//if (version == "n3") {
//   rn_00on = new Image(75, 17);
//   rn_00on.src = "/hm_img/homeon.gif";
//   rn_00off = new Image(75, 17);
//   rn_00off.src = "/hm_img/homeoff.gif";
//}
//
//function img_act(imgName) {
//   if (version == "n3") {
//      imgOn = eval(imgName + "on.src");
//      document [imgName].src = imgOn;
//   }
//}
//
//function img_inact(imgName) {
//   if (version == "n3") {
//      imgOff = eval(imgName + "off.src");
//      document [imgName].src = imgOff;
//   }
//}


function search() {
   if(document.form1.cond.value == "")
      window.alert("Î´Éè²éÑ¯Ìõ¼þ");
   else document.form1.submit();
}


function LZ(x) {return(x<0||x>9?"":"0")+x}

today = new Date();
year  = today.getYear();
month = today.getMonth() + 1;
day   = today.getDate();
hour  = today.getHours();
min   = today.getMinutes();
sec   = today.getSeconds();

if ( browserName == "Netscape" )
{
  year += 1900;
}
DateStr = year + "-" + LZ(month) + "-" + LZ(day) + " " ;
DateStr += ( hour > 12 ) ? "PM " : "AM ";
DateStr += LZ(hour)+ ":" + LZ(min)  ;

// Counter
//CountPath = location.pathname;
//PathChunck = CountPath.split('/');
//CounterLink = "";

//if ( PathChunck[2] == "layer2.html" )
//{
//  CounterLink = '<img src="/cgi-bin/Count.cgi?df='+PathChunck[1]+'&sh=F" alt="" width=1 height=1>' ;
//}
//else if ( PathChunck[1].indexOf("index_") != -1 )
//{
//  CounterLink = '<img src="/cgi-bin/Count.cgi?df='+PathChunck[1]+'&sh=F" alt="" width=1 height=1>' ;
//}
//-->
