function popup(uri, name, width, height) {
	if (width) {
		win_width = width;
	} else {
		win_width = 787;
	}
	if (height) {
		win_height = height;
	} else {
		win_height = 574;
	}
	
	features = "toolbar=no, status=no, scrollbars=yes, width=" + win_width + ", height=" + win_height;
	
	popup = window.open(uri, name, features);
	popup.focus();
}
