/* ##### chamada de ajax para o contedo da pgina ##### */

$(function(){ // abre jquery 

	$("div#conteudo").html('<p>Carregando...</p>'); // escreve carregando no div conteudo at o ajax ser carregado
	$.ajax({
		url: "home.php", // url de destino
		success: function(msg){ // o conteudo da url fica dentro da varivel msg
			$("div#conteudo").html(msg); // escreve a varivel msg dentro do div conteudo
		}
	});
	document.getElementById("home").style.fontWeight="bold";
	document.getElementById("menuinnova").style.fontWeight="normal";
	document.getElementById("menueinnova").style.fontWeight="normal";
	document.getElementById("parceiros").style.fontWeight="normal";
	document.getElementById("conselho").style.fontWeight="normal";
	document.getElementById("eventos").style.fontWeight="normal";
	document.getElementById("sites").style.fontWeight="normal";
	document.getElementById("empree").style.fontWeight="normal";
	document.getElementById("incubacao").style.fontWeight="normal";
	document.getElementById("editais").style.fontWeight="normal";
	document.getElementById("fale").style.fontWeight="normal";

}) // fecha abertura de jquery no obstrusivo, isto , contedo carregado sem ser chamado pelo html


/* ##### funes que o flash chama ##### */

function home(){
	$("div#conteudo").html('<p>Carregando...</p>');// escreve carregando no div conteudo at o ajax ser carregado
	$.ajax({
		url: "home.php", // url de destino
		success: function(msg){// o conteudo da url fica dentro da varivel msg
			$("div#conteudo").html(msg);// escreve a varivel msg dentro do div conteudo
		}
	});
	document.getElementById("home").style.fontWeight="bold";;
	document.getElementById("menuinnova").style.fontWeight="normal";
	document.getElementById("menueinnova").style.fontWeight="normal";
	document.getElementById("parceiros").style.fontWeight="normal";
	document.getElementById("conselho").style.fontWeight="normal";
	document.getElementById("eventos").style.fontWeight="normal";
	document.getElementById("sites").style.fontWeight="normal";
	document.getElementById("empree").style.fontWeight="normal";
	document.getElementById("incubacao").style.fontWeight="normal";
	document.getElementById("editais").style.fontWeight="normal";
	document.getElementById("fale").style.fontWeight="normal";
}
function innova(){
	$("div#conteudo").html('<p>Carregando...</p>');// escreve carregando no div conteudo at o ajax ser carregado
	$.ajax({
		url: "innova.php", // url de destino
		success: function(msg){// o conteudo da url fica dentro da varivel msg
			$("div#conteudo").html(msg);// escreve a varivel msg dentro do div conteudo
		}
	});
	document.getElementById("home").style.fontWeight="normal";
	document.getElementById("menuinnova").style.fontWeight="bold";;
	document.getElementById("menueinnova").style.fontWeight="normal";
	document.getElementById("parceiros").style.fontWeight="normal";
	document.getElementById("conselho").style.fontWeight="normal";
	document.getElementById("eventos").style.fontWeight="normal";
	document.getElementById("sites").style.fontWeight="normal";
	document.getElementById("empree").style.fontWeight="normal";
	document.getElementById("incubacao").style.fontWeight="normal";
	document.getElementById("editais").style.fontWeight="normal";
	document.getElementById("fale").style.fontWeight="normal";
}
function einnova(){
	$("div#conteudo").html('<p>Carregando...</p>');// escreve carregando no div conteudo at o ajax ser carregado
	$.ajax({
		url: "einnova.php", // url de destino
		success: function(msg){// o conteudo da url fica dentro da varivel msg
			$("div#conteudo").html(msg);// escreve a varivel msg dentro do div conteudo
		}
	});
    document.getElementById("home").style.fontWeight="normal";
	document.getElementById("menuinnova").style.fontWeight="normal";
	document.getElementById("menueinnova").style.fontWeight="bold";;
	document.getElementById("parceiros").style.fontWeight="normal";
	document.getElementById("conselho").style.fontWeight="normal";
	document.getElementById("eventos").style.fontWeight="normal";
	document.getElementById("sites").style.fontWeight="normal";
	document.getElementById("empree").style.fontWeight="normal";
	document.getElementById("incubacao").style.fontWeight="normal";
	document.getElementById("editais").style.fontWeight="normal";
	document.getElementById("fale").style.fontWeight="normal";
}
function parceiros(){
	$("div#conteudo").html('<p>Carregando...</p>');// escreve carregando no div conteudo at o ajax ser carregado
	$.ajax({
		url: "parceiros.php", // url de destino
		success: function(msg){// o conteudo da url fica dentro da varivel msg
			$("div#conteudo").html(msg);// escreve a varivel msg dentro do div conteudo
		}
	});
	document.getElementById("home").style.fontWeight="normal";
	document.getElementById("menuinnova").style.fontWeight="normal";
	document.getElementById("menueinnova").style.fontWeight="normal";
	document.getElementById("parceiros").style.fontWeight="bold";;
	document.getElementById("conselho").style.fontWeight="normal";
	document.getElementById("eventos").style.fontWeight="normal";
	document.getElementById("sites").style.fontWeight="normal";
	document.getElementById("empree").style.fontWeight="normal";;
	document.getElementById("incubacao").style.fontWeight="normal";
	document.getElementById("editais").style.fontWeight="normal";
	document.getElementById("fale").style.fontWeight="normal";
}
function conselho(){
	$("div#conteudo").html('<p>Carregando...</p>');// escreve carregando no div conteudo at o ajax ser carregado
	$.ajax({
		url: "conselho.php", // url de destino
		success: function(msg){// o conteudo da url fica dentro da varivel msg
			$("div#conteudo").html(msg);// escreve a varivel msg dentro do div conteudo
		}
	});
	document.getElementById("home").style.fontWeight="normal";
	document.getElementById("menuinnova").style.fontWeight="normal";
	document.getElementById("menueinnova").style.fontWeight="normal";
	document.getElementById("parceiros").style.fontWeight="normal";
	document.getElementById("conselho").style.fontWeight="bold";;
	document.getElementById("eventos").style.fontWeight="normal";
	document.getElementById("sites").style.fontWeight="normal";
	document.getElementById("empree").style.fontWeight="normal";
	document.getElementById("incubacao").style.fontWeight="normal";
	document.getElementById("editais").style.fontWeight="normal";
	document.getElementById("fale").style.fontWeight="normal";
}
function eventos(){
	$("div#conteudo").html('<p>Carregando...</p>');// escreve carregando no div conteudo at o ajax ser carregado
	$.ajax({
		url: "eventos.php", // url de destino
		success: function(msg){// o conteudo da url fica dentro da varivel msg
			$("div#conteudo").html(msg);// escreve a varivel msg dentro do div conteudo
		}
	});
	document.getElementById("home").style.fontWeight="normal";
	document.getElementById("menuinnova").style.fontWeight="normal";
	document.getElementById("menueinnova").style.fontWeight="normal";
	document.getElementById("parceiros").style.fontWeight="normal";
	document.getElementById("conselho").style.fontWeight="normal";
	document.getElementById("eventos").style.fontWeight="bold";;
	document.getElementById("sites").style.fontWeight="normal";
	document.getElementById("empree").style.fontWeight="normal";
	document.getElementById("incubacao").style.fontWeight="normal";
	document.getElementById("editais").style.fontWeight="normal";
	document.getElementById("fale").style.fontWeight="normal";
}
function sites(){
	$("div#conteudo").html('<p>Carregando...</p>');// escreve carregando no div conteudo at o ajax ser carregado
	$.ajax({
		url: "sites.php", // url de destino
		success: function(msg){// o conteudo da url fica dentro da varivel msg
			$("div#conteudo").html(msg);// escreve a varivel msg dentro do div conteudo
		}
	});
	document.getElementById("home").style.fontWeight="normal";
	document.getElementById("menuinnova").style.fontWeight="normal";
	document.getElementById("menueinnova").style.fontWeight="normal";
	document.getElementById("parceiros").style.fontWeight="normal";
	document.getElementById("conselho").style.fontWeight="normal";
	document.getElementById("eventos").style.fontWeight="normal";
	document.getElementById("sites").style.fontWeight="bold";;
	document.getElementById("empree").style.fontWeight="normal";
	document.getElementById("incubacao").style.fontWeight="normal";
	document.getElementById("editais").style.fontWeight="normal";
	document.getElementById("fale").style.fontWeight="normal";
}
function empree(){
	$("div#conteudo").html('<p>Carregando...</p>');// escreve carregando no div conteudo at o ajax ser carregado
	$.ajax({
		url: "empree.php", // url de destino
		success: function(msg){// o conteudo da url fica dentro da varivel msg
			$("div#conteudo").html(msg);// escreve a varivel msg dentro do div conteudo
		}
	});
	document.getElementById("home").style.fontWeight="normal";
	document.getElementById("menuinnova").style.fontWeight="normal";
	document.getElementById("menueinnova").style.fontWeight="normal";
	document.getElementById("parceiros").style.fontWeight="normal";
	document.getElementById("conselho").style.fontWeight="normal";
	document.getElementById("eventos").style.fontWeight="normal";
	document.getElementById("sites").style.fontWeight="normal";
	document.getElementById("empree").style.fontWeight="bold";;
	document.getElementById("incubacao").style.fontWeight="normal";
	document.getElementById("editais").style.fontWeight="normal";
	document.getElementById("fale").style.fontWeight="normal";
}
function incubacao(){
	$("div#conteudo").html('<p>Carregando...</p>');// escreve carregando no div conteudo at o ajax ser carregado
	$.ajax({
		url: "incubacao.php", // url de destino
		success: function(msg){// o conteudo da url fica dentro da varivel msg
			$("div#conteudo").html(msg);// escreve a varivel msg dentro do div conteudo
		}
	});
	document.getElementById("home").style.fontWeight="normal";
	document.getElementById("menuinnova").style.fontWeight="normal";
	document.getElementById("menueinnova").style.fontWeight="normal";
	document.getElementById("parceiros").style.fontWeight="normal";
	document.getElementById("conselho").style.fontWeight="normal";
	document.getElementById("eventos").style.fontWeight="normal";
	document.getElementById("sites").style.fontWeight="normal";
	document.getElementById("empree").style.fontWeight="normal";
	document.getElementById("incubacao").style.fontWeight="bold";;
	document.getElementById("editais").style.fontWeight="normal";
	document.getElementById("fale").style.fontWeight="normal";
}
function editais(){
	$("div#conteudo").html('<p>Carregando...</p>');// escreve carregando no div conteudo at o ajax ser carregado
	$.ajax({
		url: "editais.php", // url de destino
		success: function(msg){// o conteudo da url fica dentro da varivel msg
			$("div#conteudo").html(msg);// escreve a varivel msg dentro do div conteudo
		}
	});
	document.getElementById("home").style.fontWeight="normal";
	document.getElementById("menuinnova").style.fontWeight="normal";
	document.getElementById("menueinnova").style.fontWeight="normal";
	document.getElementById("parceiros").style.fontWeight="normal";
	document.getElementById("conselho").style.fontWeight="normal";
	document.getElementById("eventos").style.fontWeight="normal";
	document.getElementById("sites").style.fontWeight="normal";
	document.getElementById("empree").style.fontWeight="normal";
	document.getElementById("incubacao").style.fontWeight="normal";
	document.getElementById("editais").style.fontWeight="bold";;
	document.getElementById("fale").style.fontWeight="normal";
}

