var manufacturer = new Object()
manufacturer["TomTom"] = 	[{value:"TomTom ONE (4N00.001)", text:"TomTom ONE (4N00.001)"},
                      	{value:"TomTom ONE (4N00.004.2)", text:"TomTom ONE (4N00.004.2)"},
                      	{value:"Tomtom ONE 3Rd Edition(4N01.000)", text:"Tomtom ONE 3Rd Edition(4N01.000)"},
                      	{value:"Tomtom ONE Europe 22 Assist", text:"Tomtom ONE Europe 22 Assist"},
				{value:"Tomtom ONE Regional", text:"Tomtom ONE Regional"},
				{value:"Tomtom ONE XL Regional Assist", text:"Tomtom ONE XL Regional Assist"},
				{value:"TomTom ONE XL (4500.006)", text:"TomTom ONE XL (4500.006)"},
				{value:"Tomtom ONE XL Europe 22", text:"Tomtom ONE XL Europe 22"},
				{value:"TomTom GO (4D00.001)", text:"TomTom GO (4D00.001)"},
				{value:"TomTom GO 300 (4D00.300)", text:"TomTom GO 300 (4D00.300)"},
				{value:"TomTom GO 500 (4D00.500)", text:"TomTom GO 500 (4D00.500)"},
				{value:"TomTom GO 510 (4V00.510)", text:"TomTom GO 510 (4V00.510)"},
				{value:"TomTom GO 520 (4M00.000)", text:"TomTom GO 520 (4M00.000)"},
				{value:"TomTom GO 530", text:"TomTom GO 530"},
				{value:"TomTom GO 540", text:"TomTom GO 540"},
				{value:"TomTom GO 700 (4D00.700)", text:"TomTom GO 700 (4D00.700)"},
				{value:"TomTom GO 710 (4V00.710)", text:"TomTom GO 710 (4V00.710)"},
				{value:"TomTom GO 720 (4M00.002)", text:"TomTom GO 720 (4M00.002)"},
				{value:"TomTom GO 730", text:"TomTom GO 730"},
				{value:"TomTom GO 740", text:"TomTom GO 740"},
				{value:"TomTom GO 910 (4V00.910)", text:"TomTom GO 910 (4V00.910)"},
				{value:"TomTom GO 920", text:"TomTom GO 920"},
				{value:"TomTom GO 930 (4CH9.000)", text:"TomTom GO 930 (4CH9.000)"},
				{value:"TomTom GO 940", text:"TomTom GO 940"},
				{value:"TomTom RIDER Europe 2nd edition", text:"TomTom RIDER Europe 2nd edition"},
				{value:"TomTom RIDER Regional 2nd edition", text:"TomTom RIDER Regional 2nd edition"}];
