Fixed search.php to work with displayFunctions.php now, it's down to
~160 lines of code. Woot!