	function isNumeric(what)
	 {
		if (what.search(/^[-+]?\d+(\.\d+)?$/) != -1)
			{
			return true;
			}
		else
			{
			return false;
			}
	 }

	function chkEmail(email)
{}

	function validate()
	{

	if(document.frmreq.company.value == 0)
	  {
		alert('Please Enter the Company Name');
		document.frmreq.company.focus();
		return false;
	  }
  
  if(document.frmreq.street.value == 0)
	  {
		alert('Please Enter the Address');
		document.frmreq.street.focus();
		return false;
	  }

if(document.frmreq.city.value == 0)
	  {
		alert('Please Enter the City');
		document.frmreq.city.focus();
		return false;
	  }

if(document.frmreq.state.value == 0)
	  {
		alert('Please Enter the State');
		document.frmreq.state.focus();
		return false;
	  }


if(document.frmreq.name.value == 0)
	  {
		alert('Please Enter the Contact Name');
		document.frmreq.name.focus();
		return false;
	  }


if(document.frmreq.phone.value == 0)
	  {
		alert('Please Enter the Phone Number');
		document.frmreq.phone.focus();
		return false;
	  }


if(document.frmreq.email.value == 0)
	  {
		alert('Please Enter the Email ID');
		document.frmreq.email.focus();
		return false;
	  }
if (document.frmreq.email.value != '')
	{
		val = chkEmail(document.frmreq.email.value);
		if(val==false)
		{
			alert('Please enter valid email address');
			document.frmreq.email.focus();
			return false;
	}	}				
/*		  
if (document.frmreq.captchano.value == '') {
	alert('Please enter code you see in image.');
	document.frmreq.captchano.focus();
	return false;
}*/	  
/*if(document.frmreq.contact.selectedIndex == 0)
	  {
		alert('Please Select the Contact Mode');
		document.frmreq.contact.focus();
		return false;
	  }
  */		
  
	return true;
	}
	
function specialKeyPress(){
	var strOK = /[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890.@()-- ]/ig;
	var myString = String.fromCharCode(window.event.keyCode);
	if(strOK.exec(myString)==null){
//		alert('Special characters are not allowed.')
//		window.event.keyCode=0;
	}
}