/* 
to be included in iframe pages of mini-applications.  This function should be set as the onload
function to be called upon loading the iframe content.  It will dynamically resize the window and reset the 
browser's scroll back to the top of the page.
*/
function handleLoadedIFrame(iframe) {
	// set the browser back to the top
	window.scrollTo(0,0);
	// resize the iframe to fit it's contents
    iframe.height = window.frames[iframe.id].document.body.scrollHeight + 50;
}