/*** 
open een nieuw venster
**/


//code
function createWindow(cUrl,cName,cFeatures) {
var xWin = window.open(cUrl,cName,cFeatures);
xWin.focus();
}

//gebruik bij aanroep
//<A href="javascript:createWindow('url','name','features')">new window</A>  

//voorbeeld
//<A href="javascript:createWindow('faq13demo.html','window2','width=400,height=200,status,location')">new window</A> 

/* features
You can control the look and size of the new window with a set of window features. These features must be supplied as a single string, with the features separated by commas. 
This parameter is optional. If you do not supply it, the default features will be available in the new window.
Otherwise, if you do supply a value, then only the features you supply will be available in the new window. 

Possible features for a new window Feature string Description 
copyhistory The history of visited pages available in the "Go" menu.  
directories The row with buttons that link to predefined addresses.  
height=x The height of the new window in pixels. Replace x with the value you want to use.  
location The field where the user can enter an URL.  
menubar The menubar of the browser.  
resizable The possibility for the user to resize the window.  
scrollbars Display scrollbars if the page contents do not fit in the window.  
status The statusbar of the window.  
toolbar The bar with buttons to navigate, like "Back" and "Forward".  
width=x The width of the new window in pixels. Replace x with the value you want to use.  
 */




