var models = new Array();
var models_ids = new Array();
models[0] = ["Select"];
models_ids[0] = ["1300",];
models[1] = ["Car", "Truck", "Van", "SUV"];
models_ids[1] = ["1301", "1302", "1303", "1304", ];
models[2]=["CSX", "CL", "EL", "Integra", "MDX", "NSX", "RL", "RDX", "RSX", "SLX", "TL", "TSX", "Vigor"];
models_ids[2]=["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", ];
models[3]=["145", "146", "147", "155", "156", "159", "166", "Brera", "GT", "GTV", "Spider", "Sprint"];
models_ids[3]=["1074", "1075", "1076", "1077", "1078", "1079", "1080", "1081", "1082", "1083", "1084", "1085", ];
models[4]=["80", "90", "A3", "A4", "A4 Avant", "A5", "A6", "A6 Avant", "A8", "Allroad", "Coupe", "Q7", "Quattro", "RS 4", "RS 6",  "R8", "S3", "S4", "S6", "S8", "TT", "V8"];
models_ids[4]=["22", "23", "25", "26", "27", "28", "29", "32", "33", "34",  "36", "37", "39", "40", "41", "42", "43", "44", "1087", "1088", "1089", "1090", ];
models[5]=["Arnage", "Azure", "Brooklands", "Continental", "Eight"];
models_ids[5]=["45", "46", "47", "48", "1095", ];
models[6]=["Alpina", "M3", "M5", "M6", "M Coupe", "M Roadster", "Series 1", "Series 3", "Series 5", "Series 6", "Series 7", "Series 8", "X3", "X5", "Z1", "Z3", "Z4", "Z8"];
models_ids[6]=["49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "60", "61", "62", "63", "64", "65", "1096", ];
models[7]=["Allure", "Century", "Enclave", "LeSabre", "Lucerne", "Park Avenue", "Rainer", "Rendezvous", "Roadmaster", "Skylark"];
models_ids[7]=["66", "68", "69", "70", "72", "74", "75", "76", "77", "78", ];
models[8]=["Catera", "CTS", "DeVille", "DTS", "Eldorado", "Escalade", "Escalade EXT", "LSE", "Seville", "SRX", "STS", "Vizon", "XLR"];
models_ids[8]=["77", "78", "79", "80", "81", "83", "84", "85", "86", "87", "88", "89", "90", ];
models[9]=["Aveo", "Astro", "Avalanche", "Blazer", "Camaro", "Caprice", "Cavalier", "Chevy Van", "Cobalt", "Colorado", "Corvette",  "Epica", "Equinox", "HHR", "Express", "Impala", "Lumina", "Malibu", "Metro", "Monte Carlo", "S-10", "Silverado", "SSR", "Suburban", "Tahoe", "Tracker", "Trail Blazer", "Traverse", "Venture"];
models_ids[9]=["89", "90", "92", "93", "94", "95", "97", "98", "100", "101", "102", "103", "106", "107", "109", "110", "114", "115", "117", "119", "120", "121", "122", "123", "1097", "1099", "1200", "1201", "1203", ];
models[10]=["300M", "300C", "Aspen", "Concorde", "Crossfire", "Durango", "Grand Voyager", "Intrepid", "Neon", "Pacifica", "Prowler", "PT Cruiser", "Sebring", "Stratus", "Town & Country", "Viper", "Vision", "Voyager"];
models_ids[10]=["124", "125", "127", "128", "130", "131", "132", "133", "139", "140", "142", "143", "144", "145", "146", "147", "1204", "1205", ];
models[11]=["Avenger", "Caliber", "Caravan", "Challenger", "Charger", "Dakota", "Durango", "Grand Caravan", "Intrepid", "Journey", "Magnum", "Neon", "Nitro", "Ram", "Sprinter", "Viper", "Voyager"];
models_ids[11]=["198", "199", "200", "201", "202", "203", "204", "205", "206", "207", "211", "212", "1109", "1110", "1206", "1207", "1208", ];
models[12]=["308", "348", "360 Modena", "456", "550", "575", "599 GTB Fiorano", "612", "Barchetta", "Enzo", "F 355", "F 360", "F 50", "F 512", "F 430", "Maranello", "Mondial", "Testarossa"];
models_ids[12]=["217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "1111", "1112", "1113", ];
models[13]=["Aspire", "Cargo", "Club Wagon", "Cougar", "Crown Victoria", "Econoline", "Edge", "Escape", "Excursion", "Expedition", "Explorer", "Express", "F150", "F-250", "F350", "F450", "F470", "F700", "Flex", "Freestyle", "Focus", "Focus C-MAX", "Freestar", "Fusion", "Mustang", "Ranger", "Shelby GT500", "Taurus", "Taurus X", "Thunderbird", "Windstar", ];
models_ids[13]=["264", "268", "269", "271", "273", "274", "275", "276", "278", "279", "280", "281", "282", "283", "284", "285", "287", "288", "289", "290", "295", "299", "303", "305", "1116", "1209", "1210", "1211", "1212", "1213", "1214", ];
models[14]=["Acadia", "Canyon", "Envoy", "Yukon", "Jimmy", "Savana", "Sierra", "Sonoma"];
models_ids[14]=["319", "320", "321", "323", "324", "325", "1216", "1217", ];
models[15]=["Accord", "Civic", "CR-V", "CRX", "Element", "F-MX", "FIT",  "Insight", "Legend", "NSX", "Odyssey", "Orthia", "Passport", "Pilot", "Prelude", "Ridgeline", "S2000", "Vigor"];
models_ids[15]=["326", "330", "332", "333", "335", "336", "337", "340", "345", "349", "350", "352", "353", "354", "355", "1218", ];
models[16]=["H1", "H2", "H3"];
models_ids[16]=["366", "367", "368", ];
models[17]=["Accent", "Avante", "Azera", "Elantra", "Entourage", "Galloper", "Genesis", "Santa Fe", "Sonata", "Terracan", "Tiburon", "Tucson", "Veracruz", "XG"];
models_ids[17]=["369", "371", "375", "376", "387", "389", "391", "392", "394", "395", "1219", "1220", "1221", "1222", "1223",];
models[18]=["G35 Coupe", "G37 Coupe", "G35 Sedan", "G35X Sedan", "G Sedan", "M35", "M45", "M35X", "M45X", "EX35", "FX35", "FX45", "FX50", "QX56" ];
models_ids[18]=["396", "398", "399", "400", "402", "403", "404", "405", "1224", "1225", "1226", "1227", "1228", "1229", ];
models[19]=["Amigo", "Ascender", "Aska", "Axiom", "Bighorn", "Campo", "D-Max", "Gemini", "HiLander", "Impulse", "Midi", "MU", "NPR", "Panther", "Piazza", "Pick Up", "Rodeo", "Trooper", "Turkuaz", "Vehi Cross", "Wizard", "TF"];
models_ids[19]=["406", "407", "408", "409", "410", "411", "412", "413", "414", "415", "416", "417", "418", "419", "420", "421", "422", "423", "424", "425", "426", "1124", ];
models[20]=["E-Type", "S-Type", "Sovereign", "XF", "X-Type", "XJ-Series", "XK-Series"];
models_ids[20]=["427", "428", "429", "430", "431", "432", "1230", ];
models[21]=["Cherokee", "Commander", "Compass", "Grand Cherokee", "Liberty", "Patriot", "Wrangler"];
models_ids[21]=["433", "434", "435", "436", "1125", "1126", "1127", ];
models[22]=["Amanti", "Borrego", "Carnival", "Magentis", "Potentia", "Rio", "Rio5", "Rondo", "Sephia", "Sorento", "Spectra", "Spectra 5", "Sportage", "Sedona"];
models_ids[22]=["439", "446", "449", "453", "455", "457", "458", "459", "1131", "1231", "1232", "1233", "1234", "1235", ];
models[23]=["Diablo", "Gallardo", "Murcielago"];
models_ids[23]=["489", "490", "491", ];
models[24]=["Defenter", "Discovery", "Freelander", "LR3", "Range Rover"];
models_ids[24]=["507", "508", "509", "510", "1236", ];
models[25]=["ES", "GS", "GX", "IS", "LS", "LX", "RX", "SC", "SL", "GS 300", "GS 430", "GS 450h", "IS 200", "IS 220", "IS 220D", "IS 250", "LS 400", "LS 430", "LS 460", "LS 600 H", "RX 300", "RX 350", "RX 400 H", "SC 430"];
models_ids[25]=["511", "512", "513", "514", "515", "516", "517", "518", "519", "1132", "1133", "1134", "1135", "1136", "1137", "1138", "1139", "1140", "1141", "1142", "1143", "1144", "1146", "1147", ];
models[26]=["Aviator", "Blackwood", "Continental", "LS", "MKS", "MKX", "MKZ", "Navigator", "Town Car"];
models_ids[26]=["520", "521", "522", "523", "525", "526", "1237", "1238", "1239", ];
models[27]=["Elan", "Elise", "Esprit", "Excel"];
models_ids[27]=["527", "528", "529", "530", ];
models[28]=["3200GT", "Biturbo", "Ghibli", "Gransport", "Quatroporte", "Spyder"];
models_ids[28]=["531", "532", "533", "534", "535", "536", ];
models[29]=["Maybach"];
models_ids[29]=["537", ];
models[30]=["323", "626", "929", "3 Sedan", "3 Sport", "5", "6 Sedan", "6 Sport", "6 Wagon", "B-Series", "CX7", "CX9", "Miata", "Mazda Speed", "Milenia", "MPV","PROTÉGÉ ", "PROTÉGÉ 5", "RX7", "RX8", "Tribute"];
models_ids[30]=["540", "541", "542", "543", "544", "545", "546", "548", "549", "562", "563", "564", "565", "570", "571", "572","574", "576", "1148", "1150", ];
models[31]=["B200", "B200 TURBO", "C230", "C230 4MATIC", "C300", "C300 4MATIC", "C350", "C350 4MATIC", "C63 AMG", "CLK350 CABRIOLET", "CLK550 CABRIOLET", "CLK63 AMG CABRIOLET", "CLK350 COUPE", "CLK550 COUPE", "CLS550", "CL550 4MATIC", "CL600", "CL63 AMG", "CL65 AMG", "E300 4MATIC", "E320 BLUETEC", "E350 4MATIC SEDAN", "E350 4MATIC WAGON", "E550 4MATIC", "E63 AMG", "G500", "G55 AMG", "GL450 4MATIC", "GL550 4MATIC", "GLK350 4MATIC", "ML320 BLUETEC 4MATIC", "ML350 4MATIC", "ML550 4MATIC", "ML63 AMG", "R320 BLUETEC 4MATIC", "R350 4MATIC", "S450 4MATIC", "S550 4MATIC", "S600", "S63 AMG", "S65 AMG", "SLK300", "SLK350", "SLK55 AMG", "SL550", "SL63 AMG", "SL600", "SL65 AMG", "SLR MCLAREN", "SLS63 AMG"];
models_ids[31]=["580", "581", "582", "583", "584", "585", "586", "587", "588", "589", "590", "591", "592", "593", "594", "595", "596", "597", "598", "599", "600", "601", "602", "1151", "1152", "1153", "1154", "1155", "1156", "1157", "1158", "1159", "1160", "1161", "1162", "1163", "1164", "1165", "1166", "1167", "1168", "1169", "1171", "1172", "1173", "1174", "1175", "1176", "1177", "1178", "1179", ];
models[32]=["Cougar", "Grand Marquis", "Marauder", "Mystique", "Mountaineer", "Sable", "Topaz", "Tracer", "Villager"];
models_ids[32]=["603", "604", "605", "606", "607", "608", "609", "610", "611", ];
models[33]=["Express", "Maestro", "Metro", "MGF", "MGR V8", "Montego", "TF", "X", "ZR", "ZS", "ZT"];
models_ids[33]=["612", "613", "614", "615", "616", "617", "618", "619", "620", "621", "622", ];
models[34]=["Cooper", "One"];
models_ids[34]=["623", "624", ];
models[35]=["Diamante", "Eclipse", "Endeavor", "Evoliution", "Galant", "Lancer", "Mirage", "Montero", "Outlander", "Starion"];
models_ids[35]=["632", "634", "637", "638", "640", "648", "651", "652", "653", "665", ];
models[36]=["350 Z", "Altima", "Frontier", "Maxima", "Murano", "Pathfinder", "Rogue", "Quest", "Sentra", "Skyline", "X-Terra", "X-Trail"];
models_ids[36]=["671", "673", "683", "689", "692", "701", "704", "708", "711", "712",  "720", "1241", ];
models[37]=["Achieva", "Alero", "Aurora", "Bravada", "Delta 88", "Eighty-Eight", "Intigue", "Silhouette"];
models_ids[37]=["721", "722", "723", "724", "726", "727", "728", "729", ];
models[38]=["Aztek", "G3", "G5", "G6", "G8", "Firebird", "Grand-Am", "Grand-Prix", "Montana", "Solstice", "Sunfire", "Torrent", "Trans Am", "Vibe", "Wave" ];
models_ids[38]=["781", "782", "783", "784", "785", "786", "787", "788", "789", "790", "791", "1256", "1257", "1258", "1259", ];
models[39]=["911", "924", "928", "944", "959", "968", "Boxster", "Cayenne", "Carrera"];
models_ids[39]=["792", "793", "794", "795", "796", "797", "798", "799", "800", ];
models[40]=["Corniche", "Park Ward", "Phantom", "Silver"];
models_ids[40]=["837", "838", "839", "840", ];
models[41]=["100", "200", "214", "216", "220", "25", "400", "416", "420", "45", "600", "620", "623", "75", "800", "827", "Maestro", "MGF", "Mini", "Montego", "Streetwise"];
models_ids[41]=["841", "842", "843", "844", "845", "846", "847", "848", "849", "850", "851", "852", "853", "854", "855", "856", "857", "858", "859", "860", "861", ];
models[42]=["9-3", "9-5", "9-5 Aero", "90", "900", "9000", "95", "96", "99", "Aero"];
models_ids[42]=["862", "863", "864", "865", "866", "867", "868", "869", "870", "871", ];
models[43]=["Astra 3 Door", "Astra 5 Door", "Aura", "ION", "LS", "LW", "Outlook", "SC", "Sky", "SL", "SW", "VUE"];
models_ids[43]=["873", "874", "875", "876", "877", "878", "879", "1242", "1243", "1244", "1245", "1246", ];
models[44]=["City", "Coupe", "Crossblade", "Forfour", "Fortwo", "MCC", "Roadster"];
models_ids[44]=["897", "898", "899", "900", "901", "902", "903", ];
models[45]=["Chairman", "Family", "Istana", "Kalista", "Korando", "Musso", "Rexton"];
models_ids[45]=["904", "905", "906", "907", "908", "909", "910", ];
models[46]=["Forester", "Impreza", "Legacy", "Outback", "Tibeca", "WRX STI"];
models_ids[46]=["911", "912", "913", "914", "915", "916", ];
models[47]=["Equator", "Grand Vitara", "SX4 Hatchback", "SX4 Sedan", "Swift", "XL7"];
models_ids[47]=["928", "929", "930", "931", "932", "933", ];
models[48]=["4Runner", "Avalon", "Avensis", "Camry", "Celica", "Corolla", "Corolla Verso", "Echo", "Highlander", "Yaris", "Yaris Verso", "Land Cruiser", "Martix", "MR2","Prius", "RAV4", "Sequoia", "Solara", "Supra", "Tacoma", "Tercel", "Tundra"];
models_ids[48]=["949", "954", "955", "962", "967", "968", "973", "975", "980", "982", "984", "987", "990", "995", "1003", "1005", "1008", "1010", "1011", "1012", "1014", "1247", ];
models[49]=["Beetle", "City Jetta", "Corrado", "Gity Golf", "Golf", "Golf Plus", "Jetta", "Jetta Wagon", "Multivan", "New Beetle", "Passat", "Passat Wagon", "Phaeton",  "Routan", "Taro", "Tiguan", "Turareg 2", "Touareg", "Touran"];
models_ids[49]=["1017", "1021", "1024", "1025", "1027", "1030", "1031", "1032", "1033", "1038", "1039", "1040", "1260", "1261", "1262", "1263", "1264", "1265", "1266", ];
models[50]=["240", "264", "340-360", "440", "460", "480", "740", "760", "780", "850", "940", "960", "C30", "C70", "S40", "S60", "S80", "S90", "Torslanda", "V40", "V50", "V70", "V90", "XC70", "XC90"];
models_ids[50]=["1043", "1044", "1045", "1046", "1047", "1048", "1049", "1050", "1051", "1052", "1053", "1054", "1055", "1056", "1057", "1058", "1059", "1060", "1061", "1062", "1063", "1064", "1065", "1066", "1268", ];
var makelist = document.sr_auto.sr_mark;
var modellist = document.sr_auto.sr_model;
modellist.options[0] = new Option(models[0][0], 0);
function update_models(selectedgroup)
{
modellist.options.length = 0;
if(selectedgroup > 0)
{
for(i = 0; i <= models[selectedgroup].length; i++)
{
if( i == 0)
modellist.options[modellist.options.length] = new Option(models[0][0], 0);
 else
modellist.options[modellist.options.length] = new Option(models[selectedgroup][i-1], models[selectedgroup][i-1]);
}
}
if(selectedgroup == 0){
modellist.options[modellist.options.length] = new Option(models[0][0], 0);
}
}
