anchor.diff:  
   <script type="text/javascript">
   	
  -
  +function sendForm(){
  +	var origin = document.getElementById('origin').value;
  +	var destination = document.getElementById('destination').value;
  +	var date = document.getElementById('date').value;
  +	if(origin!=='' && destination!==''){
  +		if($('input[name=options]:checked').val()==='shipment'){
  +			window.location = 'shipment/search.do?origin='+origin+'&destination='+destination+'&date='+date;
  +		}else{
  +			window.location = 'route/search.do?origin='+origin+'&destination='+destination+'&date='+date;
  +		}
  +		return false;
  +	}else{
  +		return true;
  +	}
  +}
   
   
   $('.btn-toggle').click(function() {
  
positive.code:            
              <div class="group">
     				<div class='input-group date input-text' id='datetimepicker1'>
  				<input name="fecha" style="backgroud-color: white;" type='text' class="form-control" /> 
  				<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
  				</div>
  			</div>
  			       
              <div class="group">
                 <button type="submit" class="btnSearch btn-lg btnSample btn-block btn-success"><spring:message code="welcome.search" /> <span class="glyphicon glyphicon-search"></span></button>
         		</div> 
  					
  							
  
negative.code:         
           	<div class="choose btn-group btn-toggle" data-toggle="buttons">
  						<label class="btn btn-lg btn-primary active btn-default"> 
  						<input name="options" value="shipment" checked type="radio"><spring:message code="welcome.searcher.choose1" /></label> 
  						<label class="btn btn-lg btn-default"> 
  						<input name="options" value="route" type="radio"><spring:message code="welcome.searcher.choose2" /></label>
  			</div>
  			
  			
              <div class="group">
                  <input id="origin" class="camp" type="text" required>
                  <span class="highlight"></span>
                  <span class="bar"></span>
                  <label><span class="glyphicon glyphicon-pushpin">&nbsp;</span> <spring:message code="welcome.searcher.origin" /> </label>
              </div>
  
              <div class="group">
                  <input id="destination" class="camp" type="text" required>
                  <span class="highlight"></span>
                  <span class="bar"></span>
                  <label><span class="glyphicon glyphicon-pushpin">&nbsp;</span><spring:message code="welcome.searcher.destination" /></label>
  