function getElementHeight( el ) {
	if ( document.all ) {
		return parseInt( el.currentStyle.height );
	} else {
		return parseInt( document.defaultView.getComputedStyle( el, "" ).getPropertyValue( "height" ) );
	}
}

function getElementWidth( el ) {
	if ( document.all ) {
		return parseInt( el.currentStyle.width );
	} else {
		return parseInt( document.defaultView.getComputedStyle( el, "" ).getPropertyValue( "width" ) );
	}
}


function resizeHeight() {
	// Bepaal de hoogte van het scherm
	if ( window.innerWidth ) {
		hoogte = window.innerHeight;
		breedte = window.innerWidth;
	} else if (document.all) {
		breedte = document.body.clientWidth;
		hoogte = document.body.clientHeight;
	}


	if ( el = document.getElementById( 'submenu' ) ) {
			bovenkant = 177;
			el.style.height = ( hoogte - bovenkant ) + "px";
	}
	
	if ( el = document.getElementById( 'tekst' ) ) {
			bovenkant = 177;
			el.style.height = ( hoogte - bovenkant ) + "px";
	}
	
	if ( el = document.getElementById( 'tekst_transportplanner' ) ) {
			bovenkant = 177;
			el.style.height = ( hoogte - bovenkant ) + "px";
	}

	
	if ( el = document.getElementById( 'gebruiktetrucks' ) ) {
			bovenkant = 177;
			el.style.height = ( hoogte - bovenkant ) + "px";
	}

	if ( el = document.getElementById( 'rechtervlak' ) ) {
			bovenkant = 120;
			el.style.height = ( hoogte - bovenkant ) + "px";
	}


		
}
