Doesn't the 'elsif' statement work?
<%if query like 'automobiles'%>
<%include search_auto.html%>
<%elsif query like 'computers'%>
<%include search_auto.html%>
etc., etc.
<%if query like 'automobiles'%>
<%include search_auto.html%>
<%elsif query like 'computers'%>
<%include search_auto.html%>
etc., etc.