private static String getVal(String[] lines, String field)
	{
		for (String line : lines)
		{
			String[] part = line.split(":", 0);
			if (part[0].equalsIgnoreCase(field))
				return part[1];
		}
		return "No value set for "+field;
	}