<!--

function optionsWin(path, optionsWindowWidth, optionsWindowHeight, optWindowName, topCoor, leftCoor, scrollbarVal, menubarVal, statusbarVal, resizeableVal) {

/*=====PARAMETER DEFINITIONS=====
path [string] = a relative path to the document that will be displayed in the new window (enclose in single quotes)
optionsWindowWidth [integer] = integer value that defines the width of the new window, in pixels
optionsWindowHeight [integer] = integer value that defines the height of the new window, in pixels
optWindowName [string] = a unique name given to the new window so it may be referenced by that name (enclose in sigle quotes)
topCoor [integer] = the vertical pixel coordinate where the top of the window should line up
leftCoor [integer] = the horizontal pixel coordinate where the top of the window should line up
scrollbarVal [boolean] = 1 (show scrollbars of new window), 0 = (no scrollbars)
menubarVal [boolean] = 1 (show menubar - File, Edit, View, etc...), 0 (hide menubar)
statusbarVal [boolean] = 1 (show window status bar), 0 (hide status bar)
resizeableVal [boolean] = 1 (allows the user to resize the window), 0 (disables resizing)
*/
if (typeof eval('window.' + optWindowName) == 'object' && eval('window.' + optWindowName + '.closed') != true) {
	eval(optWindowName + '.focus();');
} else eval(optWindowName + " = window.open(path,optWindowName,\"WIDTH=" + optionsWindowWidth + ", HEIGHT=" + optionsWindowHeight + ", TOP=" + topCoor + ", LEFT=" + leftCoor + ", MENUBAR=" + menubarVal + ", RESIZABLE=1, SCROLLBARS=" + scrollbarVal + ", STATUS=" + statusbarVal + "\");");
}// END FUNCTION

//============================================

function fullScreenWin(path, optWindowName, topCoor, leftCoor, scrollbarVal, menubarVal, statusbarVal, resizeableVal) {

/*=====PARAMETER DEFINITIONS=====
path [string] = a relative path to the document that will be displayed in the new window (enclose in single quotes)
optWindowName [string] = a unique name given to the new window so it may be referenced by that name (enclose in sigle quotes)
topCoor [integer] = the vertical pixel coordinate where the top of the window should line up
leftCoor [integer] = the horizontal pixel coordinate where the top of the window should line up
scrollbarVal [boolean] = 1 (show scrollbars of new window), 0 = (no scrollbars)
menubarVal [boolean] = 1 (show menubar - File, Edit, View, etc...), 0 (hide menubar)
statusbarVal [boolean] = 1 (show window status bar), 0 (hide status bar)
resizeableVal [boolean] = 1 (allows the user to resize the window), 0 (disables resizing)
*/
if (typeof eval('window.' + optWindowName) == 'object' && eval('window.' + optWindowName + '.closed') != true) {
	eval(optWindowName + '.focus();');
} else {
	if(statusbarVal == 1) {
		var calcHeight = 61;
	} // END IF
	else {
		var calcHeight = 38;
	} // END ELSE
	
		//var fullWindowWidth = window.screen.availWidth - 10;
		var fullWindowWidth = 665;
		var fullWindowHeight = window.screen.availHeight - calcHeight;
		eval(optWindowName + " = window.open(path,optWindowName,\"WIDTH=" + fullWindowWidth + ", HEIGHT=" + fullWindowHeight + ", TOP=" + topCoor + ", LEFT=" + leftCoor + ", MENUBAR=" + menubarVal + ", RESIZABLE=1, SCROLLBARS=" + scrollbarVal + ", STATUS=" + statusbarVal + "\");");
	}
} // END FUNCTION

//-->