anchor.diff:  		
   		$(".content").hide();
   		
  +		// Show Tickets
   		$("#show").on("click", "button", function(){
   			type = $(this).val();
   			$("h2").text($(this).text() + " Tickets");
  
positive.code: 			clearTimeout(refresh);
  		});
  		
  		$("#add").hover(function(){
  		    $("#add option:first-child").text("Select Size");
  		}, function(){
  		    $("#add option:first-child").text("Add Ticket");
  		});
  		
  		$("#add").change(function(){
  			$.ajax({
  				url : "http://<%=request.getServerName()%>:7001/rms/ticket/create",
  				data: {id: id, type: type, size: $("#add").val()},
  				cache: false,
  				success: function(data) {
  					showTickets();
  				}
  			});
  			$("#add")[0].selectedIndex = 0;
  		});
  		
  		$("#call").click(function(){
  			$.ajax({
  				url : "http://<%=request.getServerName()%>:7001/rms/ticket/call",
  				data: {id: id, type: type},
  				cache: false,
  				success: function(data) {
  					showTickets();
  				}
  			});
  		});
  		
  		$("#tickettable").on("click", ".remove", function(){
  			number = $(this).val();
  			$.ajax({
  				url : "http://<%=request.getServerName()%>:7001/rms/ticket/remove",
  				data: {id: id, type:type, number:number},
  				cache: false,
  				success: function(data) {
  					showTickets();
  				}
  			});
  		});
  	});
  </script>
  </head>
  
negative.code: 			refresh = setInterval(function(){showTickets()}, 5000);
  		});
  		
  		$("#add").hover(function(){
  		    $("#add option:first-child").text("Select Size");
  		}, function(){
  		    $("#add option:first-child").text("Add Ticket");
  		});
  		
  		$("#add").change(function(){
  			$.ajax({
  				url : "http://<%=request.getServerName()%>:7001/rms/ticket/create",
  				data: {id: id, type: type, size: $("#add").val()},
  				cache: false,
  				success: function(data) {
  					showTickets();
  				}
  			});
  			$("#add")[0].selectedIndex = 0;
  		});
  		
  		$("#call").click(function(){
  			$.ajax({
  				url : "http://<%=request.getServerName()%>:7001/rms/ticket/call",
  				data: {id: id, type: type},
  				cache: false,
  				success: function(data) {
  					showTickets();
  				}
  			});
  		});
  		
  		$("#tickettable").on("click", ".remove", function(){
  			number = $(this).val();
  			$.ajax({
  				url : "http://<%=request.getServerName()%>:7001/rms/ticket/remove",
  				data: {id: id, type:type, number:number},
  				cache: false,
  				success: function(data) {
  					showTickets();
  				}
  			});
  		});
  		
  		$("#distribute").click(function(){
  			$.ajax({
  				url : "http://<%=request.getServerName()%>:7001/rms/restaurant/waitinglist",
  