function AutoResizeIFrm(nombreIframe)
{
	if(document.getElementById)
	{
		var oFrame=document.getElementById(nombreIframe);

		if(oFrame.contentDocument)
		{ // Mozilla
			var height=oFrame.contentDocument.height;
			if(height>150)
				oFrame.height=height+45;
		}

		if(eval("navigator&&navigator.userAgent&&navigator.userAgent.indexOf(\"MSIE\")!=-1&&"+nombreIframe))
		{ // IE
			var oBody=eval(nombreIframe+".document.body");
			var height=oBody.scrollHeight+(oBody.offsetHeight-oBody.clientHeight);
			if(height>0)
				oFrame.style.height=height+0;
		}
	}
}