var models = new Array();
  models.push(new Array('91', '206', '688'));
  models.push(new Array('93', '3', '1086'));
  models.push(new Array('70', '320', '402'));
  models.push(new Array('93', '323', '1353'));
  models.push(new Array('70', '325', '405'));
  models.push(new Array('115', '350Z', '933'));
  models.push(new Array('91', '405', '694'));
  models.push(new Array('91', '406', '695'));
  models.push(new Array('70', '530', '417'));
  models.push(new Array('120', '720', '1023'));
  models.push(new Array('66', '850', '290'));
  models.push(new Array('80', 'A3', '554'));
  models.push(new Array('80', 'A4', '555'));
  models.push(new Array('98', 'Accent', '774'));
  models.push(new Array('72', 'Accord', '458'));
  models.push(new Array('49', 'AD', '1131'));
  models.push(new Array('115', 'AD Van', '934'));
  models.push(new Array('103', 'Aerio', '1355'));
  models.push(new Array('115', 'Almera', '935'));
  models.push(new Array('67', 'Avensis', '307'));
  models.push(new Array('93', 'Axcel', '1378'));
  models.push(new Array('151', 'Besta', '1350'));
  models.push(new Array('115', 'Bluebird', '937'));
  models.push(new Array('26', 'BT-50', '1091'));
  models.push(new Array('108', 'C 230', '1097'));
  models.push(new Array('108', 'C 300', '1100'));
  models.push(new Array('108', 'C 350', '1101'));
  models.push(new Array('66', 'C30', '293'));
  models.push(new Array('66', 'C40', '1348'));
  models.push(new Array('15', 'Caliber', '1024'));
  models.push(new Array('11', 'Capa', '1379'));
  models.push(new Array('68', 'Cavalier', '348'));
  models.push(new Array('77', 'Cerato', '524'));
  models.push(new Array('89', 'Cielo', '663'));
  models.push(new Array('67', 'Cion', '1369'));
  models.push(new Array('72', 'Civic', '461'));
  models.push(new Array('75', 'Clio', '502'));
  models.push(new Array('161', 'Coaster', '1285'));
  models.push(new Array('68', 'Cobalt', '1371'));
  models.push(new Array('116', 'Colt', '1317'));
  models.push(new Array('42', 'Commander', '149'));
  models.push(new Array('67', 'Corolla', '317'));
  models.push(new Array('67', 'Corona', '318'));
  models.push(new Array('98', 'Coupe', '777'));
  models.push(new Array('11', 'CR-V', '43'));
  models.push(new Array('67', 'Crown', '321'));
  models.push(new Array('72', 'CRV', '1358'));
  models.push(new Array('50', 'Dakar', '986'));
  models.push(new Array('93', 'Demio', '718'));
  models.push(new Array('161', 'Dyna 400', '1284'));
  models.push(new Array('108', 'E 240', '1104'));
  models.push(new Array('108', 'E 350', '1110'));
  models.push(new Array('72', 'Eastern', '1359'));
  models.push(new Array('82', 'Eclipse', '1370'));
  models.push(new Array('98', 'Elantra', '778'));
  models.push(new Array('8', 'Equinox', '28'));
  models.push(new Array('46', 'Escape', '169'));
  models.push(new Array('112', 'Escort', '888'));
  models.push(new Array('46', 'Expedition', '171'));
  models.push(new Array('115', 'Expert', '1363'));
  models.push(new Array('46', 'Explorer', '172'));
  models.push(new Array('74', 'F3', '491'));
  models.push(new Array('26', 'Familia', '1092'));
  models.push(new Array('93', 'Familia', '1360'));
  models.push(new Array('7', 'FJ Cruiser', '14'));
  models.push(new Array('112', 'Focus', '894'));
  models.push(new Array('7', 'Fortuner', '13'));
  models.push(new Array('7', 'Frontier', '1374'));
  models.push(new Array('49', 'Frontier', '184'));
  models.push(new Array('116', 'Galant', '957'));
  models.push(new Array('32', 'Galloper', '104'));
  models.push(new Array('81', 'Gol', '582'));
  models.push(new Array('81', 'Golf', '583'));
  models.push(new Array('15', 'Gran Caravan', '1026'));
  models.push(new Array('42', 'Grand Cherokee Laredo', '1066'));
  models.push(new Array('42', 'Grand Cherokee Limited', '980'));
  models.push(new Array('35', 'Grand Nomade', '117'));
  models.push(new Array('35', 'Grand Vitara', '118'));
  models.push(new Array('50', 'Grandis', '1138'));
  models.push(new Array('32', 'H-1 Van', '1057'));
  models.push(new Array('7', 'Hilux', '16'));
  models.push(new Array('68', 'Impala', '1003'));
  models.push(new Array('82', 'Impreza', '597'));
  models.push(new Array('72', 'Integra', '464'));
  models.push(new Array('50', 'L200', '199'));
  models.push(new Array('116', 'Lancer', '958'));
  models.push(new Array('112', 'Laser', '1038'));
  models.push(new Array('82', 'Legacy', '599'));
  models.push(new Array('105', 'Leon', '829'));
  models.push(new Array('42', 'Liberty', '152'));
  models.push(new Array('115', 'Lucino', '1130'));
  models.push(new Array('70', 'M3', '446'));
  models.push(new Array('70', 'M6', '448'));
  models.push(new Array('115', 'March', '1320'));
  models.push(new Array('32', 'Matrix', '1174'));
  models.push(new Array('50', 'Minicab', '1377'));
  models.push(new Array('50', 'Mirach', '1361'));
  models.push(new Array('49', 'Mistral', '985'));
  models.push(new Array('62', 'MK', '1041'));
  models.push(new Array('50', 'Montero', '200'));
  models.push(new Array('67', 'Much back', '1373'));
  models.push(new Array('112', 'Mustang', '900'));
  models.push(new Array('93', 'MX-5', '729'));
  models.push(new Array('50', 'Nativa', '201'));
  models.push(new Array('11', 'Odyssey', '1052'));
  models.push(new Array('77', 'Optima / Magentis', '527'));
  models.push(new Array('50', 'Outlander', '202'));
  models.push(new Array('50', 'Pajero', '203'));
  models.push(new Array('72', 'Pantera', '1365'));
  models.push(new Array('81', 'Passat', '587'));
  models.push(new Array('42', 'Patriot', '153'));
  models.push(new Array('11', 'Pilot', '46'));
  models.push(new Array('89', 'Pontiac', '1354'));
  models.push(new Array('7', 'PRADO', '982'));
  models.push(new Array('151', 'Pregio', '1246'));
  models.push(new Array('115', 'Primera', '944'));
  models.push(new Array('67', 'Probox', '1362'));
  models.push(new Array('16', 'Q7', '63'));
  models.push(new Array('89', 'Racer', '673'));
  models.push(new Array('46', 'Ranger', '176'));
  models.push(new Array('7', 'Raum', '1368'));
  models.push(new Array('7', 'RAV4', '19'));
  models.push(new Array('64', 'S21', '243'));
  models.push(new Array('66', 'S40', '295'));
  models.push(new Array('66', 'S80', '298'));
  models.push(new Array('67', 'Scion TC', '976'));
  models.push(new Array('63', 'Sebring', '238'));
  models.push(new Array('115', 'Sentra', '946'));
  models.push(new Array('166', 'SKI', '1366'));
  models.push(new Array('97', 'Solstice', '771'));
  models.push(new Array('14', 'Sorento', '52'));
  models.push(new Array('115', 'Station Wagon', '1312'));
  models.push(new Array('11', 'Stream', '48'));
  models.push(new Array('115', 'Sunny', '949'));
  models.push(new Array('67', 'Swift', '1322'));
  models.push(new Array('103', 'Swift', '819'));
  models.push(new Array('103', 'SX4', '820'));
  models.push(new Array('112', 'Taurus', '907'));
  models.push(new Array('67', 'Tercel', '335'));
  models.push(new Array('34', 'Terios', '1364'));
  models.push(new Array('34', 'Terios Alloy', '1014'));
  models.push(new Array('49', 'Terrano', '194'));
  models.push(new Array('98', 'Tiburon', '788'));
  models.push(new Array('4', 'Tiggo', '8'));
  models.push(new Array('115', 'Tiida', '950'));
  models.push(new Array('3', 'Town &amp; Country', '1009'));
  models.push(new Array('7', 'TOWN ACE', '1319'));
  models.push(new Array('63', 'Town&amp;Country', '1349'));
  models.push(new Array('80', 'TT', '570'));
  models.push(new Array('32', 'Tucson', '107'));
  models.push(new Array('66', 'V40', '1375'));
  models.push(new Array('68', 'Vectra', '1000'));
  models.push(new Array('161', 'Vink', '1352'));
  models.push(new Array('35', 'Vitara', '1376'));
  models.push(new Array('67', 'Vitz', '338'));
  models.push(new Array('8', 'Vivant', '1004'));
  models.push(new Array('35', 'XL-7', '124'));
  models.push(new Array('49', 'XTerra', '197'));
  models.push(new Array('67', 'Yaris', '340'));
  models.push(new Array('67', 'YARIS', '1372'));

function makeSelected() {
  make = $('make').getValue();
  options = $('model').options;
  options.length = 0;
  options[options.length] = new Option('Todos', '', true);
  models.each(function(model) {
    if (model[0] == make) {
      options[options.length] = new Option(model[1], model[2]);
    }
  });
}

document.observe('dom:loaded', function() {
  makeSelected();
  $('make').observe('change', makeSelected);
});
