function popupFullWindow(url, w, h, resizable, scrollBars) {
	var wid = 600;
	var hi = 476;
	
	if (w != null) wid = w; 
	if (h != null) hi  = h;
	
	var scroll = scrollBars;
	
	var winl = (screen.width-w)/2;
	var wint = (screen.height-h)/2;

	new_spec = wid + "_" + hi + scroll;
	scrolling = scroll? "yes": "no";
	if (scroll && document.all && (navigator.userAgent.indexOf("Mac") > -1)) wid = wid+17;
	newwin=window.open(url,new_spec,"WIDTH=" + wid + ",HEIGHT=" + hi + ",scrollBars=" + scrolling + ",menubar=yes,toolbar=yes,location=yes,resizable="+(resizable ? "yes" : "no")+",screenX="+winl+",screenY="+wint+",left="+winl+",top="+wint);
	newwin.focus();
}