public int parsePosValue(String value) {
		int pos = 0;			

		if (value.equals("rc") || value.equals("rightcenter")) {
			pos = 2;
		} else if (value.equals("lc") || value.equals("leftcenter")) {
			pos = 1;
		} else if (value.startsWith("r")) {
			pos = 4;
		} else if (value.startsWith("l")) {
			pos = 3;
		} else if (value.equals("all")) {
			pos = -1;
		}
		return pos;
	}