<!--
//====================== Paginagrootte aangepast aan schermgrootte
function MinimumSize() {
	/*var fSize = parseInt(document.body.currentStyle.fontSize.substr(0,2));
	fSize = fSize*(16/12);*/
	var minSize = 760;
	//minSize = minSize<760?760:minSize;
	var maxSize = 960;
	//maxSize = maxSize<960?960:maxSize;
	var margins = 0;
	var w = document.body.offsetWidth;
	if (w < minSize + margins) {
		document.getElementById('kop-zone').style.width = minSize + "px";
		document.getElementById('navigatie-zone').style.width = minSize + "px";
		document.getElementById('inhoud-zone').style.width = minSize + "px";
		document.getElementById('voet-zone').style.width = minSize + "px";
	} else if (w > maxSize + margins) {
		document.getElementById('kop-zone').style.width = maxSize + "px";
		document.getElementById('navigatie-zone').style.width = maxSize + "px";
		document.getElementById('inhoud-zone').style.width = maxSize + "px";
		document.getElementById('voet-zone').style.width = maxSize + "px";
	} else if ((w > minSize + margins) && (w <= maxSize + margins)) {
		document.getElementById('kop-zone').style.width = "99%";
		document.getElementById('navigatie-zone').style.width = "99%";
		document.getElementById('inhoud-zone').style.width = "99%";
		document.getElementById('voet-zone').style.width = "99%";
	}
}
//====================== 
//====================== Bereken schermgrootte
function winWidth() {
	var myWidth = 0;
	if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth = window.innerWidth;
	} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth = document.documentElement.clientWidth;
	} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth = document.body.clientWidth;
	}
	return myWidth;
}
//====================== 
//======================
/*checkSize = function(n){
	var fSize = parseInt(document.body.currentStyle.fontSize.substr(0,2));	
	if(!(fSize == n)){
		alert(fSize);
		MinimumSize();
	}
	setTimeout("checkSize("+fSize+")",10);
}*/
//======================
//====================== Stylesheet wordt geschreven als javascript aan staat:
// Bemating van pagina wordt aangepast zodat verspringing alleen optreed bij kleine vensters;
document.write('<style type="text/css" media="screen">\n');
if(IE){ 
	//var fSize = 16;
	var minSize = 760;
	var maxSize = 960;
	var margins = 0;
	var w = winWidth();
	var nSize = 960;	
	if (w < minSize + margins) {
		nSize = minSize + "px";
	} else if (w > maxSize + margins) {
		nSize = maxSize + "px";
	} else if ((w > minSize + margins) && (w <= maxSize + margins)) {
		nSize = "100%";
	}
	document.write('#kop-zone { width:' + nSize + '; }\n');
	document.write('#navigatie-zone { width:' + nSize + '; }\n');
	document.write('#inhoud-zone { width:' + nSize + '; }');
	document.write('#voet-zone { width:' + nSize + '; }');
}
document.write('</style>');
//====================== 

//-->