// cms_script.js
// Javascript functions for the Baylor CMS
// Initial: Colin W., 8/3/03
// Modified: Colin W., 10/21/03, to add focus()
// Modified: Colin W., 05/07/04, to add width and height handling

function popup_window(url,width,height)
	{
	var x = width;
	var y = height;
	if (!x) x = 525;
	if (!y) y = 500;
	var w = window.open(url,'Popup','personalbar=no,scrollbars=yes,resizable=yes,toolbar=no,height='+y+',width='+x+'');
	w.focus();
	}

