anchor.diff:  		});
   	}
   	
  +	function showDistricts(select){
  +		$.ajax({
  +			url : "http://<%=request.getServerName()%>:7001/rms/districts",
  +			data: {areaId: ($("#area")[0].selectedIndex + 1)},
  +			success: function(data) {
  +				$("#district").empty();
  +				for (i = 0; i < data.length; i++)
  +					$("#district").append("<option value='" + data[i].id + "'>" + data[i].name + "</option>");
  +				if (select) $("#district option[value='" + districtId + "']").attr("selected", "selected");
  +			}
  +		});
  +	}
  +	
   	function changeStatus(availability){ 
   		if (availability == false){
   			$("#distribute").val("true");
  
positive.code: 				data: {id: id},
  				cache: false,
  				success: function(data) {
  					$.ajax({
  						url : "http://<%=request.getServerName()%>:7001/rms/district",
  						data: {districtId: data.districtId},
  						success: function(data) {
  							$("#area")[0].selectedIndex = data.areaId - 1;
  							$.ajax({
  								url : "http://<%=request.getServerName()%>:7001/rms/districts",
  								data: {areaId: data.areaId},
  								success: function(data) {
  									$("#district").empty();
  									for (i = 0; i < data.length; i++)
  										$("#district").append("<option>" + data[i].name + "</option>");
  									
  								}
  							});
  						}
  					});
  				}
  
negative.code: <script
  	src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
  <script>
  	var id = <%=id%>, type, number, districtId, refresh = false;
  	function showTickets(){
  		$("#tickettable").empty();
  		$.ajax({
  