window.onerror = function() { return true; } function gosea() { window.open('/Search.aspx?seavalue='+escape(document.getElementById("txtsea").value)); }