function clearSearch(){
	document.frmSearch.orgName.value='';
	document.frmSearch.orgType.selectedIndex=0;
	document.frmSearch.region.selectedIndex=0;
	document.frmSearch.orgCategory.selectedIndex=0;
	document.frmSearch.docCategory.selectedIndex=0;
	document.frmSearch.docPhrase.value='';
	document.getElementById('docSearchTypeDefault').checked = true;
}
function doSearch(){
	var r=true;
	if(trim(document.frmSearch.orgName.value)=='' && document.frmSearch.orgType.selectedIndex==0 && document.frmSearch.region.selectedIndex==0 && document.frmSearch.orgCategory.selectedIndex==0 && document.frmSearch.docCategory.selectedIndex==0 && trim(document.frmSearch.docPhrase.value)==''){
		alert('Make a search selection');
		document.frmSearch.orgName.focus();
		r=false;
	}
	return(r);
}
function trim(str){
	return(str.replace(/\A\s*(.*\S)\s*\z/g, "\1"));
}