protected void replaceTheNetwork() {
		String dn = this.requestThread.getLocalDisplay();
		String ret = "";

		boolean meWasPrinted = false;

		Host[] hosts = MainDialog.hostMap.getHosts();

		for (Host h : hosts) {
			if (h.seemsOnline()) {
				String h_dn = h.getDisplayName();

				if ((dn.toLowerCase().compareTo(h_dn.toLowerCase()) <= 0)
						&& !meWasPrinted) {
					meWasPrinted = true;
					ret = ret + this.getLocalNameAndShares();
				}

				int rev = h.getSVNRevision();
				String url = h.toURLBestMatchingThisIP(this.requestThread
						.getRemoteIP());
				String hostname = h
						.toHostnameBestMatchingThisIP(this.requestThread
								.getRemoteIP());
				ret = ret
						+ ("&nbsp;&nbsp;<img src='/comp_blue.gif' class='icon'><a href=\""
								+ url
								+ "/\" title=\"revision "
								+ rev
								+ " on "
								+ hostname + "\">" + h.getDisplayName() + "</a><br>");

			}
		}

		if (!meWasPrinted) {
			ret = ret + this.getLocalNameAndShares();
		}

		// return ret;
		this.replace("<!--@p300.thenetwork@-->", ret);
	}