<!--
//url: url welke in de window dient te openen (tss '')
//namewindow: naam van de nieuwe window (geen blanco's, tss '')
//toolbar: 'yes' or 'no' (wel of niet toolbar tonen)
//location: 'yes' or 'no' (wel of niet locationbar tonen)
//directories: 'yes' or 'no' (wel of niet directorybar (links, best of the web...) tonen)
//status: 'yes' or 'no' (wel of niet statusbar tonen)
//menubar: 'yes' or 'no' (wel of niet menubar tonen)
//scrollbars: 'yes' or 'no' (wel of niet scrollbars tonen)
//resizable: 'yes' or 'no' (wel of niet toelaten als je window resizable mag zijn door de user)
//width: width van de window in pixels, bv '640'
//height: heigth van de window in pixels, bv '480'
//pX: punt op X-as waar venster dient te openen
//pY: punt op Y-as waar venster dient te openen
//
//Vb van een oproep:
//
//<a href="javascript:opennewwindow('http://www.mijnurl.com', 'mijnnaamwindow', 'no', 'no', 'no', 'no', 'no', 'no','no', '640', '480', '0', '0');">Open new window</a>
//

function opennewwindow(purl, pnamewindow, ptoolbar, plocation, pdirectories, pstatus, pmenubar, pscrollbars, presizable, pwidth, pheight, pX, pY) {
	var options = "toolbar="+ ptoolbar
+",location="+ plocation 
+",directories=" + pdirectories
+",status="+ pstatus
+",menubar="+ pmenubar
+",scrollbars="+ pscrollbars
+",resizable=" + presizable
+",width=" + pwidth
+",height="+ pheight
+",screenX="+ pX
+",screenY="+ pY
+",left="+ pX
+",top="+pY;

	newWindow = window.open(purl,pnamewindow,options);
	newWindow.focus();
}
//-->

