<body>
	<div class="well">
		{{> inputAutocomplete settings=settings id="title" name="title" class="input-xlarge" placehorder="Enter search"}}
	</div>
  <p>Your current location: {{curloc}}</p>
</body>
if (Meteor.isClient) {
  var currentLocation = 'unknown';
  curloc: function () {
    return currentLocation;
  } 
});
Template.body.events({
  "autocompleteselect input": function (event, templ, obj) {
    currentLocation = obj.location;
  }
});