// -------------------------------------------------------------------------
function maximizeWindow(firstTime)	// deze mag niet voor BODY geinclude worden
{	
	if (firstTime) {
		if (window.screen) {
				parent.window.moveTo(0,0);
				parent.window.resizeTo(window.screen.availWidth, window.screen.availHeight);
		}
	}
}

function controlResize(getVal){
	createCookie('controlResize',getVal,1);		//only bother firstimers with resizing (for 0.2 days)
}

function resizeWindowOnload(){
	controlResizeSet = readCookie('controlResize');
	if(controlResizeSet!="false")window.history.go(0);
}

function openCountry( lform ) {
	var newIndex = lform.langBox.selectedIndex; 
	if ( newIndex != 0 ) { 
		cururl = lform.langBox.options[ newIndex ].value; 
		window.location.assign( cururl ); 
	} 
} 

	//if (document.body.offsetHeight <= 590 || document.body.offsetWidth <= 990 )
	//{

	//bName = navigator.appName;
	//bVer = navigator.userAgent;
	
	//if (bVer.indexOf("MSIE")!=-1&&bVer.indexOf("7")!=-1){
		//alert("f");
	//	window.location.reload(true);
	//}else{window.history.go(0);
	//}
	//alert(controlResizeSet);
	//controlResize();
	//alert("readCookie: "+readCookie('controlResize'));
	//alert("Waarde cookie is: "+controlResizeSet);