@Override
	public String runMacro(HTTPRequest httpReq, String parm)
	{
		final java.util.Map<String,String> parms=parseParms(parm);
		final String last=httpReq.getUrlParameter("GOVERNMENT");
		if(parms.containsKey("RESET"))
		{
			if(last!=null) httpReq.removeUrlParameter("GOVERNMENT");
			return "";
		}
		int lastID=-1;
		for(final ClanGovernment G : CMLib.clans().getStockGovernments())
		{
			if((last==null)||((last.length()>0)&&(CMath.s_int(last)==lastID)&&(G.getID()!=lastID)))
			{
				httpReq.addFakeUrlParameter("GOVERNMENT",Integer.toString(G.getID()));
				return "";
			}
			lastID=G.getID();
		}
		httpReq.addFakeUrlParameter("GOVERNMENT","");
		if(parms.containsKey("EMPTYOK"))
			return "<!--EMPTY-->";
		return " @break@";
	}