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 posiciona () {
	MoveToAbsPos('imgRefMenu','menu',0,-172);
	MoveToAbsPos('imgRefLogo','Logo',-80,-30);
	MoveToAbsPos('imgRefMenu','conteudo',0,21);
}

function dimensiona () {
	
	available_width=document.body.clientWidth;
	available_height=document.body.clientHeight;

	var altura;
	
	altura =  parseInt ( available_height );
			

	this.obj = document.getElementById('corpo').style;
    this.obj.height = parseInt (available_width) * 0.5 - 190;

	this.obj = document.getElementById('conteudo').style;
	this.obj.height = parseInt (available_width) * 0.5 - 225;

	//altura = 500;
	//this.obj = document.getElementById('corpo').style;
	//this.obj.height = altura ;
	//this.obj = document.getElementById('conteudo').style;
	//this.obj.height = altura - 35;
	//this.obj = document.getElementById('conteudo').style;
	//this.obj.width = 749;

}

function Carrega (){
	dimensiona ();
	//posiciona ();

}
function Redimensiona() {
	posiciona ();	
}