function check_form(form){
	
	var x= form;
	
	if(x.nume.value.length < 3) {
		alert("Completati numele persoanei de contact!");
		x.nume.focus();
		return false;
	}
	
	if(x.telefon.value.length < 10) {
		alert("Completati numarul de telefon corect!");
		x.telefon.focus();
		return false;
	}
	
	if(x.email.value.length < 3) {
		alert("Completati adresa de email!");
		x.email.focus();
		return false;
	}
	
	if(x.adresa.value.length < 2) {
		alert("Completati adresa de livrare!");
		x.adresa.focus();
		return false;
	}
	
	return true;
}