function __valclsreqform(){

	var emailExp = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/;
	company_name = document.getElementById('company_name').value;
	business_type = document.getElementById('business_type').value;
	country = document.getElementById('country').value;
	contact_person = document.getElementById('contact_person').value;
	email = document.getElementById('email').value;

	title = document.getElementById('title').value;
	project_description = document.getElementById('project_description').value;
	i = 0;
	ptype_true = 0;

	if(title == ""){
		alert("Project Title field cannot be null.\nPlease enter the title of the project you're requesting for.");
		document.getElementById('title').focus();
		document.getElementById('sbutton').disabled = false;
		return false;
	}
	if(project_description == ""){
		alert("Project Description field cannot be null.\nPlease enter the description of the project you're requesting for.");
		document.getElementById('project_description').focus();
		document.getElementById('sbutton').disabled = false;
		return false;
	}

	while(i <= 11){
		if(document.getElementById('ptype_'+i).checked == true){
			ptype_true = 1;
		}
		i++;
	}

	if(ptype_true == 0){
		alert("You must select at least one type of the project you're requesting for.\nPlease choose one that is best suited to your project.");
		document.getElementById('sbutton').disabled = false;
		return false;
	}

	if(company_name == ""){
		alert("Company Name field cannot be null. Please enter the name of the Company.");
		document.getElementById('company_name').focus();
		document.getElementById('sbutton').disabled = false;
		return false;
	}
	if(business_type == ""){
		alert("Business Type field cannot be null. Please enter the business type of the Company");
		document.getElementById('business_type').focus();
		document.getElementById('sbutton').disabled = false;
		return false;
	}
	if(country == ""){
		alert("Country field cannot be null. Please enter the Country where the company is currently based.");
		document.getElementById('country').focus();
		document.getElementById('sbutton').disabled = false;
		return false;
	}
	if(contact_person == ""){
		alert("Contact Person field cannot be null. Please enter the contact person of the company.");
		document.getElementById('contact_person').focus();
		document.getElementById('sbutton').disabled = false;
		return false;
	}
	if(email == ""){
		alert("Email field cannot be null. Please enter the email address of the contact person.");
		document.getElementById('email').focus();
		document.getElementById('sbutton').disabled = false;
		return false;
	}
	if(!document.getElementById('email').value.match(emailExp)){
		alert("Your email is invalid! Please try again.");
		document.getElementById('email').focus();
		document.getElementById('sbutton').disabled = false;
		return false;
	}
	
	var actReq = confirm("Your project request will now be send to our Designers/Developers Department.\nPress OK to proceed.");

	if(actReq != true){
		document.getElementById('sbutton').disabled = false;
		return false;
	}

}

function __valprojreqform(){

	title = document.getElementById('title').value;
	project_description = document.getElementById('project_description').value;
	i = 0;
	ptype_true = 0;

	if(title == ""){
		alert("Project Title field cannot be null.\nPlease enter the title of the project you're requesting for.");
		document.getElementById('title').focus();
		document.getElementById('sbutton').disabled = false;
		return false;
	}
	if(project_description == ""){
		alert("Project Description field cannot be null.\nPlease enter the description of the project you're requesting for.");
		document.getElementById('project_description').focus();
		document.getElementById('sbutton').disabled = false;
		return false;
	}

	while(i <= 11){
		if(document.getElementById('ptype_'+i).checked == true){
			ptype_true = 1;
		}
		i++;
	}

	if(ptype_true == 0){
		alert("You must select at least one type of the project you're requesting for.\nPlease choose one that is best suited to your project.");
		document.getElementById('sbutton').disabled = false;
		return false;
	}

	var actReq = confirm("Your project request will now be send to our Designers/Developers Department.\nPress OK to proceed.");

	if(actReq != true){			
		document.getElementById('sbutton').disabled = false;
		return false;
	}

}