function adjustMenuX() {
	x = ((document.body.clientWidth - document.getElementById('header').clientWidth ) / 2) + 450;
	for (i in GLV_menuXY) {
		for (j in GLV_menuXY[i]) {
			if (j != 'Menu'+i) {
				GLV_menuXY[i][j][0] = x;
			}
		}
	}
}
function adjustContentHeight() {
	b=document.body.offsetHeight;
	c=document.getElementById('content');
	m=document.getElementById('menu');
	ch=b-228-28;
	mh=b-228-18;
	c.style.height=(ch)+'px';
	m.style.height=(mh)+'px';
}

function lageResolutie() {
	t=document.getElementById('toplevelcontainer');
	t.style.height=(600)+'px';
	c=document.getElementById('content');
	m=document.getElementById('menu');
	ch=600-228-28;
	mh=600-228-28;
	c.style.height=(ch)+'px';
	m.style.height=(mh)+'px';
}

if (window.screen.height >= 768) {
	window.onload=adjustContentHeight;
	window.onresize=adjustContentHeight;
} else {
	window.onload=lageResolutie;
	window.onresize=lageResolutie;
}