//---- Rotinas que ajusta o tamanho do iframe ---------------------------

try
{
  document.domain = "camara.gov.br";
}
catch(errMsg)
{ 
};

function reDimensionaOld(iframeF) 
{
  var ns = (navigator.appName.indexOf("Netscape") != -1);
  try
  {
     iframeF.scrolling = "yes";
     // iframeF.contentWindow.document.body.style.width = iframeF.contentWindow.document.body.scrollWidth;
     // iframeF.style.width = iframeF.contentWindow.document.body.scrollWidth;
     iframeF.contentWindow.document.body.style.height = iframeF.contentWindow.document.body.scrollHeight;
     iframeF.style.height = iframeF.contentWindow.document.body.scrollHeight + 20;
     iframeF.scrolling = "no";
  }
  catch(errMsg)
  { 
    //top.status = "Erro no redimensionamento do iframe"+errMsg.message;
  };

} 

function reDimensiona(iframeF) {
  var ns = (navigator.appName.indexOf("Netscape") != -1);
  try
  {
	var ifr = iframeF.contentWindow;
	if (ns) iframeF.style.height = "0px";
	var tam = ns ? ifr.document.documentElement.scrollHeight + 25 : 
			  ifr.document.body.scrollHeight; 
        iframeF.style.height = tam + "px";
  }
  catch(errMsg)
  { 
    try { iframeF.style.height = "3000px";}
         catch(errMsg2) {};
 //   top.status = "Erro no redimensionamento do iframe:"+errMsg.message;
  };
} 


function recado(msg) 
{
    top.status = msg;
} 
