//alert("JavaScripts Directory is Active!");// BEGIN: DISPLAYS POPUP WINDOWfunction openPopupWindow(windowURL,windowWidth,windowHeight) {	var scrnHt = screen.height;  //Ascertains user's screen height	var scrnWd = screen.width;  //Ascertains user's screen width	// Modify the values in quotation marks to control window characteristics.	// var windowURL = "insert_URL_here.html";  // URL of content to display in window	var windowName = "popup";  // Name for new window	var windowTop = (scrnHt-windowHeight)/2;  // Window y-coordinate origin (auto centers; or set to pixels)	var windowLeft = (scrnWd-windowWidth)/2;  // Window x-coordinate origin (auto centers; or set to pixels)	var windowLocation = "no";  // Boolean; enables input field for entering URLs	var windowMenubar = "no";  // Boolean; enables window Menubar	var windowStatus = "no";  // Boolean; enables window Status line	var windowToolbar = "no";  // Boolean; enables window Toolbar (e.g. Back, Forward buttons)	var windowResizable = "no";  // Boolean; enables window resizing	var windowScrollbars = "no";  // Boolean; enables window scrollbars	// DO NOT MODIFY ANY OF THE CODE BELOW THIS LINE	var winHt = "height=" + windowHeight, winWd = "width=" + windowWidth, winLft = "left=" + windowLeft, winTop = "top=" + windowTop, winLoc = "location=" + windowLocation, winMenu = "menubar=" + windowMenubar, winSts = "status=" + windowStatus, winBar = "toolbar=" + windowToolbar, winSiz = "resizable=" + windowResizable, winScrl = "scrollbars=" + windowScrollbars;	var windowFeatures = winHt + "," + winWd + "," + winLft + "," + winTop + "," + winLoc + "," + winMenu + "," + winSts + "," + winBar + "," + winSiz + "," + winScrl;	window.open(windowURL,windowName,windowFeatures);}// END//------------------------------------------------------------------------------------// BEGIN: enabler for pop up window                                  |  Version 1.2  |// Copyright 2004, James W. Higgins, Higgins+Associates, info@jwhiggins.com.// All rights reserved.  Unauthorized use or re-use of this code is forbidden.//------------------------------------------------------------------------------------/*  This code opens a pop-up window.  Window characteristics can be controlled by	modifying the values (characters between quotation marks "" ).  Boolean variables	must be either "no" or "yes" to enable or disable, respectively, the associated	characteristic.  All variables require a value.  This function is called by	using the following code:			onclick="openPopupWindow('popups/popup_temp.html',410,325)"		in a button, anchor or other element that supports the 'onclick' event handler.  */function openBksPopupWindow(windowURL,windowWidth,windowHeight,windowName) {	window.name = windowName;	var scrnHt = screen.height;  //Ascertains user's screen height	var scrnWd = screen.width;  //Ascertains user's screen width	// Modify the values in quotation marks to control window characteristics.	// var windowURL = "insert_URL_here.html";  // URL of content to display in window	var windowName = "popup";  // Name for new window	// var windowHeight = "300";  // Window height in pixels	// var windowWidth = "200";  // Window width in pixels	var windowTop = (scrnHt-windowHeight)/2;  // Window y-coordinate origin (auto centers; or set to pixels)	var windowLeft = (scrnWd-windowWidth)/2;  // Window x-coordinate origin (auto centers; or set to pixels)	var windowLocation = "no";  // Boolean; enables input field for entering URLs	var windowMenubar = "no";  // Boolean; enables window Menubar	var windowStatus = "no";  // Boolean; enables window Status line	var windowToolbar = "no";  // Boolean; enables window Toolbar (e.g. Back, Forward buttons)	var windowResizable = "no";  // Boolean; enables window resizing	var windowScrollbars = "no";  // Boolean; enables window scrollbars	// DO NOT MODIFY ANY OF THE CODE BELOW THIS LINE	var winHt = "height=" + windowHeight, winWd = "width=" + windowWidth, winLft = "left=" + windowLeft, winTop = "top=" + windowTop, winLoc = "location=" + windowLocation, winMenu = "menubar=" + windowMenubar, winSts = "status=" + windowStatus, winBar = "toolbar=" + windowToolbar, winSiz = "resizable=" + windowResizable, winScrl = "scrollbars=" + windowScrollbars;	var windowFeatures = winHt + "," + winWd + "," + winLft + "," + winTop + "," + winLoc + "," + winMenu + "," + winSts + "," + winBar + "," + winSiz + "," + winScrl;	window.open(windowURL,windowName,windowFeatures);}//------------------------------------------------------------------------------------// END: enabler for pop up window//------------------------------------------------------------------------------------// -->function nonActiveLinkAlert() {	alert("This link is not yet active.");}//This function validates that a radio button has been selectedfunction valid8Form($form) { //Use "$form" to pass name of form to be validated	var $radioChkd = false; //instantiate variable to false	var $radioValue = ""; //instantiate variable to null value	for (i=0; i<document.forms[$form].covertype.length; i++) { // Loop from zero to one minus the number of radio button selections				if (document.forms[$form].covertype[i].checked) { // If a radio button has been selected it will return true (If not it will return false)			$radioChkd = true;			$radioValue = document.forms[$form].covertype[i].value; //set value to that of radio button		}	}	if (!$radioChkd) {		alert("Please select a cover type."); // If there were no selections made, display an alert		return (false);	}	window.location.href = $radioValue;  //If a selection WAS made, redirect window location to the value specified by the selected radio button	return (false);  //*** THIS STATEMENT MUST BE INCLUDED FOR FORM TO WORK CORRECTLY ***}