// JavaScript Document
//
function iFrameHeight(iframeName) {
/*
	Dynamically Resize iFrame height by iframe id
	-----------------------------------------------------
	Dynamic Resizable iFrame Solution Release Candidate 1
	Thursday, February 13 2003 @ 11:03 AM EST
	Contributed by: vbgunz
	Source: http://www.geeklog.net/article.php/20030213110315177
*/
    if(document.getElementById && !(document.all))
    {
        h = document.getElementById(iframeName).contentDocument.body.scrollHeight;
        document.getElementById(iframeName).height = h;
    }
    else if(document.all)
    {
        h = document.frames(iframeName).document.body.scrollHeight;
        document.all[iframeName].height = h;
    }
}
