function DoSearch(evt)
{
	var keyCode=null;
	if(evt.which){
		keyCode=evt.which;
	}else if(evt.keyCode){
		keyCode=evt.keyCode;
	}
	if(keyCode==13)
	{
		SubmitSearch();
		return false;
	} else {
		return true;
	}
}
function SubmitSearch()
{
//following lines commented riya 17june 09 to redirect to gsa default page instead of /search/default.aspx
//	document.location.href='/search/?searchstring=' + document.getElementById('SearchText').value;
	document.location.href='http://search.fortworthtexas.gov/search?site=default_collection&client=Dev_frontend&output=xml_no_dtd&proxystylesheet=Dev_frontend&q=' + document.getElementById('searchForm').searchText.value;

}