
//Redimencionamento de Frame
function ver(url){
	document.getElementById('conteudo').location = 'sit_links.php'; 
}
// No JavaScript da Página Linkada por outro IFrame  RedimensionaIframeInterno();
function RedimensionaIframeInterno() {
	var IFR;	
	//Se existir algum erro nas instruções do try, as mesmas não serão exevutadas.
	try{
		IFR = parent.document.getElementById('conteudo');	
		IFR.style.height = (IFR.contentWindow)?IFR.contentWindow.parent.document.body.scrollHeight:document.parent.frames['conteudo'].parent.document.body.scrollHeight;		
	}
	catch(error){ 
		//alert("teste");
	}
}

function RedimensionaIframeNot(altura) {
	var IFR,teste;	
	IFR = parent.document.getElementById('conteudo');	
	IFR.style.height = altura;
}


// NO Java Script da Página que Chama o Iframe
function RedimensionaIframe() {
	 var IFR = document.getElementById('conteudo');	
	IFR.style.height = (IFR.contentWindow)?IFR.contentWindow.document.body.scrollHeight:document.frames['conteudo'].document.body.scrollHeight;		
}

function atualizaIframe(){
	parent.document.getElementById("conteudo").height=document.getElementById("cont").scrollHeight+0;
	/*
	var tamanho = document.getElementById("cont").offsetHeight;
	alert(tamanho);
	parent.document.getElementById("conteudo").style.height = tamanho;
	*/
}