at some point this search form should be factored into a macro or something. They all look pretty much the same.