function fotopop(foto, alttekst, breed, hoog) {
  venster=window.open
  ('','','width='+breed+',height='+hoog+',left=10,top=10,screenY=10,screenX=10');
    with(venster.document) {
	  open();
	  write('<head><title>'+alttekst+'<\/title><\/head>\n');
	  write('<body marginwidth=0 marginheight=0 style="margin:0;" onBlur="window.close()" onClick="window.close()">\n');
	  write('<a href="#" style="cursor:hand;"><img src=".\/abc\/data\/'+foto+'" width='+breed+' height='+hoog+' border="0"></a>\n');
	  write('<\/body><\/html>');
	  close();
  }
}

function clearIt( box ) {
  if(box.value==box.defaultValue) {
	  box.value = "";
	}
}

function equalize() {
  var columns = new Array ('left','mid', 'right');
	var maxHeight =	0;
	for (var i = 0;i< columns.length;i++) {
		if ( document.getElementById( columns[i] ).offsetHeight > maxHeight ) {
			maxHeight = document.getElementById( columns[i] ).offsetHeight;
		}
	}
	if ( maxHeight < 440 ) {
	  maxHeight = 440;
	}
	for (var i=0;i<columns.length;i++) {
		column = document.getElementById( columns[i] );
		grow   = maxHeight - column.offsetHeight;
		column.innerHTML += '<div style="height:'+ grow +'px; overflow: hidden;"></div>';
	}
}