// ustawia miejsca wyjazdu wg transportu wymaga js/TransportDynamiczne.js
// UWAGA  ten skrypt jest podpiety dokladnie pod element o ID  transport

function ograniczMiejscaWyjazdu( transport ) {
  wypelnijSelecta( transport, 'KrajReg', 'countryregion');
  if ( transport !== 'własny' ) {
    $('#departure').removeAttr('disabled');
    wypelnijSelecta( transport, 'Wyjazd', 'departure');      
  } else { 
    $('#departure').attr('disabled',true);
  }  
}

$(document).ready( function() {
  $('#transport').bind('change', function() { 
    ograniczMiejscaWyjazdu( $('#transport option:selected').val() );
    }
  );
});

 
