// JavaScript Document
function cleanField (field) {
	document.getElementById(field).value=""
}

// JavaScript Document
function checkForm () {
	if (document.getElementById("nombre").value=="") {		
		alert ("El nombre es un campo obligatorio ")
		return false
	}
	if (document.getElementById("cedula").value=="") {		
		alert ("La cedula es un campo obligatorio ")
		return false
	}
	if (document.getElementById("extendida").value=="") {		
		alert (" Todos los campos son requeridos")
		return false
	}
	if (document.getElementById("edad").value=="") {		
		alert ("La edad es un campo obligatorio ")
		return false
	}
	if (document.getElementById("sexo").value=="") {		
		alert ("El sexo es un campo obligatorio ")
		return false
	}
	if (document.getElementById("empadronamiento").value=="") {		
		alert ("El empadronamiento es un campo obligatorio ")
		return false
	}
	if (document.getElementById("email").value=="") {		
		alert ("El email es un campo obligatorio ")
		return false
	}
	if (document.getElementById("telefono").value=="") {		
		alert ("El telefono es un campo obligatorio ")
		return false
	}
	
}
