private void _setRunType(Document document, String item) {
		NodeList nlist = document.getElementsByTagName("user");
		if (nlist.getLength() > 0) {
			Element user = (Element)nlist.item(0);
			NodeList newlist = user.getElementsByTagName(item);
			if (newlist.getLength() > 0) {
				Node node = newlist.item(0).getFirstChild();
				if (node != null) {
					String value = node.getNodeValue();
					_acquisitionState = false;
					if (value.indexOf("data") > -1) {
						_dataButton.setSelected(true);
						_runType = "data";
					}
					if (value.indexOf("caution") > -1) {
						_acqButton.setSelected(true);
						_runType = "data";
						_acquisitionState = true;
					}
					if (value.indexOf("bias") > -1) {
						_runType = "bias";
						_biasButton.setSelected(true);
					}
					if (value.indexOf("flat") > -1) {
						_runType = "flat";
						_flatButton.setSelected(true);
					}
					if (value.indexOf("dark") > -1) {
						_runType = "dark";
						_darkButton.setSelected(true);
					}
					if (value.indexOf("technical") > -1) {
						_runType = "technical";
						_techButton.setSelected(true);
					}
					_checkEnabledFields();
				}
			}
		}

	}