function trim(stringToTrim) {
	return stringToTrim.replace(/^\s+|\s+$/g,"");
}
function validateKeyword(fieldID) {	
	if (trim(document.getElementById(fieldID).value)=='')
		return false;
	else
		return true;
}
function submitSearchForm(fieldID) {	
	if (trim(document.getElementById(fieldID).value)!='')
		document.src_frm.submit();
}
