private int getPriority(String priority) {

		if (priority.equals(m_settings.getLocalizedMessage("priority.vlow")))
			return 1;
		else if (priority.equals(m_settings.getLocalizedMessage("priority.low")))
			return 2;
		else if (priority.equals(m_settings.getLocalizedMessage("priority.medium")))
			return 3;
		else if (priority.equals(m_settings.getLocalizedMessage("priority.high")))
			return 4;
		else if (priority.equals(m_settings.getLocalizedMessage("priority.vhigh")))
			return 5;
		else
			return 3; // default
	}