function reSize(ifrm) 
{
	try{ 
		var oDoc = ifrm.contentWindow.document;
		var oBody = ifrm.contentWindow.document.body;
		var oFrame = ifrm;

		
		
			//old code
		//oFrame.style.height = (oBody.scrollHeight + (oBody.offsetHeight - oBody.clientHeight)) + "px";
	
			//new code
		var height = Math.max(Math.max(oDoc.body.scrollHeight, oDoc.documentElement.scrollHeight),
				Math.max(oDoc.body.offsetHeight, oDoc.documentElement.offsetHeight),
				Math.max(oDoc.body.clientHeight, oDoc.documentElement.clientHeight));
			
		oFrame.style.height = height + "px";
	}
	catch(e) 
	{ 
		//An error is raised if the IFrame domain != its container's domain 
		window.status = 'Error: ' + e.number + '; ' + e.description; 
	}
 } 
 
function reSizeLISA(ifrm) 
{
	try{ 
		var oDoc = ifrm.contentWindow.document;
		var oBody = ifrm.contentWindow.document.body;
		var oFrame = ifrm;

		
		
			//old code
		//oFrame.style.height = (oBody.scrollHeight + (oBody.offsetHeight - oBody.clientHeight)) + "px";
	
			//new code
		var height = Math.max(oDoc.body.scrollHeight, oDoc.body.offsetHeight, oDoc.body.clientHeight);
			
		oFrame.style.height = height + "px";
		
		var height = Math.max(Math.max(oDoc.body.scrollHeight, oDoc.documentElement.scrollHeight),
				Math.max(oDoc.body.offsetHeight, oDoc.documentElement.offsetHeight),
				Math.max(oDoc.body.clientHeight, oDoc.documentElement.clientHeight));
			
		oFrame.style.height = height + "px";
	}
	catch(e) 
	{ 
		//An error is raised if the IFrame domain != its container's domain 
		window.status = 'Error: ' + e.number + '; ' + e.description; 
	}
 } 