function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function popup(){
	window.open("http://www.inesul.edu.br/hotsites/vestibular2006Etapa2/", '', "width=600, height=315, scrollbars=no, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=no, fullscreen=no");
}

function popup2(cod){
	window.open("http://www.inesul.edu.br/jogos/admJogos/indexResumoJogo.php?codJogo="+cod, '', "width=760, height=490, scrollbars=no, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=no, fullscreen=no");
}
function popup(Arquivo,H,W){
	window.open(Arquivo,"new_window","height="+H+",Width="+W+",scrollbars=yes,top=0,left=0,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no");
	window.open(Arquivo,"new_window","fullscreen,scrollbars=no");
}
function openWin(theURL,winName,features) {
	window.open(theURL,winName,features);
}
function listaemail(){
	window.open("http://www.cintegrado.com.br/lista-email.php", 'lista', "width=600, height=490, scrollbars=yes, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=no, fullscreen=no");
}
	
/*function show2(object) {
	if (document.layers && document.layers[object])
		document.layers[object].visibility = 'visible';
	else if (document.all)
		document.all[object].style.visibility = 'visible';
}*/
function hide(object) {
	var alvo = document.getElementById(object);
	alvo.style.visibility = 'hidden';
}
function show(object) {
	var alvo = document.getElementById(object);
	alvo.style.visibility = 'visible';
}
/*function hide2(object) {
	if (document.layers && document.layers[object])
		document.layers[object].visibility = 'hidden';
	else if (document.all)
		document.all[object].style.visibility = 'hidden';
}*/

