function responding(truckid, callback){
	$.get("/truck/responding?truckid="+truckid, function(data,status){
		$("#Message").html(data);
		getstatus(truckid, function(){
			callback();
		});
	});
}
//Called when user presses responding.  Marks status as responding and opens a new run.
Called when user presses responding.  Marks status as responding and opens a new run.
Called when user presses responding . Marks status as responding and opens a new run .
function responding(truckid, callback){
	$.get("/truck/responding?truckid="+truckid, function(data,status){
		$("#Message").html(data);
		getstatus(truckid, function(){
			callback();
		});
	});
}
function responding ( truckid , callback ) { $ . get ( "/truck/responding?truckid=" + truckid , function ( data , status ) { $ ( "#Message" ) . html ( data ) ; getstatus ( truckid , function ( ) { callback ( ) ; } ) ; } ) ; }
Called when user presses responding.
Called when user presses responding .