/*Function for making a new popup window with browser features disabled

Borrowed from http://www.boutell.com/newfaq/creating/windowsize.html without permission
by Ian Solecki, June 17th 2008, isolecki@gmail.com*/
function wopen(url, name, w, h) {
	// Fudge factors for window decoration space.
	 // In my tests these work well on all platforms & browsers.
	w += 14;
	h += 92;
	var win = window.open(url,
	  name,
	  'width=' + w + ', height=' + h + ', ' +
	  'location=no, menubar=no, ' +
	  'status=no, toolbar=no, scrollbars=no, resizable=no');
	 win.resizeTo(w, h);
	 win.focus();
}