manufacturer["Garmin"] =  	[{value:"Garmin-Colorado-400c", text:"Garmin-Colorado-400c"},
                        	{value:"Garmin-Colorado-400i", text:"Garmin-Colorado-400i"},
                        	{value:"Garmin-Colorado-400t", text:"Garmin-Colorado-400t"},
                       	 {value:"Garmin-Edge-205", text:"Garmin-Edge-205"},
				{value:"Garmin-Edge-305", text:"Garmin-Edge-305"},
				{value:"Garmin-Emap", text:"Garmin-Emap"},
				{value:"Garmin-Etrex", text:"Garmin-Etrex"},
				{value:"Garmin-Etrexcamo", text:"Garmin-Etrexcamo"},
				{value:"Garmin-EtrexLegend", text:"Garmin-EtrexLegend"},
				{value:"Garmin-EtrexSummit", text:"Garmin-EtrexSummit"},
				{value:"Garmin-EtrexVenture", text:"Garmin-EtrexVenture"},
				{value:"Garmin-EtrexVista", text:"Garmin-EtrexVista"},
				{value:"Garmin-Ique-3200", text:"Garmin-Ique-3200"},
				{value:"Garmin-iQue-3600", text:"Garmin-iQue-3600"},
				{value:"Garmin-iQueM3", text:"Garmin-iQueM3"},
				{value:"Garmin-iQueM4", text:"Garmin-iQueM4"},
				{value:"Garmin-iQueM5", text:"Garmin-iQueM5"},
				{value:"Garmin-Nuvi-200", text:"Garmin-Nuvi-200"},
				{value:"Garmin-Nuvi-250", text:"Garmin-Nuvi-250"},
				{value:"Garmin-Nuvi-260", text:"Garmin-Nuvi-260"},
				{value:"Garmin-Nuvi-270", text:"Garmin-Nuvi-270"},
				{value:"Garmin-Nuvi-300", text:"Garmin-Nuvi-300"},
				{value:"Garmin-Nuvi-350", text:"Garmin-Nuvi-350"},
				{value:"Garmin-Nuvi-370", text:"Garmin-Nuvi-370"},
				{value:"Garmin-Nuvi-610", text:"Garmin-Nuvi-610"},
				{value:"Garmin-Nuvi-660", text:"Garmin-Nuvi-660"},
				{value:"Garmin-Nuvi-750", text:"Garmin-Nuvi-750"},
				{value:"Garmin-Nuvi-760", text:"Garmin-Nuvi-760"},
				{value:"Garmin-Nuvi-770", text:"Garmin-Nuvi-770"},
				{value:"Garmin-Nuvi-850", text:"Garmin-Nuvi-850"},
				{value:"Garmin-Nuvi-855", text:"Garmin-Nuvi-855"},
				{value:"Garmin-Nuvi-860", text:"Garmin-Nuvi-860"},
				{value:"Garmin-Nuvi-880", text:"Garmin-Nuvi-880"},
				{value:"Garmin-Nuvi-885", text:"Garmin-Nuvi-885"},
				{value:"Garmin-Nuvi-900", text:"Garmin-Nuvi-900"},
				{value:"Garmin-Nuvi-5000", text:"Garmin-Nuvi-5000"},
				{value:"Garmin-Oregon-200", text:"Garmin-Oregon-200"},
				{value:"Garmin-Oregon-300", text:"Garmin-Oregon-300"},
				{value:"Garmin-Oregon-400c", text:"Garmin-Oregon-400c"},
				{value:"Garmin-Oregon-400i", text:"Garmin-Oregon-400i"},
				{value:"Garmin-Oregon-400t", text:"Garmin-Oregon-400t"},
				{value:"Garmin-Quest-2", text:"Garmin-Quest-2"},
				{value:"Garmin-Quest", text:"Garmin-Quest"},
				{value:"Garmin-StreetPilot-2610", text:"Garmin-StreetPilot-2610"},
				{value:"Garmin-StreetPilot-2620", text:"Garmin-StreetPilot-2620"},
				{value:"Garmin-StreetPilot-2650", text:"Garmin-StreetPilot-2650"},
				{value:"Garmin-StreetPilot-2660", text:"Garmin-StreetPilot-2660"},
				{value:"Garmin-StreetPilot-2720", text:"Garmin-StreetPilot-2720"},
				{value:"Garmin-StreetPilot-2730", text:"Garmin-StreetPilot-2730"},
				{value:"Garmin-StreetPilot-2820", text:"Garmin-StreetPilot-2820"},
				{value:"Garmin-StreetPilot-7200", text:"Garmin-StreetPilot-7200"},
				{value:"Garmin-StreetPilot-7500", text:"Garmin-StreetPilot-7500"},
				{value:"Garmin-StreetPilot-C310", text:"Garmin-StreetPilot-C310"},
				{value:"Garmin-StreetPilot-C320", text:"Garmin-StreetPilot-C320"},
				{value:"Garmin-StreetPilot-C330", text:"Garmin-StreetPilot-C330"},
				{value:"Garmin-StreetPilot-C340", text:"Garmin-StreetPilot-C340"},
				{value:"Garmin-StreetPilot-C510", text:"Garmin-StreetPilot-C510"},
				{value:"Garmin-StreetPilot-C530", text:"Garmin-StreetPilot-C530"},
				{value:"Garmin-StreetPilot-C550", text:"Garmin-StreetPilot-C550"},
				{value:"Garmin-StreetPilot-C580", text:"Garmin-StreetPilot-C580"},
				{value:"Garmin-StreetPilot-i3", text:"Garmin-StreetPilot-i3"},
				{value:"Garmin-Streetpilot-i5", text:"Garmin-Streetpilot-i5"},
				{value:"Garmin-Zumo-550", text:"Garmin-Zumo-550"},
				{value:"Garmin-Zumo", text:"Garmin-Zumo"}];
