<!-- hide
function GoAlert(P, Str) {
	alert("Please fill out the"+Str);
	P.focus();
	return;
	}

function Send(form) {
	if(!chkall(form))return;
	form.submit();
	return;
	}


function chkall(form)
{
   if (form.comname.value == "") 
   {  
        GoAlert(form.comname," Company Name ");
        return(false);
   }
    if (form.address.value == "") 
   {  
       GoAlert(form.address," Address ");
        return(false);
   }
   if (form.country.value == "") 
   {  
        GoAlert(form.country," Country ");
        return(false);
   }
   if (form.tel.value == "") 
   {  
       GoAlert(form.tel," Telephone ");
        return(false);
   }
     var Ctr=form.email;
     var Len=Ctr.value.length;
     var xx = Ctr.value;
     for(var i=1; i<Len; i++) {
          if(xx.substring(i, i+1) == '@') var AtS=i;
          if(xx.substring(i, i+1) == '.') var Point=i;
          }
     AtS = parseInt(AtS);
     Point=parseInt(Point);
     if(xx.substring(AtS, AtS+1) != '@' && xx.substring(Point, Point+1) != '.') {
          GoAlert(Ctr, " Email ");
          return(false);
          }
     if(AtS > Point || (AtS - Point)==1 || xx.substring(AtS+1,AtS+2) == " " || xx.substring(AtS+1,AtS+2) == "" || 
          xx.substring(Point+1, Point+2)==" " || xx.substring(Point+1, Point+2) == "") {

          GoAlert(Ctr, "Please fill out the email box.");
          return(false);
          }
	if (form.person.value == "") 
	{  
        GoAlert(form.person," Contact Person ");
        return(false);
	}
	if (form.importer.checked ==true || form.distributor.checked == true || form.wholesaler.checked ==true || form.manufacturer.checked ==true || form.reexporter.checked ==true || form.trader.checked ==true || form.repairing.checked ==true || form.oem.checked ==true || form.other.checked ==true)
	{}
	else
	{	GoAlert(form.importer," Main Business ");
		return(false)}  
	
	if (form.other.checked ==true)
	{
        if(form.otherdet.value=="")
              {
              GoAlert(form.other," Others Detail ");
               return(false)
               }
	}
	if (form.db.checked ==true || form.bs.checked ==true || form.bl.checked ==true || form.dr.checked ==true || form.dbm.checked ==true)
	{}
	else
	{	GoAlert(form.db," Interested Product ");
		return(false)	
	}

return(true);
}



//-->