Big deal? The below code will show the Google search in new page based on your search, just try that
<html>
<head>
<title>Show search results in new window</title>
<script language="javascript" type="text/javascript">
function openwin()
{
window.open("http://www.google.com/search.aspx?q=" + document.getElementById("txtText").value ,"NewWindow","width=500,height=500");
}
</script>
</head>
<body>
<input type="text" id="txtText">
<A href="javascript: openwin()">Search</A>
</body>
</html>