<!--Hide
// Javascript Library for PopUp windows
// By
// Michael Holligan, michaelh@icbl.hw.ac.uk
// 16 September, 1998

var Version="1.0";

function OpenPopup(name, url, width, height, opts)
{
//open a window (if required) and change the url (if required)
var dimensions="";
var newwindow;

//if width and height are 0 then ignore

	if ((width > 0) && (height > 0)) { dimensions = "width=" + width + ",height=" + height + ",";}
//alert(name);
//alert(dimensions);
//alert(opts);
//get a handle to an existing window or create new one. note the '' url;

	if ((dimensions = dimensions + opts) == ""){
		newwindow = window.open('', name);
	}else{
		newwindow = window.open('', name,  dimensions + opts);
	}

	//give the new window the focus, make the app seem more responsive!
	newwindow.focus();

	//only change the url if required
//	if (newwindow.location != url){newwindow.location = url};
//	alert('i am going to '+url);
	newwindow.location = url;
//	return false;
// mike, i commented out the above line, it  was causing the parent window to show the word 'false'
}
//-->












