


$(document).ready(function() {
	
	var asistencia = function(){
		
		nombre=$('#nombre').val();
		if((/^[A-Za-z][A-Za-z0-9_]/.test(nombre))){
				html=$('#user').html();
				$('#html_facebook').val(html);
				$('#asistencia_form').submit();
		}
		else{
			alert("Porfavor ingresa tu nombre");
		}
		/*
	
		*/
		//alert(campo_facebook);
		
	};



$('#asistencia_click').click(asistencia);

	
});