<!--
function chkform(){

	if(checkspace(document.form.Company_Name.value)) {
		document.form.Company_Name.focus();
		alert("Please fill in the name of the company!");
		return false;
	}
	
	if(checkspace(document.form.Contact_Person.value)) {
		document.form.Contact_Person.focus();
		alert("Please fill in the contact person!");
		return false;
	}

	if(checkspace(document.form.Email.value)) {
		document.form.Email.focus();
		alert("Please fill in the mail!");
		return false;
	} else{
		email=document.form.Email.value;
		emailerr=0
		for (i=0; i<email.length; i++){
			if ((email.charAt(i) == "@")  & (email.length > 5)){
				emailerr=emailerr+1
			}
		}
		
		if (emailerr != 1){
			alert("Mail format is wrong!");
			document.form.Email.focus();
			return false;
		}
	}
	
	if(checkspace(document.form.Tel.value)) {
		document.form.Tel.focus();
		alert("Please fill in the phone number!");
		return false;
	}
	
	
	if(document.getElementById('Country').selectedIndex == 0) {
		alert("Please fill in the country!");
		return false;
	}
	
	if(checkspace(document.form.Subject.value)) {
		document.form.Subject.focus();
		alert("Please fill in the subject!");
		return false;
	}

	if(checkspace(document.form.Inquiry_Messages.value)) {
		document.form.Inquiry_Messages.focus();
		alert("Please fill in the inquiry message!");
		return false;
	}
	return true;     
}
function checkspace(checkstr) {
	var str = '';
	for(i = 0; i < checkstr.length; i++) {
	str = str + ' ';
	}
	return (str == checkstr);
}
//-->