function send(pAction){
	var vError = false;
	var vFocus = "";

	var msgError = vFirstError+"\n\n"

	if(jQuery.trim($("#WWUV_Name").val()) == ""){
		jsShowErrorInputMsg("WWUV_Name");
		msgError += "- "+WWU_NoName+"\n";
		if(vFocus=="") vFocus = "WWUV_Name";
		vError = true;
	}else{
		jsHideErrorInputMsg("WWUV_Name");
		
		if(jQuery.trim($("#WWUV_Name").val()).length < "2"){
			jsShowErrorInputMsg("WWUV_Name");
			msgError += "- "+WWU_ErrorName+"\n";
			if(vFocus=="") vFocus = "WWUV_Name";
			vError = true;
		}else{
			jsHideErrorInputMsg("WWUV_Name");
		}
		
	}
	
	if(jQuery.trim($("#WWUV_Lastname").val()) == ""){
		jsShowErrorInputMsg("WWUV_Lastname");
		msgError += "- "+WWU_NoLastname+"\n";
		if(vFocus=="") vFocus = "WWUV_Lastname";
		vError = true;
	}else{
		jsHideErrorInputMsg("WWUV_Lastname");
		
		if(jQuery.trim($("#WWUV_Lastname").val()).length < "2"){
			jsShowErrorInputMsg("WWUV_Lastname");
			msgError += "- "+WWU_ErrorLastname+"\n";
			if(vFocus=="") vFocus = "WWUV_Lastname";
			vError = true;
		}else{
			jsHideErrorInputMsg("WWUV_Lastname");
		}
		
	}
	
	if(jQuery.trim($("#WWUV_Edad").val()) == ""){
		jsShowErrorInputMsg("WWUV_Edad");
		msgError += "- "+WWU_NoEdad+"\n";
		if(vFocus=="") vFocus = "WWUV_Edad";
		vError = true;
	}else{
		jsHideErrorInputMsg("WWUV_Edad");
		
		if(isNaN(jQuery.trim($("#WWUV_Edad").val()))){
			jsShowErrorInputMsg("WWUV_Edad");
			msgError += "- "+WWU_ErrorEdad+"\n";
			if(vFocus=="") vFocus = "WWUV_Edad";
			vError = true;
		}else{
			jsHideErrorInputMsg("WWUV_Edad");
		}
		
	}
	
	if(jQuery.trim($("#dia_nac").val()) == "0"){
		jsShowErrorInputMsg("dia_nac");
		if(vFocus=="") vFocus = "dia_nac";
		vError = true;
	}else{
		jsHideErrorInputMsg("dia_nac");
	}
	
	if(jQuery.trim($("#mes_nac").val()) == "0"){
		jsShowErrorInputMsg("mes_nac");
		if(vFocus=="") vFocus = "mes_nac";
		vError = true;
	}else{
		jsHideErrorInputMsg("mes_nac");
	}
	
	if(jQuery.trim($("#anio_nac").val()) == "0"){
		jsShowErrorInputMsg("anio_nac");
		if(vFocus=="") vFocus = "anio_nac";
		vError = true;
	}else{
		jsHideErrorInputMsg("anio_nac");
	}
	
	if(jQuery.trim($("#dia_nac").val()) == "0" || jQuery.trim($("#mes_nac").val()) == "0" || jQuery.trim($("#anio_nac").val()) == "0"){
		msgError += "- "+WWU_NoFecha+"\n";
		vError = true;
	}
	
	if(jQuery.trim($("#WWUC_DNI").val()) == ""){
		jsShowErrorInputMsg("WWUC_DNI");
		msgError += "- "+WWU_NoDNI+"\n";
		if(vFocus=="") vFocus = "WWUC_DNI";
		vError = true;
	}else{
		jsHideErrorInputMsg("WWUC_DNI");
		
		if(jQuery.trim($("#WWUC_DNI").val()).length < 8 || isNaN(jQuery.trim($("#WWUC_DNI").val()))){
			jsShowErrorInputMsg("WWUC_DNI");
			msgError += "- "+WWU_ErrorDNI+"\n";
			if(vFocus=="") vFocus = "WWUC_DNI";
			vError = true;
		}else{
			jsHideErrorInputMsg("WWUC_DNI");
		}
		
	}
	
	if(jQuery.trim($("#WWUV_Email").val()) == ""){
		jsShowErrorInputMsg("WWUV_Email");
		msgError += "- "+WWU_NoEmail+"\n";
		if(vFocus=="") vFocus = "WWUV_Email";
		vError = true;
	}else{
		jsHideErrorInputMsg("WWUV_Email");
		
		if(!isEmail(jQuery.trim($("#WWUV_Email").val()))){
			jsShowErrorInputMsg("WWUV_Email");
			msgError += "- "+WWU_ErrorEmail+"\n";
			if(vFocus=="") vFocus = "WWUV_Email";
			vError = true;
		}else{
			jsHideErrorInputMsg("WWUV_Email");
		}
		
	}
	
	if(jQuery.trim($("#WWUV_Grado").val()) == ""){
		jsShowErrorInputMsg("WWUV_Grado");
		msgError += "- "+WWU_NoGrade+"\n";
		if(vFocus=="") vFocus = "WWUV_Grado";
		vError = true;
	}else{
		jsHideErrorInputMsg("WWUV_Grado");		
		
	}
	
	if(jQuery.trim($("#INAI_Id").val()) == "0"){
		jsShowErrorInputMsg("INAI_Id");
		msgError += "- "+WWU_NoArea+"\n";
		if(vFocus=="") vFocus = "INAI_Id";
		vError = true;
	}else{
		jsHideErrorInputMsg("INAI_Id");
	}
	
	if(jQuery.trim($("#FILE_CV").val()) == ""){
		jsShowErrorInputMsg("FILE_CV");
		msgError += "- "+WWU_NoFile+"\n";
		if(vFocus=="") vFocus = "FILE_CV";
		vError = true;
	}else{
		jsHideErrorInputMsg("FILE_CV");
		
		var exts = new Array(".pdf", ".doc");
		if (!validateExts('FILE_CV', exts)){
			jsShowErrorInputMsg("FILE_CV");
			msgError += "- "+WWU_ErrorFile + exts.join()+"\n";
			if(vFocus=="") vFocus = "FILE_CV";
			vError = true;
		}
		
	}
	
	if(!vError){
		jsShowGoodMsg('Enviando Data...!');
		document.forms[0].action = pAction;
		document.forms[0].target = '_self';
		document.forms[0].submit();
	}else{
		jsShowErrorMsg(msgError);
		document.getElementById(vFocus).focus();
	}


	/*if(trim(document.getElementById('WWUV_Name').value)==''){
		window.alert('Ingrese su Nombre');
		document.getElementById('WWUV_Name').focus();
		return;
	}
	
	if(trim(document.getElementById('WWUV_Lastname').value)==''){
		window.alert('Ingrese su Apellido');
		document.getElementById('WWUV_Lastname').focus();
		return;
	}
	
	if(trim(document.getElementById('WWUV_Edad').value)==''){
		window.alert('Ingrese su Edad');
		document.getElementById('WWUV_Edad').focus();
		return;
	}
	
	if(document.getElementById('WWUI_Sexo').value == '0'){
		window.alert('Seleccione su Sexo');
		document.getElementById('WWUI_Sexo').focus();
		return;
	}
	
	if(document.getElementById('dia_nac').value == '0'){
		window.alert('Seleccione el Día de su Fecha de Nacimiento');
		document.getElementById('dia_nac').focus();
		return;
	}
	
	if(document.getElementById('mes_nac').value == '0'){
		window.alert('Seleccione el Mes de su Fecha de Nacimiento');
		document.getElementById('mes_nac').focus();
		return;
	}
	
	if(document.getElementById('anio_nac').value == '0'){
		window.alert('Seleccione el Año de su Fecha de Nacimiento');
		document.getElementById('anio_nac').focus();
		return;
	}
	
	if(trim(document.getElementById('WWUC_DNI').value)==''){
		window.alert('Ingrese su Documento de Identidad');
		document.getElementById('WWUC_DNI').focus();
		return;
	}
	
	if (trim(document.getElementById('WWUV_Email').value) == '') {
		window.alert('Ingrese un E-mail');
		document.getElementById('WWUV_Email').focus();
		return;
	}
	
	if(!isEmail(trim(document.getElementById('WWUV_Email').value))){
		window.alert('Ingrese un E-mail valido');
		document.getElementById('WWUV_Email').focus();
		return;
	}
	
	if(trim(document.getElementById('WWUV_Address').value)==''){
		window.alert('Ingrese su Dirección');
		document.getElementById('WWUV_Address').focus();
		return;
	}

	if(document.getElementById('cmbProvincia').value == '0'){
		window.alert('Seleccione su Provincia');
		document.getElementById('cmbProvincia').focus();
		return;
	}
	
	if(document.getElementById('cmbDistrito').value == '0'){
		window.alert('Seleccione su Distrito');
		document.getElementById('cmbDistrito').focus();
		return;
	}
	
	if(trim(document.getElementById('WWUV_Grado').value)==''){
		window.alert('Ingrese su Grado de instrucción');
		document.getElementById('WWUV_Grado').focus();
		return;
	}
	
	if(trim(document.getElementById('WWUV_CentroEstudiuos').value)==''){
		window.alert('Ingrese su Centro de estudios / Universidad');
		document.getElementById('WWUV_CentroEstudiuos').focus();
		return;
	}
	
	if(trim(document.getElementById('WWUV_Profesion').value)==''){
		window.alert('Ingrese su Profesión');
		document.getElementById('WWUV_Profesion').focus();
		return;
	}
	
	if(document.getElementById('INAI_Id').value == '0'){
		window.alert('Seleccione su Área de Interés');
		document.getElementById('INAI_Id').focus();
		return;
	}
	
	if(trim(document.getElementById('WWUV_Mensaje').value)==''){
		window.alert('Ingrese el motivo por el cual le gustaria trabajar con nosotros');
		document.getElementById('WWUV_Mensaje').focus();
		return;
	}
	
	if(trim(document.getElementById('FILE_CV').value)==''){
		window.alert('Adjunte su CV');
		document.getElementById('FILE_CV').focus();
		return;
	}

	if(trim(document.getElementById('FILE_CV').value)!='')
	{	
		var exts = new Array(".pdf", ".doc");
		if (!validateExts('FILE_CV', exts))
		{
			window.alert('Comprueba la extension de el archivo a subir. \nSolo se pueden subir archivos con extensiones: ' + exts.join());
			document.getElementById('FILE_CV').focus();
			swf=0;
			return;	
		}
	}

	document.forms[0].action = pAction;
	document.forms[0].target = '_self';
	document.forms[0].submit();
	//alert("O.K.!!");*/
}

function cleanForm(){
	jsHideErrorMsg();

	jsHideErrorInputMsg('WWUV_Name');
	jsHideErrorInputMsg('WWUV_Lastname');
	jsHideErrorInputMsg('WWUV_Edad');
	jsHideErrorInputMsg('dia_nac');
	jsHideErrorInputMsg('mes_nac');
	jsHideErrorInputMsg('anio_nac');
	jsHideErrorInputMsg('WWUC_DNI');
	jsHideErrorInputMsg('WWUV_Email');
	jsHideErrorInputMsg('WWUV_Grado');
	jsHideErrorInputMsg('INAI_Id');
	jsHideErrorInputMsg('FILE_CV');

	document.forms[0].reset();
	document.getElementById('WWUV_Name').focus();
}
