ach(function() {
            q += $(this).val() + ' ';
        });
        if (window.coords != null) {
            $.ajax({'url' :'searchNear.php',
                    'data' : {'q': q, 'lat':window.coords.latitude,
                    'lon':coords.longitude}}).done(function(msg) {
                            $('#results').html('<pre> ' + msg + '</pre>');
            });
        }
      }
      function init2() {
        window.coords = null;
              if ( navigator.geolocation ) {
            navigat