	// set a global var for the popup window name
		var windowName

	// opens popup
		function popWindow(url,x,y) {

		closepopWindow();

		var options = "toolbar=0,scrollbars=1,resizable=1,width=" + x + ",height=" + y +",left=100,top=100";
		windowName=window.open(url,"popwindow",options);
		windowName.focus();
		}
		
	// closes window on page unload
		function closepopWindow(){
			if (windowName && !windowName.closed){
				windowName.close();
			}
		}
		
//--------------------------------------------		
// MESSAGE WINDOWS
// -------------------------------------------

	function confirmThis(message) {
		if (confirm(message)) return true;
		return false;
	}

	
	function closeMe(){
		window.close()
	}
	


	
	

