function hasCharacter1(inputVal) {
	var hasChar = 0
	oneDecimal = false
	inputStr = inputVal.toString()
	if(inputStr.length == 0) { // return false if null string
		return false
	}
	for (var i = 0; i < inputStr.length; i++) {
		var oneChar = inputStr.charAt(i)
		if(oneChar == String.fromCharCode(39) || (oneChar >= String.fromCharCode(97) && oneChar <= String.fromCharCode(122)) || (oneChar >= String.fromCharCode(65) && oneChar <= String.fromCharCode(90)) || (oneChar >=String.fromCharCode(48) && oneChar <= String.fromCharCode(57))) {
			hasChar = 1	
		}
	}
	if(hasChar == 0) return false;
	return true // yes, it is has a char.
} // END function hasCharacter(inputVal)
function search_chk() {
	if(!hasCharacter1(document.getElementById("searchterm").value)) {
		alert("You must enter a search term.")
		document.getElementById("searchterm").focus()
		document.getElementById("searchterm").select()
		return false;
	}
}
document.write('\
		<table width="265" border="0" align="center" cellpadding="0" cellspacing="0" class="white">\
		<form action="/searchresults.asp" method="post" onsubmit="return search_chk()">\
          <tr>\
            <td width="89">Search Our Site </td>\
            <td width="114"><input name="searchterm" id="searchterm" type="text" size="15"></td>\
            <td width="62"><input type="Image" src="/images/go.gif" width="41" height="19" hspace="5" border="0"></td>\
          </tr>\
		</form>\
        </table>\
');