function openmenu(nivel, id){
	if($('#nivelid'+id).css('display') == "none" )
		src = "images/icone_menu_nivel"+ nivel + "_aberto.gif";
	else
		src = "images/icone_menu_nivel"+ nivel + "_fechado.gif";
	$("#img_bullet_nivelid" + id).attr("src", src);
	$("#nivelid"+id).toggle();
}


function showMapaTitulo(titulo){
	//alert("ola"+vari);
	$('#mapa_info').html('Mundo&nbsp;|&nbsp;'+titulo);
}

function showUniversidades(continentORcountry, iso, pt){
	$.get("process_ajax_reqs.php",
			{switch_req: "universidades_rightList", continentORcountry: continentORcountry, iso: iso, pt: pt},
			function(data){
				$('#mapa_univs').html(data);
			});
//	$.ajax({
//		type: "GET",
//		url: "process_ajax_reqs.php",
//		data: {switch_req: "universidades_rightList", continentORcountry: continentORcountry, iso: iso, pt: pt},
//		success: function(data){
//			$('#mapa_univs').html(data);
//		}
//	});
}


/*
function showProgramsByTypeId(typeId, targetSelectId) {
	$.post("process_ajax_reqs.php",
		{switch_req: "programs", program_type_id: typeId},
		function(data){
			//alert("Data Loaded: " + data[0]);
			$("#"+targetSelectId).html("");

			if (data.length>0) {
				$.each(data, function() {
					$("#"+targetSelectId).append("<option value='"+this[0]+"'>"+this[1]+"</option>");
			    });
				$("#"+targetSelectId).show();
			} else {
				$("#"+targetSelectId).hide();
			}
		}, "json");
}*/