/*
doSearchValidation()
inputs: frmSearch.txtSearch, string
outputs: strError, alert

description:
uses an image input element to pass the value
of the search field.

note:
I'm only validating for an empty search field. This 
function should up updated or replaced with a more 
robust validation algorithm.
*/
function doSearchValidation(){
	var strError = "";
		if(document.frmSearch.txtSearch.value == ""){
			strError += "Please enter a seach string\n";
		}
	
	if(strError == ""){
		document.frmSearch.Submit();
	}else{
		alert(strError);
	}
	
}