function validar_formulario() {
	msg = ''
	
	//if ((document.frm_incripcion.atencion[0].checked == true) & (document.formulario.agencia_bancaria.selectedIndex == 0)) 
	//	msg = 'Debe de escribir el nombre de la agencia bancaria.\n' 
	
	//if ((document.formulario.atencion[1].checked == true) & (document.formulario.gtc_bank.value == '')) 
	//	msg = 'Debe de escribir el nombre de la oficina CGT Bank.\n' 
	
	//if ((document.formulario.atencion[2].checked == true) & (document.formulario.tarjeta_de_credito.value == '')) 
	//	msg = 'Debe de escribir el nombre de la oficina de tarjeta de credito.\n' 
	
	
   
	
	
	
	if ((document.frm_incripcion.frm_nombre.value == '') || (document.frm_incripcion.frm_email.value == '') || (document.frm_incripcion.frm_promocion.value == '')) 
		msg = msg + 'Debe de escribir su nombre, su correo y su promoción al menos.\n' 
		
	//if ((document.formulario.dp_primer_nombre.value == '') || (document.formulario.dp_segundo_nombre.value == '') || (document.formulario.dp_primer_apellido.value == '') || (document.formulario.dp_segundo_apellido.value == '') || (document.formulario.n_cuenta.value == '') ||(document.formulario.telefono.value == ''))
		//msg = msg + 'Debe de escribir todos sus datos personales.\n'
	
	if (document.frm_incripcion.frm_promocion.value != '') {
		valor = parseInt(document.frm_incripcion.frm_promocion.value)
      		if (isNaN(valor)) {
				msg = msg + 'Debe ingresar solo numeros en la promocion.\n'
			}
	}
	
	if (document.frm_incripcion.frm_telefono.value != '') {
		valor = parseInt(document.frm_incripcion.frm_telefono.value)
      		if (isNaN(valor)) {
				msg = msg + 'Debe ingresar solo numeros en el telefono.\n'
			}
	}
	if (document.frm_incripcion.frm_celular.value != '') {
		valor = parseInt(document.frm_incripcion.frm_celular.value)
      		if (isNaN(valor)) {
				msg = msg + 'Debe ingresar solo numeros en el celular.\n'
			}
	}
	//if (document.formulario.experiencia.value == '')
		//msg = msg + 'Debe de escribir en la seccion de experiencia de servicio excepcional'
		
	//if ((document.formulario.cuenta[3].checked == true) & (document.formulario.tipo_de_cuenta.value == '')) 
		//msg = 'Debe de escribir que otro tipo de cuenta.\n' 
		
	//if ((document.formulario.trabaja_en_gyt[0].checked == true) & (document.formulario.codigo_empleado.value == '')) 
		//msg = 'Debe de escribir su codigo de empleado.\n' 
	
	if (msg != '')
	    {
			alert (msg);
			document.frm_incripcion.frm_nombre.focus();
			return false;
		}
	else
		{
		alert('Datos Enviados');
		return true;
		}
}