function validate_form()
{
// First Name -------------------------------------------------------------------------------------------------------------------------		
	var first_name = document.getElementById("FirstName").value  ;
	
	if (first_name == '') 
		{
		document.getElementById("FirstName").focus();
		document.getElementById("FirstName").setAttribute("style"," background: #FFCCCC; " );

		document.getElementById("FirstName_notification").innerHTML=' * Required field';
	
		return false;
		}
		
	var check	= first_name.search(/[^A-Za-z-'\s]/)	;
	
	if (check !== -1)
		{
		document.getElementById("FirstName").focus();
		document.getElementById("FirstName").setAttribute("style"," background: #FFCCCC; " );
		document.getElementById("FirstName_notification").innerHTML=' *Please use only A-Z and hyphens';
		return false;
		}
	
	var check	= first_name.search(/^[A-Za-z]/)	;
	
	if (check !== 0)
		{
		document.getElementById("FirstName").focus();
		document.getElementById("FirstName").setAttribute("style"," background: #FFCCCC; " );
		document.getElementById("FirstName_notification").innerHTML=' *Please enter your first name';
		return false;
		}	
		
	document.getElementById("FirstName").setAttribute("style"," background: #FFFFFF; " );
	document.getElementById("FirstName_notification").innerHTML='';

// Surname -----------------------------------------------------------------------------------------------------------------------------	
	var surname = document.getElementById("LastName").value  ;
	
	if (surname == '') 
		{
		document.getElementById("LastName").focus();
		document.getElementById("LastName").setAttribute("style"," background: #FFCCCC; " );
		
		document.getElementById("LastName_notification").innerHTML=' * Required Field';
		
		return false;
		}
		
	var check	= surname.search(/[^A-Za-z-'\s]/)	;
	
	if (check !== -1)
		{
		document.getElementById("LastName").focus();
		document.getElementById("LastName").setAttribute("style"," background: #FFCCCC; " );
		document.getElementById("LastName_notification").innerHTML=' *Please use only A-Z and hyphens';
		return false;
		}
	
	var check	= surname.search(/^[A-Za-z]/)	;
	
	if (check !== 0)
		{
		document.getElementById("LastName").focus();
		document.getElementById("LastName").setAttribute("style"," background: #FFCCCC; " );
		document.getElementById("LastName_notification").innerHTML=' *Please enter your surname';
		return false;
		}	
		
	document.getElementById("LastName").setAttribute("style"," background: #FFFFFF; " );
	document.getElementById("LastName_notification").innerHTML=' ';

// Address-------------------------------------------------------------------------------------------------------------------------		

	var address = document.getElementById("Address").value  ;

	
	var check	= address.search(/[^A-Za-z0-9-'\s,\.]/)	;

	

	if (check !== -1)

		{

		document.getElementById("Address").focus();

		document.getElementById("Address").setAttribute("style"," background: #FFCCCC; " );

		document.getElementById("Address_notification").innerHTML=' *Please use only A-Z and hyphens';

		return false;

		}


	document.getElementById("Address").setAttribute("style"," background: #FFFFFF; " );

	document.getElementById("Address_notification").innerHTML='';
	
// Phone -------------------------------------------------------------------------------------------------------------------------

	var phone= document.getElementById("Tel").value ;



	if (phone == ''  ) 

		{

		document.getElementById("Tel").focus();

		document.getElementById("Tel").setAttribute("style"," background: #FFCCCC; " );
		
		document.getElementById("Tel_notification").innerHTML=' * Required Field';

		return false;

		}



	var check = phone.search(/[^0-9-\s()+]/ );


	if (check !== -1)

		{

		document.getElementById("Tel").focus();

		document.getElementById("Tel").setAttribute("style"," background: #FFCCCC; " );

		document.getElementById("Tel_notification").innerHTML=' *Invalid phone number';

		return false;

		}

		

	document.getElementById("Tel").setAttribute("style"," background: #FFFFFF; " );

	document.getElementById("Tel_notification").innerHTML='';

	
// Email ------------------------------------------------------------------------------------------------------------------------
	var email = document.getElementById("Email").value  ;
	if (email !== '') 

		{
			var check	= email.search(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*\.(\w{2}|(com|net|org|edu|int|mil|gov|arpa|biz|aero|name|coop|info|pro|museum))$/)	;
	
			if ( check !==0  ) 
				{
				document.getElementById("Email").focus();
				document.getElementById("Email").setAttribute("style"," background: #FFCCCC; " );
				document.getElementById("Email_notification").innerHTML=' *Please enter a valid email';
				return false;
				}
		}
	document.getElementById("Email").setAttribute("style"," background: #FFFFFF; " );
	document.getElementById("Email_notification").innerHTML='';
	

		
//~ // HearAbout -----------------------------------------------------------------------------------------------------------------------------	
	//~ var HearAbout = document.getElementById("HearAbout").value;
	
	//~ var check = HearAbout.search(/[^A-Za-z0-9\s-'",%&\(\):\+=\.\?\u00A3\@!_/]/);
	
	//~ if (check !== -1 ) 
		//~ {
		//~ document.getElementById("HearAbout").focus();
		//~ document.getElementById("HearAbout").setAttribute("style"," background: #FFCCCC; " );
		//~ document.getElementById("HearAbout_notification").innerHTML=' <br/>*Your query contains forbidden characters';
		//~ return false;
		//~ }	
		
	//~ document.getElementById("HearAbout").setAttribute("style"," background: #FFFFFF; " );
	//~ document.getElementById("HearAbout_notification").innerHTML='';

//~ // Experience -----------------------------------------------------------------------------------------------------------------------------	

	//~ var Experience = document.getElementById("Experience").value;

	

	//~ var check = Experience.search(/[^A-Za-z0-9\s-'",%&\(\):\+=\.\?\u00A3\@!_/]/);

	
	//~ if (check !== -1 ) 

		//~ {

		//~ document.getElementById("Experience").focus();

		//~ document.getElementById("Experience").setAttribute("style"," background: #FFCCCC; " );

		//~ document.getElementById("Experience_notification").innerHTML=' <br/>*Your query contains forbidden characters';

		//~ return false;

		//~ }	

		

	//~ document.getElementById("Experience").setAttribute("style"," background: #FFFFFF; " );

	//~ document.getElementById("Experience_notification").innerHTML='';

//~ //Achieve -----------------------------------------------------------------------------------------------------------------------------	

	//~ var Achieve = document.getElementById("Experience").value;

	

	//~ var check = Achieve.search(/[^A-Za-z0-9\s-'",%&\(\):\+=\.\?\u00A3\@!_/]/);

	
	//~ if (check !== -1 ) 

		//~ {

		//~ document.getElementById("Achieve").focus();

		//~ document.getElementById("Achieve").setAttribute("style"," background: #FFCCCC; " );

		//~ document.getElementById("Achieve_notification").innerHTML=' <br/>*Your query contains forbidden characters';

		//~ return false;

		//~ }	

		

	//~ document.getElementById("Achieve").setAttribute("style"," background: #FFFFFF; " );

	//~ document.getElementById("Achieve_notification").innerHTML='';
}