/**
 * This script contains the function to resize the green background of the intro to the correct height
 */


// Returns the height of the intro
function getHeight() {
	var el = getElementsByClass( 'intro' , document.getElementById('contentCenter') , 'div' );
	if ( el[0] ) return el[0].offsetHeight + 'px';
	return '0px';
}

// Sets the height of the green background field
function setHeight() {
	document.getElementById('contentCenterIntroBg').style.height = getHeight();
}
