    /**
    * Google SiteSearch form handler
    * see : http://blog.binarybooyah.com/blog/post/Using-Google-Site-Search-on-ASPNET-pages.aspx
    */
    function GoogleSearch(q) 
    {
        // trim and make sure it's not blank
        var val = q.split(" ").join("");
        // don't search for blank
        if( val != "" )
        {
            // don't use val since it removes all spaces
            window.location =   "http://www.jwmi.com/search_results.html" +
                                "?q=" + q +
                                "&cx=010838981692925513749:eshqxq-08s0" +
								"&cof=FORID:10;NB:1" +
                                "&ie=UTF-8";
        }
// "&domains=jwmi.com" +
// "&sitesearch=jwmi.com" +
    }
	
	
	/*
		This is the onEnter pseudo function for the search box.
		The input does an onKeyPress, so just listen for the Enter button
	*/
	function doSearch( evt, val )
	{
		if( evt.keyCode == 13 )
		{
			return GoogleSearch( val );
		}
	}
