/*
 * source = adjustiframe.js
 * inputs:  new height of the iFrame that the HTML will be written to
 *		new height of a div box
 *
 * This javascript is called by each HTM file to adjust the iframe
 * height so that the iframe can hold all of the contents of the HTM.
 * It also adjusts the height of the div box that the HTML writes in.
 */
function x_adjustiframe( frameheight, divheight )
{
   parent.document.getElementById( "iframewindow" ).style.height = 
	frameheight + 'px';

   if ( divheight != '' )
   {
      document.getElementById( "para2" ).style.height = divheight + 'px';
   }

   return true;
}
/*
 * January 2007
 * The navigation buttons are scrolling with the I-frame.  To prevent this,
 * convert the web site to frames.  I still want to adjust the height of the
 * 'para2' box but I do not need an 'iFrameHeight'.  So, to minimize changes
 * in the HTM files, just change the javascript code.
 * The original function above was renamed; the new function is below.
 */
function adjustiframe(frameheight, newheight )
{
   if ( newheight == '' )
	return true;

var para2 = document.getElementById( 'para2' ).style;
    para2.height = newheight + 'px';

   return true;
}

