/**
 *	display.js
 *
 *	holds functions pertaining to the manipulation of page layout, but has nothing 
 *	to do, directly, with nevigation.
 *
 */

function resizeContent()
{
	var main_content = document.getElementById("interior-intro");
	if(main_content != null)
	{
		if(main_content.offsetHeight < 500) {
			main_content.style.height = 500+"px";
		} /*else {
			main_content.style.height = main_content.offsetHeight + "px";
		}*/
	}
	
	var ifrm = document.getElementById('careerportal');
	if(ifrm != null)
	{
		oDoc = new Object();
		if(typeof ifrm.contentWindow != 'undefined')
			oDoc = ifrm.contentWindow;
		else if(typeof ifrm.document != 'undefined')
			oDoc = ifrm.document;
		else
			oDoc = ifrm.contentDocument;
	
		if (typeof oDoc.document != 'undefined') {
			oDoc = oDoc.document;
		}
		
		if (document.frames) 
			ifrm.style.height =  document.frames['careerportal'].document.getElementById('345rwret435').offsetHeight+"px";
	    else
			ifrm.style.height = oDoc.getElementById('345rwret435').offsetHeight+"px";
	}
}
