the search behavior is set to trigger on an element named "Search"
if (isset($_GET["Search"]) || isset($_GET["Search_x"])) {
but the search form does not contain an element named search, the submit button is named "WADbSearch1"
<input type="submit" name="WADbSearch1" value="Submit" /></td>
change the trigger if statement to:
if (isset($_GET["WADbSearch1"]) || isset($_GET["WADbSearch1_x"])) {