private static Map<String, String[][]> parseStyle(String styleText) {
		String[] styleArray = styleText.split(",");
		Map<String, String[][]> styleMap = null;
		if (styleArray.length != 0) {
			styleMap = new HashMap<String, String[][]>();
			String[][] styleContentArray = null;
			for (int i = 0; i < styleArray.length; i++) {
				String style = styleArray[i].trim();
				String styleContent = getPatternValue(style, reg1, 1);
				String styleName = getPatternValue(style, reg3, 1);
				if (styleContent != null) {
					String[] attrArray = styleContent.split(";");
					styleContentArray = new String[attrArray.length][2];
					for (int x = 0; x < attrArray.length; x++) {
						String attrs = attrArray[x];
						String[] attr = attrs.split(":");
						for (int y = 0; y < attr.length; y++) {
							styleContentArray[x][y] = attr[y].trim();
						}
					}
					styleMap.put(styleName, styleContentArray);
				}

			}

		}
		return styleMap;
	}