function checkform() {
	var f = document.getElementById("contactform");
	good = true;
	if (f.name.value.length < 2) {
		alert("Please, write your name");
		good = false;
	}
	if (f.email.value.length < 5) {
		alert("You must type valid email");
		good = false;
	}
	if (f.subject.value.length < 2) {
		alert("Please, write subject of this ticket");
		good = false;
	}	
	if (f.body.value.length < 2) {
		alert("Ticket body too short");
		good = false;
	}	
	return good;
}