anchor.diff:  			Collections.sort(revisionsInc, new SRevisionIdComparator(true));
   			List<SCheckout> checkouts = loginManager.getService().getAllCheckoutsOfProject(poid);
   			Collections.sort(checkouts, new SCheckoutDateComparator());
  +			List<SCheckout> activeCheckouts = new ArrayList<SCheckout>();
  +			for (SCheckout checkout : checkouts) {
  +				if (checkout.isActive()) {
  +					activeCheckouts.add(checkout);
  +				}
  +			}
   			List<SUser> users = loginManager.getService().getAllAuthorizedUsersOfProject(poid);
   			Collections.sort(users, new SUserNameComparator());
   			List<SUser> nonAuthorizedUsers = loginManager.getService().getAllNonAuthorizedUsersOfProject(poid);
  
positive.code: 	if (checkouts.size() > 0) {
  %>
  <div class="tabbertab" id="checkoutstab"
  	title="Checkouts<%=checkouts.size() == 0 ? "" : " (" + checkouts.size() + ")" %>">
  <table class="formatted">
  	<tr>
  		<th>Revision Id</th>
  
negative.code: <%
  		}
  %>
  		var updateInactiveCheckouts = function(){
  			if ($('#showinactivecheckouts').is(':checked')) {
  				$(".inactivecheckoutrow").show();
  			} else {
  				$(".inactivecheckoutrow").hide();
  			}
  		}
  		$("#showinactivecheckouts").change(updateInactiveCheckouts);
  		updateInactiveCheckouts();
  		window.setInterval(function() {
  			if (revisions.length > 0) {
  				var roids = "";
  