// JavaScript Document 
<!-- All JavaScript and HTML copyright The Library Corporation, Inwood, WV -->

var QtSubmittedForm = false;
var QsLastSearchData = "";

function AllowSearch()
{
	var s_thisSearchData = document.SearchForm.SearchData.value;

	if (QtSubmittedForm == true && s_thisSearchData == 

QsLastSearchData)
	{
		return false;
	}
	else
	{
		QtSubmittedForm = true;
		QsLastSearchData = s_thisSearchData;
		return true;
	}
}

function SubmitSearch()
{
	if (AllowSearch())
		document.SearchForm.submit();
}

function DataChange()
{
	QtSubmittedForm = false;
}

//-->
 
