/**
 * @author Robert Boguszewski (robert.boguszewski@veneo.pl)
 */
var BrandModelClass = Class.create();
BrandModelClass.prototype = {
  initialize: function(name,select) {
    if (select) {
      select.options.length = 0;
    }
    select.options[select.options.length]= new Option('Model','0');
    $A(brandModel[name]).each( function (item) {
      select.options[select.options.length]= new Option(item,item);
    }.bind(select));
  }

}