function muda(a) {
	
	document.getElementById("institucionalbloco1").style.display="none";
	document.getElementById("institucionalbloco2").style.display="none";
	document.getElementById("institucionalbloco3").style.display="none";
	
	document.getElementById("institucionalbloco3A").style.display="block";
	document.getElementById("institucionalbloco3B").style.display="block";
	document.getElementById("institucionalbloco3A2").style.display="none";
	document.getElementById("institucionalbloco3B2").style.display="none";
	
	document.getElementById(a).style.display="block";
	
}


function muda2(a) {
	
	document.getElementById("institucionalbloco3A").style.display="none";
	document.getElementById("institucionalbloco3B").style.display="none";
	document.getElementById("institucionalbloco3A2").style.display="none";
	document.getElementById("institucionalbloco3B2").style.display="none";
	
	document.getElementById(a).style.display="block";
	
}








//start randomize bg
if (1==2) {
	var intervalo = window.setInterval(function() {										
	<!--
		var myimages=new Array()
		//specify random images below. You can have as many as you wish
		myimages[1]="url('bg01.jpg')";
		myimages[2]="url('bg02.jpg')";
		myimages[3]="url('bg03.jpg')";
		myimages[4]="url('bg04.jpg')";
		var ry=Math.floor(Math.random()*myimages.length);
			if (ry==0) ry=1;
		ima = myimages[ry].replace("url('","");
		ima = ima.replace("')","");
		//$("#fundobg").fadeOut("normal");
		//alert(".");
		document.getElementById("fundobg").style.backgroundImage = myimages[ry];
		//timer=setTimeout('doAction()',1000);
		//$("#fundobg").fadeIn("normal");
	//-->
	}, 10000);
}
// end randmize


		
		
		
		
		
		
		