function check_oblig(form){
	for(i=0; i<form.length; i++){
		with(form.elements[i]){
			if(name.substr(0,1) == "_" && (type == "text" || type == "textarea") && !value){
				alert("Не все обязательные поля поля заполнены!");
				return false;
			}
		}
	}
	return true;
}