function bindmodel() {
				$("#model").attr("disabled", true);
				$("#model").html('');
				
				var qs = $("#make").val();
				if(qs == '') {
					alert('You cannot select this option. Please make a different selection.');
				}
				else {
					$("#model").append(new Option('Getting model list ...'));
					var modelOptions = new Array();
					$.get("makelist.php?makeid=" + qs, function(data) {
							eval(data);
							if(modelOptions.length > 0) {
								addOptions(modelOptions);
							}
						}
					);
				}
			}
			
			function addOptions(cl) {
				$("#model").removeAttr("disabled");
				$("#model").html('');
				var model = document.getElementById('model');
				for(var i = 0; i < cl.length; i++) {
					model.options[i] = new Option(cl[i].text, cl[i].value);
				}
			}
