	function validateForm(tip, cod)
	{
		if (tip=="cod")
		  {
			  if((cod - 0) != cod || cod.length != 6){
			  alert("Codul COR trebuie sa fie exclusiv numeric si sa aiba exact 6 cifre.");
			  return false;
			  }
		  return true;
		}
	}
