function RedimensionaMenu()
{
	var objDivMiolo = document.getElementById('divArtigoPrincipal');
	var objDivMenu = document.getElementById('divMenuLatPrincipal');
	if (objDivMiolo != null)
	{
		/*alert(objDivMiolo.style.height);
		alert(objDivMenu.style.height);		*/
	}
}

function VerificarResolucao()
{
	var largura = screen.width;
	var altura = screen.height;	
	
	var objDiv = document.getElementById('divBannerSeguranca');
	if (objDiv != null)
	{
		if (largura > 800 && altura > 600)
		{
			objDiv.style.display = 'inline';
		}
		else
		{
			objDiv.style.display = 'none';
		}
	}
	
}


window.onload = function() { 
	var browser = navigator.appName;
	ver = navigator.appVersion;
	thestart = parseFloat(ver.indexOf("MSIE"))+1;
	brow_ver = parseFloat(ver.substring(thestart+4,thestart+7));

	if (browser=="Microsoft Internet Explorer")
	{
		if (brow_ver < 7)
		{
			document.getElementById('iframebkl').style.marginLeft='139px';
		}		
		
		if(window.location.href.indexOf('/ncl/Index.htm')>0){
			document.getElementById('divLinkM').style.marginLeft='60px';
			document.getElementById('divCont').style.marginTop='0px';
			document.getElementById('divBullet').style.marginTop='0px';
			
	
			document.getElementById('divMegaHomeInfDir').width='325px';
			document.getElementById('divArtPrin').style.marginRight='0px';
			document.getElementById('divCont').style.marginLeft='0px';

		}		
	
	}
}
