private void addCardElementsToList(NodeList nList, String type) {
		for (int temp = 0; temp < nList.getLength(); temp++) {
			Node nNode = nList.item(temp);
			if (nNode.getNodeType() == Node.ELEMENT_NODE) {
				Element eElement = (Element) nNode;

				if ( type == "CommunityChest" ) {
					cardElements.add(createCommunityChestElement(eElement));
				}
				else if ( type == "Chance" ) {
					cardElements.add(createChanceElement(eElement));
				}
				else if ( type == "Property" ) {
					cardElements.add(createPropertyElement(eElement));
				}
				//endif
			}
		}
	}