
// open a window to the given url using the width and height specified.
function openPopupWindow( url, width, height, name )
{
	var win = null;
	
	if (name === null || !name) {
		name = "CMWPOPUP_" + height + "x" + width;
	}
	
	win = window.open(url, name, "resizable=no,scrollbars=yes,status=yes,width="+width+",height="+height);
	
	if (win) {
		win.focus();
	}
}


