	var models = {};

			if (models['82'] == undefined) { models['82'] = []; }
		models['82'].push({ 'id' : '2104', 'name' : '116'});
			if (models['82'] == undefined) { models['82'] = []; }
		models['82'].push({ 'id' : '2105', 'name' : '118'});
			if (models['123'] == undefined) { models['123'] = []; }
		models['123'].push({ 'id' : '3061', 'name' : '2'});
			if (models['123'] == undefined) { models['123'] = []; }
		models['123'].push({ 'id' : '3062', 'name' : '3'});
			if (models['82'] == undefined) { models['82'] = []; }
		models['82'].push({ 'id' : '2113', 'name' : '318'});
			if (models['82'] == undefined) { models['82'] = []; }
		models['82'].push({ 'id' : '2114', 'name' : '320'});
			if (models['123'] == undefined) { models['123'] = []; }
		models['123'].push({ 'id' : '3065', 'name' : '5'});
			if (models['82'] == undefined) { models['82'] = []; }
		models['82'].push({ 'id' : '2126', 'name' : '525'});
			if (models['82'] == undefined) { models['82'] = []; }
		models['82'].push({ 'id' : '2128', 'name' : '530'});
			if (models['123'] == undefined) { models['123'] = []; }
		models['123'].push({ 'id' : '3066', 'name' : '6'});
			if (models['82'] == undefined) { models['82'] = []; }
		models['82'].push({ 'id' : '2145', 'name' : '740'});
			if (models['82'] == undefined) { models['82'] = []; }
		models['82'].push({ 'id' : '2147', 'name' : '750'});
			if (models['82'] == undefined) { models['82'] = []; }
		models['82'].push({ 'id' : '2148', 'name' : '760'});
			if (models['103'] == undefined) { models['103'] = []; }
		models['103'].push({ 'id' : '2761', 'name' : 'Accent'});
			if (models['70'] == undefined) { models['70'] = []; }
		models['70'].push({ 'id' : '1971', 'name' : 'Ace'});
			if (models['147'] == undefined) { models['147'] = []; }
		models['147'].push({ 'id' : '3668', 'name' : 'Alhambra'});
			if (models['156'] == undefined) { models['156'] = []; }
		models['156'].push({ 'id' : '3770', 'name' : 'Auris'});
			if (models['156'] == undefined) { models['156'] = []; }
		models['156'].push({ 'id' : '3772', 'name' : 'Avensis'});
			if (models['110'] == undefined) { models['110'] = []; }
		models['110'].push({ 'id' : '2875', 'name' : 'Carens'});
			if (models['110'] == undefined) { models['110'] = []; }
		models['110'].push({ 'id' : '2877', 'name' : 'Cee d'});
			if (models['124'] == undefined) { models['124'] = []; }
		models['124'].push({ 'id' : '3175', 'name' : 'CL600'});
			if (models['139'] == undefined) { models['139'] = []; }
		models['139'].push({ 'id' : '3574', 'name' : 'Clio'});
			if (models['128'] == undefined) { models['128'] = []; }
		models['128'].push({ 'id' : '3351', 'name' : 'Clubman'});
			if (models['129'] == undefined) { models['129'] = []; }
		models['129'].push({ 'id' : '3359', 'name' : 'Colt'});
			if (models['96'] == undefined) { models['96'] = []; }
		models['96'].push({ 'id' : '2470', 'name' : 'Connect Tourneo'});
			if (models['128'] == undefined) { models['128'] = []; }
		models['128'].push({ 'id' : '3352', 'name' : 'Cooper'});
			if (models['156'] == undefined) { models['156'] = []; }
		models['156'].push({ 'id' : '3778', 'name' : 'Corolla'});
			if (models['156'] == undefined) { models['156'] = []; }
		models['156'].push({ 'id' : '3779', 'name' : 'Corolla Verso'});
			if (models['133'] == undefined) { models['133'] = []; }
		models['133'].push({ 'id' : '3471', 'name' : 'Corsa'});
			if (models['101'] == undefined) { models['101'] = []; }
		models['101'].push({ 'id' : '2731', 'name' : 'CR-V'});
			if (models['123'] == undefined) { models['123'] = []; }
		models['123'].push({ 'id' : '3077', 'name' : 'CX-7'});
			if (models['114'] == undefined) { models['114'] = []; }
		models['114'].push({ 'id' : '2974', 'name' : 'Discovery'});
			if (models['96'] == undefined) { models['96'] = []; }
		models['96'].push({ 'id' : '2492', 'name' : 'Fiesta'});
			if (models['96'] == undefined) { models['96'] = []; }
		models['96'].push({ 'id' : '2494', 'name' : 'Focus'});
			if (models['96'] == undefined) { models['96'] = []; }
		models['96'].push({ 'id' : '2495', 'name' : 'Focus C-MAX'});
			if (models['96'] == undefined) { models['96'] = []; }
		models['96'].push({ 'id' : '2498', 'name' : 'Fusion'});
			if (models['103'] == undefined) { models['103'] = []; }
		models['103'].push({ 'id' : '2769', 'name' : 'Getz'});
			if (models['161'] == undefined) { models['161'] = []; }
		models['161'].push({ 'id' : '3881', 'name' : 'Golf'});
			if (models['139'] == undefined) { models['139'] = []; }
		models['139'].push({ 'id' : '3580', 'name' : 'Grand Scenic'});
			if (models['103'] == undefined) { models['103'] = []; }
		models['103'].push({ 'id' : '2770', 'name' : 'Grandeur'});
			if (models['129'] == undefined) { models['129'] = []; }
		models['129'].push({ 'id' : '3366', 'name' : 'Grandis'});
			if (models['116'] == undefined) { models['116'] = []; }
		models['116'].push({ 'id' : '2988', 'name' : 'GS 450'});
			if (models['103'] == undefined) { models['103'] = []; }
		models['103'].push({ 'id' : '2775', 'name' : 'i20'});
			if (models['103'] == undefined) { models['103'] = []; }
		models['103'].push({ 'id' : '2776', 'name' : 'i30'});
			if (models['116'] == undefined) { models['116'] = []; }
		models['116'].push({ 'id' : '2992', 'name' : 'IS 200'});
			if (models['101'] == undefined) { models['101'] = []; }
		models['101'].push({ 'id' : '2743', 'name' : 'Jazz'});
			if (models['166'] == undefined) { models['166'] = []; }
		models['166'].push({ 'id' : '3988', 'name' : 'K 1600 GTL'});
			if (models['96'] == undefined) { models['96'] = []; }
		models['96'].push({ 'id' : '2502', 'name' : 'Ka'});
			if (models['129'] == undefined) { models['129'] = []; }
		models['129'].push({ 'id' : '3370', 'name' : 'Lancer'});
			if (models['129'] == undefined) { models['129'] = []; }
		models['129'].push({ 'id' : '3371', 'name' : 'Lancer Evolution'});
			if (models['96'] == undefined) { models['96'] = []; }
		models['96'].push({ 'id' : '2506', 'name' : 'Mondeo'});
			if (models['131'] == undefined) { models['131'] = []; }
		models['131'].push({ 'id' : '3424', 'name' : 'Note'});
			if (models['129'] == undefined) { models['129'] = []; }
		models['129'].push({ 'id' : '3373', 'name' : 'Outlander'});
			if (models['161'] == undefined) { models['161'] = []; }
		models['161'].push({ 'id' : '3891', 'name' : 'Passat'});
			if (models['95'] == undefined) { models['95'] = []; }
		models['95'].push({ 'id' : '2448', 'name' : 'Punto Evo'});
			if (models['131'] == undefined) { models['131'] = []; }
		models['131'].push({ 'id' : '3433', 'name' : 'Qashqai'});
			if (models['114'] == undefined) { models['114'] = []; }
		models['114'].push({ 'id' : '2976', 'name' : 'Range Rover'});
			if (models['114'] == undefined) { models['114'] = []; }
		models['114'].push({ 'id' : '2977', 'name' : 'Range Rover Sport'});
			if (models['96'] == undefined) { models['96'] = []; }
		models['96'].push({ 'id' : '2511', 'name' : 'Ranger'});
			if (models['156'] == undefined) { models['156'] = []; }
		models['156'].push({ 'id' : '3802', 'name' : 'RAV4'});
			if (models['96'] == undefined) { models['96'] = []; }
		models['96'].push({ 'id' : '2512', 'name' : 'S-MAX'});
			if (models['103'] == undefined) { models['103'] = []; }
		models['103'].push({ 'id' : '2787', 'name' : 'Santa Fe'});
			if (models['103'] == undefined) { models['103'] = []; }
		models['103'].push({ 'id' : '2789', 'name' : 'Sonata'});
			if (models['113'] == undefined) { models['113'] = []; }
		models['113'].push({ 'id' : '2968', 'name' : 'Thesis'});
			if (models['161'] == undefined) { models['161'] = []; }
		models['161'].push({ 'id' : '3903', 'name' : 'Touran'});
			if (models['96'] == undefined) { models['96'] = []; }
		models['96'].push({ 'id' : '2521', 'name' : 'Tourneo'});
			if (models['103'] == undefined) { models['103'] = []; }
		models['103'].push({ 'id' : '2793', 'name' : 'Trajet'});
			if (models['96'] == undefined) { models['96'] = []; }
		models['96'].push({ 'id' : '2522', 'name' : 'Transit'});
			if (models['96'] == undefined) { models['96'] = []; }
		models['96'].push({ 'id' : '3986', 'name' : 'Transit Connect'});
			if (models['79'] == undefined) { models['79'] = []; }
		models['79'].push({ 'id' : '2093', 'name' : 'TT'});
			if (models['82'] == undefined) { models['82'] = []; }
		models['82'].push({ 'id' : '2159', 'name' : 'X3'});
			if (models['82'] == undefined) { models['82'] = []; }
		models['82'].push({ 'id' : '2160', 'name' : 'X5'});
			if (models['82'] == undefined) { models['82'] = []; }
		models['82'].push({ 'id' : '2162', 'name' : 'X6'});
			if (models['108'] == undefined) { models['108'] = []; }
		models['108'].push({ 'id' : '2849', 'name' : 'XF'});
			if (models['108'] == undefined) { models['108'] = []; }
		models['108'].push({ 'id' : '2850', 'name' : 'XJ'});
			if (models['108'] == undefined) { models['108'] = []; }
		models['108'].push({ 'id' : '2855', 'name' : 'XJ8'});
			if (models['156'] == undefined) { models['156'] = []; }
		models['156'].push({ 'id' : '3815', 'name' : 'Yaris'});
	
	jQuery(function($) {

		$('#SearchBrandId').change(function() {
			var brandId = $(this).val();
			var html = '<option value="">- Modelis -</option>';
			$.each(models[brandId] || [], function(index, element) {
				html += '<option value="' + element.id + '">' + element.name + '</option>';
			});
			$('#SearchModelId').empty().html(html);
		});

	});

