<!-- BEGIN JAVASCRIPT CODE ----------------------------------------------------------\

	// DEFINE LOCAL PAGE VARIABLES
	var numSubnavItems = 0;

	// PAGENET FUNCTIONS
	function verifyPageNetForm(theForm) {
		if (theForm.Message.value.length > 240) {
			alert('Please enter at most 240 characters in the "Message" field.');
			theForm.Message.focus();
			return false;
		}
		var selectionCount = 0;
		for (i=0; i<theForm.To.length; i++) {
			if (theForm.To.options[i].selected) {
				selectionCount = selectionCount + 1;
				if (theForm.To.options[i].value == "0") {
					alert('Please select only individual names.');
					return false;
				}
			}
		}
		if (selectionCount == 0) {
			alert('Please select at least one person to page.');
			return false;
		}
		return true;
	}
	
	function verifyPageNetPassword(theForm) {
		if (theForm.pw.value == "freud") {
			location.href = "sendpage.html";
			return false;
		}
		alert('You have entered an invalid password.');
		theForm.pw.focus();
		theForm.pw.select();
		return false;
	}

// END JAVASCRIPT CODE --------------------------------------------------------------/
// -->
