var preOption = "year";
var posOption = "Vehicle"

function displayYearVehicles(id, length){
	hideAllYearVehicles(length);
	document.getElementById(id+posOption).className = "yearVehicle";
}

function hideAllYearVehicles(totalOptions){
	for(var i=0; i<totalOptions; ++i){
		document.getElementById(preOption+i+posOption).className = "noYearVehicle";
	}
}
