<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<script type="text/javascript">
	function initialize() {
		var input = document.getElementById('where');
		var autocomplete = new google.maps.places.Autocomplete(input);
	}
	
	google.maps.event.addDomListener(window, 'load', initialize);
</script>
<div class="big-search raised-box" id="home-search-container">			
	<h2>¿Dónde quiere que aparcar?</h2>
	<form:form id="destinationForm" class="destination-form" method="post" commandName="pPlaceSearchForm" action="parkingPlace/searchResults"> 
		<div class="field">
			<input type="text" class="focusField" size="250" placeholder="Introduzca una dirección, lugar de interés, o barrio" id="where" name="where" autocomplete="off">
			<button class="pw-btn" type="submit">Buscar Parking</button>
		</div>
	</form:form>
</div>