function checkForm(){
		var firstName,lastName,company,country,phone,email,problemDescription,problemDetails;
		firstName = document.theForm.fName.value;
		lastName = document.theForm.lName.value;
		company = document.theForm.company.value;
		country = document.theForm.country.value;
		phone = document.theForm.phone.value;
		email = document.theForm.mail.value;

		if(firstName == ""){
			alert("please enter your first name");
			document.theForm.fName.focus();
			return false;
		}

		if(lastName == ""){
			alert("please enter your last name");
			document.theForm.lName.focus();
			return false;
		}

		if(company == ""){
			alert("please enter your company name");
			document.theForm.company.focus();
			return false;
		}

		if(country == ""){
			alert("please choose a country");
			document.theForm.country.focus();
			return false;
		}

		if(phone == ""){
			alert("please enter your phone number");
			document.theForm.phone.focus();
			return false;
		}

		if(email == ""){
			alert("please enter your email address");
			document.theForm.mail.focus();
			return false;
		}

		if(formId == "support"){
			problemDetails = document.theForm.problemDetails.value;
			
			if(problemDetails == ""){
				alert("please enter the problem Details");
				document.theForm.problemDetails.focus();
				return false;
			}
		}
		
		return false;
	}