	function handleCallback(obj)
	{
		var sIndex = obj.selectedIndex;
		var sValue = obj.options[sIndex].value;
		var sText = obj.options[sIndex].text;
		//alert(sText + " " + sValue);
		
		if(sIndex!=0)
		{
		
			var strURL = "ajaxhelper_makemodelldropdown.aspx?makeid=" + sValue;
			
			Http.get({
					url: strURL,
					callback: handleReply,
					cache: Http.Cache.Get
					});
		}
		else
			document.getElementById("model").length=1;

	}
	
	function handleReply(xmlreply)
	{
		document.getElementById("model").length=1;
		if(xmlreply.status == Http.Status.OK)
		{
			if(xmlreply.responseText!="error")
			{
				var modellist = xmlreply.responseText.split("||");
				var modelDD = document.getElementById("model");
				//delete old options
				modelDD.length=1;
				for(var i=0;i<modellist.length;i++)
				{
					modelDD[modelDD.length] = new Option(modellist[i].split("|")[1]);
					modelDD[modelDD.length-1].value = modellist[i].split("|")[0];
				}
				//alert(modellist.length);
			}
			else
			{}
		}
	}