function resizeIframe() {
	try{	
	var oBody	=	this.document.body;
	var oFrame	=	parent.document.all(window.name);
		
	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)
	{
	alert('Error: ' + e.number + '; ' + e.description);
	}

    }
 
