// Nieuw window openen
function NewWindow(mypage, myname, w, h, scroll) 
{
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+', top='+wint+',left='+winl+',scrollbars='+scroll+',resizable="no",status=0';0
	win = window.open(mypage, myname, winprops);
	if 
	(
		parseInt(navigator.appVersion) >= 4) { win.window.focus(); 
	}
}

// Nieuw resizablewindow openen
function NewResizableWindow(mypage, myname, scroll) 
{
	winprops = 'scrollbars='+scroll+',resizable="yes",status=0';0
	win = window.open(mypage, myname, winprops);
	if 
	(
		parseInt(navigator.appVersion) >= 4) { win.window.focus(); 
	}
}

function NewBrowserWindow(mypage, myname, w, h) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,copyhistory=yes,resizable=yes';
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}




