function window_pop(src, name) {
	// width:
	w = 750;
	
	// height:
	h = 565;
	
	
	return window_pop2(src, name, w, h);
}



function window_pop2(src, name, w, h) {
	
	// fudge factors for window decoration space.
	w += 32;
	h += 60;
	
	// we want to center the window, so we take the screen width, subtract the window size, and halve it.
	wleft = (screen.width - w) / 2;
	wtop = (screen.height - h) / 2;
	
	// IE5 and other crumby browsers might allow a window that is
	// partially offscreen or wider than the screen so we gotta fix that.
	if (wleft < 0) {
		w = screen.width;
		wleft = 0;
	}
	if (wtop < 0) {
		h = screen.height;
		wtop = 0;
	}
	
	// let's fire it up.
	var theWindow =
		window.open(src, name,
		    'width=' + w + ', height=' + h + ', ' +
		    'left=' + wleft + ', top=' + wtop + ', ' +
		    'location=no, menubar=no, status=no, toolbar=no, scrollbars=no, resizable=yes');
		  // just in case width and height are ignored
		  theWindow.resizeTo(w, h);
		  // just in case left and top are ignored
		  theWindow.moveTo(wleft, wtop);
		  theWindow.focus();
	return false;	  
}