function fixNav() {		
	// fix the column heights
	var l_col = document.getElementById('main_article').offsetHeight;
	var r_col = document.getElementById('main_sidebar').offsetHeight;
	if ( l_col > r_col ) {
		document.getElementById('main_sidebar').style.height = l_col + 'px';
	}
	if ( r_col > l_col ) {
		var height = r_col - document.getElementById('article_bottom').offsetHeight - 23;
		if (window.XMLHttpRequest) {
			height = height - 30;
		}
		document.getElementById('article').style.height = height + 'px';
	}
}

function displayImage ( p_image ) {
    URL = "displayimage.php?img=" + p_image;
    window.open (URL,"Afbeelding","width=200,height=200,resizable=yes,scrollbars=auto,toolbar=no,location=no,directories=no,status=no,menubar=no,copyhistory=no");
}
