function checkForm(theForm) {
	
	if (theForm.elements['varName'].value == '') {
		alert('Please enter your name.');
		theForm.elements['varName'].focus();
		return false;
	}

	if (theForm.elements['varCityState'].value == '') {
		alert('Please enter your City/State.');
		theForm.elements['varCityState'].focus();
		return false;
	}

	if (theForm.elements['varCountry'].value == '') {
		alert('Please enter your Country.');
		theForm.elements['varCountry'].focus();
		return false;
	}

	if (theForm.elements['varVerifyValidForm'].value == '') {
		alert('Please enter verification code by answering the simple sum. (This will help to prevent spam mail).');
		theForm.elements['varVerifyValidForm'].focus();
		return false;
	}

	if (theForm.elements['varVerifyValidForm'].value != 100) {
		alert('Please enter verification code by answering the simple sum. (please check you have entered the correct number).');
		theForm.elements['varVerifyValidForm'].focus();
		return false;
	}


	if (theForm.elements['varMessage'].value == '') {
		alert('Please enter your Message.');
		theForm.elements['varMessage'].focus();
		return false;
	}


theForm.submit();
}

