	<!-- START HIDE
		// =================================== // 
		if (window.screen) { // this determines if the users browser supports the window.screen object
			var userScrWidth = screen.availWidth;
			var userScrHeight = screen.availHeight;
		} else {  // else set the following defaults 640 pixels by 480 pixels screen size
			var userScrWidth = 640;
			var userScrHeight = 480;
		}
			var setTopXRow = 0;  // default top most row at 0
			var setLeftYColumn = 0;  // default left most column at 0
		// =================================== // 
			var winString = 'left=' + setTopXRow;
				  winString += ',screenX=' + setTopXRow;
				  winString += ',top=' + setLeftYColumn;
				  winString += ',screenY=' + setLeftYColumn;
				  winString += ',width=' + userScrWidth;  // window Width size
				  winString += ',height=' + userScrHeight;  // window Height size
				  winString += ',toolbar=no,menubar=no,location=no,status=yes,scrollbars=yes,resizable=yes,titlebar=yes';
		// =================================== // 
		function makeLarge() {
			window.moveTo(setTopXRow, setLeftYColumn);
			window.resizeTo(userScrWidth, userScrHeight);
			self.focus;
		}
		// ===================================== // 
		function openPlansLibChoiceWin() {
			if (window.screen) {
				var plansLibUserScrHeight = screen.availHeight;
				var plansLibUserScrWidth = screen.availWidth;
			} else {  // else set the following defaults
				var plansLibUserScrWidth = 640;
				var plansLibUserScrHeight = 480;
			}
			var winCenterXRow = (plansLibUserScrHeight/2); // User Center X Row // 
			var winCenterYColumn = (plansLibUserScrWidth/2); // User Center Y Column // 
			var plansLibPlansLibraryLookupAlertWinSizeH = 270; // plansLib Win Size Height // 
			var plansLibPlansLibraryLookupAlertWinSizeW = 310; // plansLib Win Size Width // 
    			var plansLibPlansLibraryLookupAlertWinXRow = winCenterXRow-(plansLibPlansLibraryLookupAlertWinSizeH/2); // X-Row PlansLibraryLookupAlert Height // 
    			var plansLibPlansLibraryLookupAlertWinYColumn = winCenterYColumn-(plansLibPlansLibraryLookupAlertWinSizeW/2); // Y-Col PlansLibraryLookupAlert Width // 
			var winPlansLibraryLookupString = 'top=' + plansLibPlansLibraryLookupAlertWinXRow;
				  winPlansLibraryLookupString += ',screenX=' + plansLibPlansLibraryLookupAlertWinXRow;
				  winPlansLibraryLookupString += ',left=' + plansLibPlansLibraryLookupAlertWinYColumn;
				  winPlansLibraryLookupString += ',screenY=' + plansLibPlansLibraryLookupAlertWinYColumn;
				  winPlansLibraryLookupString += ',width=' + plansLibPlansLibraryLookupAlertWinSizeW;  // window Width size
				  winPlansLibraryLookupString += ',height=' + plansLibPlansLibraryLookupAlertWinSizeH;  // window Height size
				  winPlansLibraryLookupString += ',resizable=yes,toolbar=no,menubar=no,location=no,status=no,scrollbars=no,titlebar=no';
		return void window.open('/MandR/MRErrors/PlansLibraryChoiceWin.cfm','PlansLibraryChoiceWin',winPlansLibraryLookupString);
		}
		// ====================================================== // 
		function plansLibLookup() {
			var plansLibLookupMsg="           --{ Plans Library Lookup }--" +
				"\n__________________________________" +
				"\n\nSelect Plan Type From Pull Down Menu" +
				"\nAnd Enter Key Word No. 1 And/Or Key" +
				"\nWord No.2 To Narrow The Search Criteria" +
				"\nAs May Be Required." +
				"\n__________________________________";
		openPlansLibChoiceWin();
			// alert(plansLibLookupMsg);
				}
		// ===================================== // 
		function openPlansLibChoiceSelectErrorWin() {
			if (window.screen) {
				var plansLibUserScrHeight = screen.availHeight;
				var plansLibUserScrWidth = screen.availWidth;
			} else {  // else set the following defaults
				var plansLibUserScrWidth = 640;
				var plansLibUserScrHeight = 480;
			}
			var winCenterTopXRow = (plansLibUserScrHeight/2); // User Center X Row // 
			var winCenterLeftYColumn = (plansLibUserScrWidth/2); // User Center Y Column // 
			var plansLibraryLookupSelectErrorAlertWinSizeH = (plansLibUserScrHeight/2); // plansLib Win Size Height // 
			var plansLibraryLookupSelectErrorAlertWinSizeW = (plansLibUserScrWidth/2); // plansLib Win Size Width // 
    			var plansLibraryLookupSelectErrorAlertWinTopXRow = winCenterTopXRow-(plansLibraryLookupSelectErrorAlertWinSizeH/2); // X-Row PlansLibraryLookupSelectErrorAlert Height // 
    			var plansLibraryLookupSelectErrorAlertWinLeftYColumn = winCenterLeftYColumn-(plansLibraryLookupSelectErrorAlertWinSizeW/2); // Y-Col PlansLibraryLookupSelectErrorAlert Width // 
			var winPlansLibraryLookupSelectErrorString = 'top=' + plansLibraryLookupSelectErrorAlertWinTopXRow;
				  winPlansLibraryLookupSelectErrorString += ',screenX=' + plansLibraryLookupSelectErrorAlertWinTopXRow;
				  winPlansLibraryLookupSelectErrorString += ',left=' + plansLibraryLookupSelectErrorAlertWinLeftYColumn;
				  winPlansLibraryLookupSelectErrorString += ',screenY=' + plansLibraryLookupSelectErrorAlertWinLeftYColumn;
				  winPlansLibraryLookupSelectErrorString += ',width=' + plansLibraryLookupSelectErrorAlertWinSizeW;  // window Width size
				  winPlansLibraryLookupSelectErrorString += ',height=' + plansLibraryLookupSelectErrorAlertWinSizeH;  // window Height size
				  winPlansLibraryLookupSelectErrorString += ',resizable=yes,toolbar=no,menubar=no,location=no,status=no,scrollbars=yes,titlebar=no';
		return void window.open('/MandR/MRErrors/PlansLibraryChoiceSelectErrorWin.cfm','PlansLibraryLookupSelectErrorWin',winPlansLibraryLookupSelectErrorString);
		}
		// ====================================================== // 
		function checkValidFields() {
			var lineBreak="\n_______________________________________________________________________________________________________________________";

			var plansChoiceErrorMsg="                                               --{ OOPS! PLANS LIBRARY RECORDS LOOKUP SELECT ERROR! OOPS! }--" + lineBreak +
			"\n\n          OOPS! OOPS! You Have Selected The ''ALL PLAN TYPES SEARCH WITHOUT'' Entering A Key Word Or Words To Search For.  One(1) Or Two(2) Key Word(s) MUST Be Entered.  There Are " + planCount + " Records And That Is Just To Many To Display All At Once.  It Would Take To Long To Display And You Would Think Your Computer Was Stuck.  More Likely, You Would Think Our Web Server Had Crashed Trying To Deliver The Information You Had Requested." +
			"\n\n          You Can Select The ''--{ All Plan Types Records Search }--'' From The Pull Down Menu.  BUT YOU MUST Enter At Least One(1) Or Two(2) Key Word(S) To Search For." +
			"\n\n          If You Want A General Search Of All Plan Types Choose The ''--{ All Plan Types Records Search }--'' From The Pull Down Menu And Enter One(1) Key Word Like ''SPEEDWAY'' For Instance, And Press The Submit Button.  All The Records That Contain ''SPEEDWAY'' Entered As Part Of The Description Field Will Be Returned And Displayed On The Screen.   If The Search Criteria You've Entered Exceeds 250 Records You Will Be Presented With Several Pages For You To Look Through.  The Paging Links Can Be Found At The Top And Bottom Of Each Page Presented." +
			"\n\n          If You Want Your Search To Be SPECIFIC You Would Choose A Specific Plan Type And Enter One(1) Or Two(2) Key Words. For Instance, If You Were To Choose The ''Plan Type Class I Paving Improvement Plans Listing'' And Entered The 1st Word As ''BROADWAY'' And The 2nd Word As ''CAMPBELL''. All The ''Plan Type Class I'' Records That Contain The Street Names Of ''BROADWAY AND CAMPBELL'' Entered As Part Of The Description Field Will Be Returned And Displayed On The Screen.  In Addition, As Mentioned Above, If The Search Criteria You've Entered Exceeds 250 Records You Will Be Presented With Several Pages To Look Through And The Paging Links Can Be Found At The Top And Bottom Of Each Page Presented." +
			"\n\n          If You Feel You Have Reached This Message In Error, Select The Small Envelope Icon At The Bottom Of The ''Plans Library Lookup'' Page And Report The Error Or Problem.  Be Sure To Be Specific About The Problem You've Encountered And Describe What You Were Doing At The Time You Received This Error." +
			"\n\n          All Three(3) Of These Input Fields, ''SELECT PLAN TYPE'' Field, ''1st  KEY WORD(S)'' Field, And ''2nd KEY WORD(S)'' Field CANNOT All Be Left Blank When Submitting This Search!" + lineBreak +
			"\n\nREQUIRED! Please Enter Some Search Criteria To Correct This Error And Try Again!";
			var complete = true;
			var fieldPlanType=document.forms['PlanChoiceForm'].PlanType.value;
			var fieldFirstFind=document.forms['PlanChoiceForm'].FirstFind.value;
			var fieldSecondFind=document.forms['PlanChoiceForm'].SecondFind.value;
			// ============================================= // 
				if ( ((fieldPlanType=="")||(fieldPlanType==null))
				 && ((fieldFirstFind=="")||(fieldFirstFind==null)||(fieldFirstFind=='Enter First Key Word(s)'))
				 && ((fieldSecondFind=="")||(fieldSecondFind==null)||(fieldSecondFind=='Enter Second Key Word(s)')) ) {
					// alert(plansChoiceErrorMsg);
					openPlansLibChoiceSelectErrorWin();
				complete=false;
				}
		// ========== // 
		return complete;
		}
		// ================================== // 
		// ================================== // 
		function clearFirstFieldValue(fieldOneValue) {
			if (fieldOneValue==0) {
				if (document.forms['PlanChoiceForm'].FirstFind.value=='Enter First Key Word(s)') {
					document.forms['PlanChoiceForm'].FirstFind.value='';
				}
			}
		}
		// ================================== // 
		function getFirstFieldValue(fieldOneValue) {
        		if (fieldOneValue==0) {
            		if (document.forms['PlanChoiceForm'].FirstFind.value=='') {
                		document.forms['PlanChoiceForm'].FirstFind.value='Enter First Key Word(s)';
				}
			}
		}
		// ================================== // 
		function clearSecondFieldValue(fieldTwoValue) {
			if (fieldTwoValue==0) {
				if (document.forms['PlanChoiceForm'].SecondFind.value=='Enter Second Key Word(s)') {
					document.forms['PlanChoiceForm'].SecondFind.value='';
				}
			}
		}
		// ================================== // 
		function getSecondFieldValue(fieldTwoValue) {
        		if (fieldTwoValue==0) {
            		if (document.forms['PlanChoiceForm'].SecondFind.value=='') {
                		document.forms['PlanChoiceForm'].SecondFind.value='Enter Second Key Word(s)';
				}
			}
		}
		// ================================== // 
	// END HIDE -->

