
		function modelSelectF(currentBrand) {
			/*
			content = '';
			content += '<select name="selectForm[model]" id="modelSelect" onchange="yearSelectF(document.getElementById(\'brand\').options[document.getElementById(\'brand\').selectedIndex].value, this.options[this.selectedIndex].value);"><option value="0" selected>Select Model</option>';

			if (currentBrand == 0) {
				objModelSelect 	= document.getElementById('modelSelect');
				objModelSelect.disabled = true;
				
				objYearSelect 	= document.getElementById('yearSelect');
				objYearSelect.disabled = true;
				
			} else {
				for (modelValue in brands[currentBrand]['models']) {
					content += '<option value="'+modelValue+'">'+brands[currentBrand]['models'][modelValue]['name']+'</option>';
				}
				content += '</select>';

				objModel = document.getElementById('model');
				objModel.innerHTML = content;
			}*/
		}

		
		function yearSelectF(currentBrand, currentModel) {
			/*content = '';
			content += '<select name="selectForm[year]" id="yearSelect"><option value="0" selected>Year</option>';

			if (currentBrand == 0 || currentModel == 0) {

				objYearSelect 	= document.getElementById('yearSelect');
				objYearSelect.disabled = true;
				
			} else {
				for (yearValue in brands[currentBrand]['models'][currentModel]['years']) {
					content += '<option value="'+yearValue+'">'+brands[currentBrand]['models'][currentModel]['years'][yearValue]+'</option>';
				}
				content += '</select>';

				objYear = document.getElementById('year');
				objYear.innerHTML = content;
			}*/
		}

		function submitSelectForm(currentBrand) { //, currentModel, currentYear
			if (currentBrand == 0) {
				//
			} else {
/*				if (currentModel == 0) {
					brand = brands[currentBrand]['seo_url_prefix'];*/
					document.location.href= brands[currentBrand]['seo_url_prefix']+'-cid-'+currentBrand+'-1.html';
/*				} else {
					if (currentYear == 0) {
						document.location.href= brands[currentBrand]['models'][currentModel]['seo_url_prefix']+'-cid-'+currentModel+'-1.html';
					} else {
						document.location.href= brands[currentBrand]['models'][currentModel]['years'][currentYear]+'-cid-'+currentYear+'-1.html';
					}
				}*/
			}
		}
