
function chkfields() {

	var company = window.document.contact.frmCompany;
	var phone = window.document.contact.frmPhone;
	var email = window.document.contact.frmMail;
	var question = window.document.contact.frmQuestion;
			
	var titta = 1;
	

	if (titta == 1 && !company.value) {titta = 0;window.alert('You have to type your name!');company.focus();}
	if (titta == 1 && (!phone.value && !email.value)) {titta = 0;window.alert('You have to type email or phonenumber!');phone.focus();}
	if (titta == 1 && !question.value) {titta = 0;window.alert('You must type your question!');question.focus();}
	

	if (titta == 1) {
		
		window.document.contact.submit();
	
	}
	

}




