function MostrarStaffEnLinea(){

	$.ajax({
		type:		"GET",
		cache:		false,
		async:		false,
		url:		"/servicios_n/staff/staff.asp",
		beforeSend:	function(){
			$("#contenido_inicio").html("<img src='/comunes/imagenes/spinner.gif' alt='' />");
		},
		success:	function(html){
			$("#contenido_inicio").html('<h2 style="margin-top:20px; margin-left: 115px;">Consejo Editorial</h2>');
			$("#contenido_inicio").append(html);
			$("#contenedor_staff").css({
				marginTop:	"20px",
				marginLeft:	"105px"
			}); 
			$(".staff_cont_titulo_materia").click(function(){
				$(this).nextAll(".staff_cargos_sp").toggle();
			});
		},
		error:		function(){
			alert("Error cargando los datos del Consejo Editorial.");
			location.href = '/';
		}
	});

}

function MostrarStaffPopUp(){
	VentanaModalAjax("vStaff", "/servicios_n/staff/staff.asp", "Consejo Editorial");
	$(".staff_cont_titulo_materia").click(function(){
		$(this).nextAll(".staff_cargos_sp").toggle();
	});
}
