// Opens a browser window
function openWindow(url, windowName, width, height, resizable, scrollbars, toolbar) {
	var features;
	
	features = "width=" + width + ",";
	features += "height=" + height + ",";
	features += "resizable=" + resizable + ",";
	features += "scrollbars=" + scrollbars + ",";
	features += "status=1,";
	features += "toolbar=" + toolbar;
	
	window.open(url, windowName, features);
}