<!---
function anpop(url){
anWin=window.open(url,"Agreement","width=480,height=580,directories=no,toolbar=no,resizable=no,menubar=no,scrollbars=no");
}

function  hasEdu()  
    { 
       var domainstr = document.endomain.mess01domain1.value;

       if (domainstr.indexOf(".edu")>=0)
{ alert('edu domain name is only for school!\n\nPlease make sure you are a registered school.'); }

  if (domainstr.indexOf(".gov")>=0)
{ alert('gov domain name is only for government!'); }

else return false;

}

function CheckInput() {
var m_comfirm='By clicking the submit button, \nyou have read, understood and will accept \nthe Services  Agreement of WOWIN Co. and SOWEB.net!'


if (document.endomain.mess01domain1.value=='')
{ alert('The DOMAIN can not be empty!'); document.endomain.mess01domain1.focus(); return false;}

if((document.endomain.mess01domain1.value.indexOf(".com")<1)&&(document.endomain.mess01domain1.value.indexOf(".org")<1)
&&(document.endomain.mess01domain1.value.indexOf(".gov")<1)&&(document.endomain.mess01domain1.value.indexOf(".net")<1)
&&(document.endomain.mess01domain1.value.indexOf(".tv")<1)&&(document.endomain.mess01domain1.value.indexOf(".mil")<1)&&(document.endomain.mess01domain1.value.indexOf(".edu")<1)){ alert('The DOMAIN  not exact!'); document.endomain.mess01domain1.focus(); return false;}

if (document.endomain.mess03currency_id.value=='')
{ alert('What Currency you will pay?'); document.endomain.mess03currency_id.focus(); return false;}

if (document.endomain.mess09registrant_e.value=='')
{ alert('Registrant?!'); document.endomain.mess09registrant_e.focus(); return false;}

if (document.endomain.mess10r_org_e.value=='')
{ alert('Organization?'); document.endomain.mess10r_org_e.focus(); return false;}


if (document.endomain.mess11r_country_e.value=='')
{ alert('Country?\n'); document.endomain.mess11r_country_e.focus(); return false;}



if (document.endomain.mess12r_province_e.value=='')
{ alert('Province?'); document.endomain.mess12r_province_e.focus(); return false;}

if (document.endomain.mess13r_city_e.value=='')
{ alert('City?'); document.endomain.mess13r_city_e.focus(); return false;}




if (document.endomain.mess14r_address_e.value=='')
{ alert('Exact Address?!'); document.endomain.mess14r_address_e.focus(); return false;}

if (document.endomain.mess16r_telephone.value=='')
{ alert('Telephone No.?!'); document.endomain.mess16r_telephone.focus(); return false;}

if (document.endomain.mess17r_email.value=='')
{ alert('Email account?'); document.endomain.mess17r_email.focus(); return false;}

if((document.endomain.mess17r_email.value.indexOf(".")<2)||(document.endomain.mess17r_email.value.indexOf("@")<2)){
  alert("Please fill it with the Correct Email!");
  document.endomain.mess17r_email.focus();
  return(false);
}


if (!document.endomain.agreement.checked)
{alert('You have not read and accepted \nthe Services  Agreement of WOWIN Co.(SOWeb.net).');return false;}

if(agreementfile==0){alert('Please read the Agreement exactly!'); return false;}

return confirm(m_comfirm);


}


---->
