function validateRequestForm()
{
		
		var msg='';
		var matchUrl = /http:\/\/[A-Za-z0-9\.-]{3,}\.[A-Za-z]{3}/;
		var regEmail = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/;
		var varName	=	document.requestForm.name.value;
		var varEmail	=	document.requestForm.email.value;
		var varPhone = document.requestForm.phone.value;
			
		if(varName == '')
		{
			msg+="-> Name is required.\n";
		}
		if(varEmail == '')
		{
			msg+="-> Email-ID is required.\n";
		}
		if((!regEmail.test(varEmail))&&(varEmail!=''))
		{
			msg+="-> Please enter email-id in valid format.\n";
		}
		
		if(varPhone == '')
		{
			msg+="-> Phone No is required. \n";
		}
	
		if(msg!='')
		{
		  message="Sorry ! We cannot complete your request.\nKindly provide us the missing or incorrect information : \n";
		  comp_msg = message+msg;
		  alert(comp_msg);
		  return false;
		}
		 else
		{ 
		  return true;
		}
}

function validateFullRequestForm()
{
		
		var msg='';
		var matchUrl = /http:\/\/[A-Za-z0-9\.-]{3,}\.[A-Za-z]{3}/;
		var regEmail = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/;
		/* var regZip = /^[0-9]{5}$/;   validating a 5-digit zip code */
		var varName	=	document.requestForm.name.value;
		var varEmail	=	document.requestForm.email.value;
		var varPhone = document.requestForm.phone.value;
		var varAddress = document.requestForm.address.value;
		var varCity = document.requestForm.city.value;
		var varZip = document.requestForm.zip.value;
		
		
	
		if(varName == '')
		{
			msg+="-> Name is required.\n";
		}
		
		 if(varAddress == '')
		{
			msg+="-> Address is required.\n";
		}
		
		if(varCity == '')
		{
			msg+="-> City is required.\n";
		}
		
		 if(varZip == '')
		{
			msg+="->  Zip Code is required. \n";
		}
	
	  /* if((!regZip.test(varZip))&&(varZip!=''))
	   {
		   msg+="-> Please enter Zip Code in 5-digit valid format. \n";
	   }*/
		
		
		
		if(varEmail == '')
		{
			msg+="-> Email-ID is required.\n";
		}
		if((!regEmail.test(varEmail))&&(varEmail!=''))
		{
			msg+="-> Please enter email-id in valid format.\n";
		}
		
		if(varPhone == '')
		{
			msg+="-> Phone No is required. \n";
		}
	
	
		if(msg!='')
		{
		  message="Sorry ! We cannot complete your request.\nKindly provide us the missing or incorrect information : \n";
		  comp_msg = message+msg;
		  alert(comp_msg);
		  return false;
		}
		 else
		{ 
		  return true;
		}
}