function fale(){
	$("div#conteudo").html('<p>Carregando...</p>');// escreve carregando no div conteudo at o ajax ser carregado
	$.ajax({
		url: "fale.php", // url de destino
		success: function(msg){// o conteudo da url fica dentro da varivel msg
			$("div#conteudo").html(msg);// escreve a varivel msg dentro do div conteudo
		}
	});
	document.getElementById("home").style.fontWeight="normal";
	document.getElementById("menuinnova").style.fontWeight="normal";
	document.getElementById("menueinnova").style.fontWeight="normal";
	document.getElementById("parceiros").style.fontWeight="normal";
	document.getElementById("conselho").style.fontWeight="normal";
	document.getElementById("eventos").style.fontWeight="normal";
	document.getElementById("sites").style.fontWeight="normal";
	document.getElementById("empree").style.fontWeight="normal";
	document.getElementById("incubacao").style.fontWeight="normal";
	document.getElementById("editais").style.fontWeight="normal";
	document.getElementById("fale").style.fontWeight="bold";;

}

function not01(){
	$("div#conteudo").html('<p>Carregando...</p>');// escreve carregando no div conteudo at o ajax ser carregado
	$.ajax({
		url: "not01.php", // url de destino
		success: function(msg){// o conteudo da url fica dentro da varivel msg
			$("div#conteudo").html(msg);// escreve a varivel msg dentro do div conteudo
		}
	});
	document.getElementById("home").style.fontWeight="normal";
	document.getElementById("menuinnova").style.fontWeight="normal";
	document.getElementById("menueinnova").style.fontWeight="normal";
	document.getElementById("parceiros").style.fontWeight="normal";
	document.getElementById("conselho").style.fontWeight="normal";
	document.getElementById("eventos").style.fontWeight="normal";
	document.getElementById("sites").style.fontWeight="normal";
	document.getElementById("empree").style.fontWeight="normal";
	document.getElementById("incubacao").style.fontWeight="normal";
	document.getElementById("editais").style.fontWeight="normal";
	document.getElementById("fale").style.fontWeight="normal";
}
function not02(){
	$("div#conteudo").html('<p>Carregando...</p>');// escreve carregando no div conteudo at o ajax ser carregado
	$.ajax({
		url: "not02.php", // url de destino
		success: function(msg){// o conteudo da url fica dentro da varivel msg
			$("div#conteudo").html(msg);// escreve a varivel msg dentro do div conteudo
		}
	});
	document.getElementById("home").style.fontWeight="normal";
	document.getElementById("menuinnova").style.fontWeight="normal";
	document.getElementById("menueinnova").style.fontWeight="normal";
	document.getElementById("parceiros").style.fontWeight="normal";
	document.getElementById("conselho").style.fontWeight="normal";
	document.getElementById("eventos").style.fontWeight="normal";
	document.getElementById("sites").style.fontWeight="normal";
	document.getElementById("empree").style.fontWeight="normal";
	document.getElementById("incubacao").style.fontWeight="normal";
	document.getElementById("editais").style.fontWeight="normal";
	document.getElementById("fale").style.fontWeight="normal";
}
function not03(){
	$("div#conteudo").html('<p>Carregando...</p>');// escreve carregando no div conteudo at o ajax ser carregado
	$.ajax({
		url: "not03.php", // url de destino
		success: function(msg){// o conteudo da url fica dentro da varivel msg
			$("div#conteudo").html(msg);// escreve a varivel msg dentro do div conteudo
		}
	});
	document.getElementById("home").style.fontWeight="normal";
	document.getElementById("menuinnova").style.fontWeight="normal";
	document.getElementById("menueinnova").style.fontWeight="normal";
	document.getElementById("parceiros").style.fontWeight="normal";
	document.getElementById("conselho").style.fontWeight="normal";
	document.getElementById("eventos").style.fontWeight="normal";
	document.getElementById("sites").style.fontWeight="normal";
	document.getElementById("empree").style.fontWeight="normal";
	document.getElementById("incubacao").style.fontWeight="normal";
	document.getElementById("editais").style.fontWeight="normal";
	document.getElementById("fale").style.fontWeight="normal";
}
function not04(){
	$("div#conteudo").html('<p>Carregando...</p>');// escreve carregando no div conteudo at o ajax ser carregado
	$.ajax({
		url: "not04.php", // url de destino
		success: function(msg){// o conteudo da url fica dentro da varivel msg
			$("div#conteudo").html(msg);// escreve a varivel msg dentro do div conteudo
		}
	});
	document.getElementById("home").style.fontWeight="normal";
	document.getElementById("menuinnova").style.fontWeight="normal";
	document.getElementById("menueinnova").style.fontWeight="normal";
	document.getElementById("parceiros").style.fontWeight="normal";
	document.getElementById("conselho").style.fontWeight="normal";
	document.getElementById("eventos").style.fontWeight="normal";
	document.getElementById("sites").style.fontWeight="normal";
	document.getElementById("empree").style.fontWeight="normal";
	document.getElementById("incubacao").style.fontWeight="normal";
	document.getElementById("editais").style.fontWeight="normal";
	document.getElementById("fale").style.fontWeight="normal";
}
function not05(){
	$("div#conteudo").html('<p>Carregando...</p>');// escreve carregando no div conteudo at o ajax ser carregado
	$.ajax({
		url: "not05.php", // url de destino
		success: function(msg){// o conteudo da url fica dentro da varivel msg
			$("div#conteudo").html(msg);// escreve a varivel msg dentro do div conteudo
		}
	});
	document.getElementById("home").style.fontWeight="normal";
	document.getElementById("menuinnova").style.fontWeight="normal";
	document.getElementById("menueinnova").style.fontWeight="normal";
	document.getElementById("parceiros").style.fontWeight="normal";
	document.getElementById("conselho").style.fontWeight="normal";
	document.getElementById("eventos").style.fontWeight="normal";
	document.getElementById("sites").style.fontWeight="normal";
	document.getElementById("empree").style.fontWeight="normal";
	document.getElementById("incubacao").style.fontWeight="normal";
	document.getElementById("editais").style.fontWeight="normal";
	document.getElementById("fale").style.fontWeight="normal";
}
function not06(){
	$("div#conteudo").html('<p>Carregando...</p>');// escreve carregando no div conteudo at o ajax ser carregado
	$.ajax({
		url: "not06.php", // url de destino
		success: function(msg){// o conteudo da url fica dentro da varivel msg
			$("div#conteudo").html(msg);// escreve a varivel msg dentro do div conteudo
		}
	});
	document.getElementById("home").style.fontWeight="normal";
	document.getElementById("menuinnova").style.fontWeight="normal";
	document.getElementById("menueinnova").style.fontWeight="normal";
	document.getElementById("parceiros").style.fontWeight="normal";
	document.getElementById("conselho").style.fontWeight="normal";
	document.getElementById("eventos").style.fontWeight="normal";
	document.getElementById("sites").style.fontWeight="normal";
	document.getElementById("empree").style.fontWeight="normal";
	document.getElementById("incubacao").style.fontWeight="normal";
	document.getElementById("editais").style.fontWeight="normal";
	document.getElementById("fale").style.fontWeight="normal";
}
function news01(){
	$("div#conteudo").html('<p>Carregando...</p>');// escreve carregando no div conteudo at o ajax ser carregado
	$.ajax({
		url: "news01.php", // url de destino
		success: function(msg){// o conteudo da url fica dentro da varivel msg
			$("div#conteudo").html(msg);// escreve a varivel msg dentro do div conteudo
		}
	});
	document.getElementById("home").style.fontWeight="normal";
	document.getElementById("menuinnova").style.fontWeight="normal";
	document.getElementById("menueinnova").style.fontWeight="normal";
	document.getElementById("parceiros").style.fontWeight="normal";
	document.getElementById("conselho").style.fontWeight="normal";
	document.getElementById("eventos").style.fontWeight="normal";
	document.getElementById("sites").style.fontWeight="normal";
	document.getElementById("empree").style.fontWeight="normal";
	document.getElementById("incubacao").style.fontWeight="normal";
	document.getElementById("editais").style.fontWeight="normal";
	document.getElementById("fale").style.fontWeight="normal";
}
function news02(){
	$("div#conteudo").html('<p>Carregando...</p>');// escreve carregando no div conteudo at o ajax ser carregado
	$.ajax({
		url: "news02.php", // url de destino
		success: function(msg){// o conteudo da url fica dentro da varivel msg
			$("div#conteudo").html(msg);// escreve a varivel msg dentro do div conteudo
		}
	});
	document.getElementById("home").style.fontWeight="normal";
	document.getElementById("menuinnova").style.fontWeight="normal";
	document.getElementById("menueinnova").style.fontWeight="normal";
	document.getElementById("parceiros").style.fontWeight="normal";
	document.getElementById("conselho").style.fontWeight="normal";
	document.getElementById("eventos").style.fontWeight="normal";
	document.getElementById("sites").style.fontWeight="normal";
	document.getElementById("empree").style.fontWeight="normal";
	document.getElementById("incubacao").style.fontWeight="normal";
	document.getElementById("editais").style.fontWeight="normal";
	document.getElementById("fale").style.fontWeight="normal";
}
function news03(){
	$("div#conteudo").html('<p>Carregando...</p>');// escreve carregando no div conteudo at o ajax ser carregado
	$.ajax({
		url: "news03.php", // url de destino
		success: function(msg){// o conteudo da url fica dentro da varivel msg
			$("div#conteudo").html(msg);// escreve a varivel msg dentro do div conteudo
		}
	});
	document.getElementById("home").style.fontWeight="normal";
	document.getElementById("menuinnova").style.fontWeight="normal";
	document.getElementById("menueinnova").style.fontWeight="normal";
	document.getElementById("parceiros").style.fontWeight="normal";
	document.getElementById("conselho").style.fontWeight="normal";
	document.getElementById("eventos").style.fontWeight="normal";
	document.getElementById("sites").style.fontWeight="normal";
	document.getElementById("empree").style.fontWeight="normal";
	document.getElementById("incubacao").style.fontWeight="normal";
	document.getElementById("editais").style.fontWeight="normal";
	document.getElementById("fale").style.fontWeight="normal";
}
function ok(){
	$("div#conteudo").html('<p>Carregando...</p>');// escreve carregando no div conteudo at o ajax ser carregado
	$.ajax({
		url: "ok.php", // url de destino
		success: function(msg){// o conteudo da url fica dentro da varivel msg
			$("div#conteudo").html(msg);// escreve a varivel msg dentro do div conteudo
		}
	});
}