//
// openHomeWindow
//
// Last Revision: 2008/03/10
//
// Defines the function to be used for opening the home window in BISON-M.
//

function openHomeWindow() {
	var sLocation;
	
	// if the window is already open, give it focus
	
	if (window.opener && !window.opener.closed) {
		wHome = window.opener;
	} else {
		// the home window was closed, so open it
		//alert('open home');
		wHome = window.open('index.aspx','homewin','width=1015,height=610, resizable=yes,scrollbars=yes,menubar=yes,toolbar=yes,location=yes,directories=yes');
	}
	
	// give the window focus
	wHome.focus();
	
	return false;
}


