// generic popUp function 
// Parameters:	name STRING the name of the window
//				loc STRING a URL
//			  	h INT height of the popUp in pixels
//				w INT width of the popUp in pixels
function popUp(loc, h, w, name) {
	if (h == null) {
		h = 300;
	}
	
	if (w == null) {
		w = 500;
	}
	
	if (name == null) {
		name = 'remWin';
	}
	
	remote = window.open("", name, "width=" + w + ",height=" + h + ",scrollbars=yes");
	remote.location.href = loc;
	remote.focus();
}