manufacturer["Navman"] = 	[{value:"Navman-300T", text:"Navman-300T"},
                        	{value:"Navman-510-2", text:"Navman-510-2"},
                        	{value:"Navman-f15", text:"Navman-f15"},
				{value:"Navman-f20", text:"Navman-f20"},
				{value:"Navman-f25", text:"Navman-f25"},
				{value:"Navman-F40", text:"Navman-F40"},
				{value:"Navman-f40-europe", text:"Navman-f40-europe"},
				{value:"Navman-icn-320", text:"Navman-icn-320"},
				{value:"Navman-icn-330", text:"Navman-icn-330"},
				{value:"Navman-icn-510", text:"Navman-icn-510"},
				{value:"Navman-icn-520", text:"Navman-icn-520"},
				{value:"Navman-icn-530", text:"Navman-icn-530"},
				{value:"Navman-icn-550", text:"Navman-icn-550"},
				{value:"Navman-icn-610", text:"Navman-icn-610"},
				{value:"Navman-icn-630", text:"Navman-icn-630"},
				{value:"Navman-icn-650", text:"Navman-icn-650"},
				{value:"Navman-icn-720", text:"Navman-icn-720"},
				{value:"Navman-icn-750", text:"Navman-icn-750"},
				{value:"Navman-n20i", text:"Navman-n20i"},
				{value:"Navman-n40i", text:"Navman-n40i"},
				{value:"Navman-N60i", text:"Navman-N60i"},
				{value:"Navman-s30", text:"Navman-s30"},
				{value:"Navman-S50", text:"Navman-S50"},
				{value:"Navman-S70", text:"Navman-S70"},
				{value:"Navman-S80", text:"Navman-S80"},
				{value:"Navman-s90", text:"Navman-s90"},
				{value:"Navman-s90i-gps", text:"Navman-s90i-gps"},
				{value:"Navman-s100", text:"Navman-s100"},
				{value:"Navman-s200", text:"Navman-s200"},
				{value:"Navman-s300t_1", text:"Navman-s300t_1"}];

manufacturer["Medion"] = 	[{value:"Medion-GoPalE3115", text:"Medion-GoPalE3115"},
                        	{value:"Medion-GoPalE3215", text:"Medion-GoPalE3215"},
                        	{value:"Medion-GoPalE3315", text:"Medion-GoPalE3315"},
                        	{value:"Medion-GoPalE3415", text:"Medion-GoPalE3415"},
				{value:"Medion-GoPalE4110", text:"Medion-GoPalE4110"},
				{value:"Medion-GoPalE4215", text:"Medion-GoPalE4215"},
				{value:"Medion-GoPalP4210", text:"Medion-GoPalP4210"},
				{value:"Medion-GoPalP4225", text:"Medion-GoPalP4225"},
				{value:"Medion-GoPalP4410", text:"Medion-GoPalP4410"},
				{value:"Medion-GoPalP4425", text:"Medion-GoPalP4425"},
				{value:"Medion-GoPalPNA205", text:"Medion-GoPalPNA205"},
				{value:"Medion-GoPalS2310", text:"Medion-GoPalS2310"},
				{value:"Medion-GoPalX4510", text:"Medion-GoPalX4510"},
				{value:"Medion-PNA210", text:"Medion-PNA210"},
				{value:"Medion-PNA460", text:"Medion-PNA460"},
				{value:"Medion-PNA470", text:"Medion-PNA470"},
				{value:"Medion-PNA500", text:"Medion-PNA500"}];
manufacturer["Mio"] = 	[{value:"MioA501", text:"MioA501"},
				{value:"MioA702", text:"MioA702"},
				{value:"MioC250", text:"MioC250"},
				{value:"MioC320", text:"MioC320"},
				{value:"MioC520", text:""},
				{value:"", text:"MioC520"},
				{value:"MioC720", text:"MioC720"},
				{value:"MioC725", text:"MioC725"},
				{value:"MioMoov200", text:"MioMoov200"},
				{value:"MioMoov300", text:"MioMoov300"},
				{value:"MioMoov310", text:"MioMoov310"},
				{value:"MioMoov330", text:"MioMoov330"},
				{value:"MioMoov360", text:"MioMoov360"},
				{value:"MioMoov370", text:"MioMoov370"},
				{value:"MioMoov500", text:"MioMoov500"},
				{value:"MioP350", text:"MioP350"},
				{value:"MioP360", text:"MioP360"},
				{value:"MioP560", text:"MioP560"}];
