// Efecto Transición
document.write("<META http-equiv=Page-Enter content=blendTrans(Duration=0.485,Transition=5)>\n");
document.write("<META http-equiv=Page-Exit content=blendTrans(Duration=0.485,Transition=5)>\n");

window.onload = function() {
	//alert("Si funciona");
    window.parent.document.getElementById("cuerpoframe").height = document.getElementById("frame_contenido").offsetHeight;
	reSize();
    }	
	
	function reSize()
{
	try{	
	var oBody	=	cuerpoframe.document.body;
	var oFrame	=	document.all("cuerpoframe");
		
	oFrame.style.height = oBody.scrollHeight + (oBody.offsetHeight - oBody.clientHeight);
	oFrame.style.width = oBody.scrollWidth + (oBody.offsetWidth - oBody.clientWidth);
	}
	//An error is raised if the IFrame domain != its container's domain
	catch(e)
	{
	window.status =	'Error: ' + e.number + '; ' + e.description;
	}
}

