//Function clearBox() is activated on the onClick event of the Search Input Box.
//This function clears the contents of the Search Input Box.
			
				function clearBox() 
				{
					document.frmSimpleSearch.qt.value = "" ;
				}  //end clearBox()
				function clearBoxTop() 
				{
					document.searchForm.qt.value = "" ;
				}  //end clearBox()

//Function newWindow() is activated on the onClick event of the click Button on eIM pages.
//This function opens a new window for eIM pages click buttons JZ 8-22-08.

				var eIMwindow;
				function newWindow(url)
				{
					eIMwindow=window.open(url,'mywindow','directories=0,height=600,location=0,menubar=0,resizable=1,scrollbars=1,status=0,toolbar=0,width=800');
					if (window.focus) {eIMwindow.focus()}
				}  //end newWindow(url)
			
//Function CheckInput() is activated on the onSubmit event of the Search Form.
//This function checks the contents of the Search Input Box for unchanged default input or blank input.
			
				function CheckInput() 
				{	
					validity = false;
					
					if (document.frmSimpleSearch.qt.value == "" || document.frmSimpleSearch.qt.value == "Search for:" )
					{
						alert("Please Enter Search Criteria in the Search box") ;
						document.frmSimpleSearch.qt.value = "" ;
						document.frmSimpleSearch.qt.focus();
					}//end if
					
					else
					{
						validity = true;
					}
					
					return validity;
				}  //end CheckInput()

			
				function CheckInputTop() 
				{	
					validity = false;
					
					if (document.searchForm.qt.value == "" || document.searchForm.qt.value == "Search for:" )
					{
						alert("Please Enter Search Criteria in the Search box") ;
						document.searchForm.qt.value = "" ;
						document.searchForm.qt.focus();
					}//end if
					
					else
					{
						validity = true;
					}
					
					return validity;
				}  //end CheckInput()
			
