function Search() { var company = escape(document.getElementById("CompanyName").value); var keyword = escape(document.getElementById("Keyword").value); var category = escape(document.getElementById("Category").value.replace('&', '[a]').replace(',', '[c]')); $ef("#memberSearchResults").load("/utilities/httpsproxy.aspx?url=http://member.blountoneontachamber.org/search/" + company + "-" + keyword + "-" + category); } function checkEnter(e){ var characterCode; if (e && e.which) { e = e; characterCode = e.which; } else { e = event; characterCode = e.keyCode; } if (characterCode == 13) { Search(); return false; } else { return true; } } window.onload = function() { document.getElementById("CompanyName").setAttribute("onKeyPress", "checkEnter(event)"); document.getElementById("Keyword").setAttribute("onKeyPress", "checkEnter(event)"); document.getElementById("Category").setAttribute("onKeyPress", "checkEnter(event)"); } document.write('
'); document.write('Company Name
'); document.write('Keyword
'); document.write('Category
'); document.write(''); document.write('
');