// JavaScript Document
	function openWindow(theURL,winName,features) {
		if (typeof(newWindow) != 'undefined') { newWindow.close();}
		/*if (typeof(newWindow) != 'undefined') {
			alert('yes defined');
			newWindow.close();
		}
		else {
			alert('not defined');
		}*/
		var newWindow = window.open(theURL,winName,features);
		// focus ensures that this popup window always opens on the top of any other opened window.
		if (window.focus) {newWindow.focus();}
	}
