  var searchAjaxForm = document.getElementById("searchAjaxForm");
  function ajaxSearch() {
      var q = document.getElementById('q').value;
      searchAjaxForm.action = "/home/searchresult?q=" + q; //"http://localhost:61476/home/searchresult?q=" + q; /**<?php echo $_SERVER['HTTP_HOST']; ?> + '/swift_networks_html/searchresults?q='+ q; **/
  }