manufacturer["SONY"] = 	[{value:"SONY-NV-U52", text:"SONY-NV-U52"},
                        	{value:"SONY-NV-U53", text:"SONY-NV-U53"},
                        	{value:"SONY-NV-U72T", text:"SONY-NV-U72T"},
                        	{value:"SONY-NV-U73T", text:"SONY-NV-U73T"},
				{value:"SONY-NV-U82", text:"SONY-NV-U82"},
				{value:"SONY-NV-U83", text:"SONY-NV-U83"},
				{value:"SONY-NV-U92T", text:"SONY-NV-U92T"},
				{value:"SONY-NV-U93T", text:"SONY-NV-U93T"}];
manufacturer["Magellan"] = [{value:"Magellan Maestro 3200", text:"Magellan Maestro 3200"},
				{value:"Magellan Maestro 3210", text:"Magellan Maestro 3210"},
				{value:"Magellan Maestro 3220", text:"Magellan Maestro 3220"},
				{value:"Magellan Maestro 3225", text:"Magellan Maestro 3225"},
				{value:"Magellan Maestro 3250", text:"Magellan Maestro 3250"},
				{value:"Magellan Maestro 4200", text:"Magellan Maestro 4200"},
				{value:"Magellan Maestro 4210", text:"Magellan Maestro 4210"},
				{value:"Magellan Maestro 4220", text:"Magellan Maestro 4220"},
				{value:"Magellan Maestro 4250", text:"Magellan Maestro 4250"},
				{value:"Magellan Maestro 4350", text:"Magellan Maestro 4350"},
				{value:"Magellan Maestro 4370", text:"Magellan Maestro 4370"},
				{value:"Magellan Maestro 5310", text:"Magellan Maestro 5310"},
				{value:"Magellan RoadMate 1200", text:"Magellan RoadMate 1200"},
				{value:"Magellan RoadMate 1210", text:"Magellan RoadMate 1210"},
				{value:"Magellan RoadMate 1212", text:"Magellan RoadMate 1212"},
				{value:"Magellan RoadMate 1220", text:"Magellan RoadMate 1220"},
				{value:"Magellan RoadMate 1340", text:"Magellan RoadMate 1340"},
				{value:"Magellan RoadMate 1400", text:"Magellan RoadMate 1400"},
				{value:"Magellan RoadMate 1412", text:"Magellan RoadMate 1412"},
				{value:"Magellan RoadMate 1430", text:"Magellan RoadMate 1430"},
				{value:"Magellan RoadMate 1440", text:"Magellan RoadMate 1440"},
				{value:"Magellan RoadMate 1470", text:"Magellan RoadMate 1470"},
				{value:"Magellan Triton 200", text:"Magellan Triton 200"},
				{value:"Magellan Triton 300", text:"Magellan Triton 300"},
				{value:"Magellan Triton 400", text:"Magellan Triton 400"},
				{value:"Magellan Triton 500", text:"Magellan Triton 500"},
				{value:"Magellan Triton 1500", text:"Magellan Triton 1500"},
				{value:"Magellan Triton 2000", text:"Magellan Triton 2000"}];

function setModels(chooser) {
    var newElem;
    var where = (navigator.appName == "Microsoft Internet Explorer") ? -1 : null;
    var modelChooser = chooser.form.elements["model"];
    while (modelChooser.options.length) {
        modelChooser.remove(0);
    }
    var choice = chooser.options[chooser.selectedIndex].value;
    var db = manufacturer[choice];
    newElem = document.createElement("option");
    newElem.text = "Choose a model:";
    newElem.value = "";
    modelChooser.add(newElem, where);
    if (choice != "") {
        for (var i = 0; i < db.length; i++) {
            newElem = document.createElement("option");
            newElem.text = db[i].text;
            newElem.value = db[i].value;
            modelChooser.add(newElem, where);
        }
    }
}
