 function check(theform)
{
if (theform.userid.value=="")
  {
    alert("ΗλΚδΘλΔϊ΅ΔΥΚΊΕ£‘");
    theform.userid.focus();
    return (false);
  }
  if (theform.password.value=="")
  {
    alert("ΗλΚδΘλΔϊ΅ΔΓάΒλ£‘");
    theform.password.focus();
    return (false);
  }
 
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function privateWin(cpname){
         url = "Detail1.asp?cpname=" +cpname;
          window.document.open(url,"","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,WIDTH=700,HEIGHT=480,top=0,left=0");
   }
function privateWin1(cpname){
         url = "videoshow1.asp?cpname=" +cpname;
          window.document.open(url,"","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,WIDTH=700,HEIGHT=480,top=0,left=0");
   } 
function MM_callJS(str){
    eval(str);
}
   function all(name)
{
   for ( var i=0; i < document.inquiry.elements.length; i++ ) {
      var b=document.inquiry.elements[i];
          document.inquiry.elements[i].checked = name;
   }
}
