private static HashMap parseAttributes(String s) {
		StringTokenizer tok = new StringTokenizer(s);
		
		HashMap map = new HashMap();
		String key = null;
		String value = null;
		String garbage = null;
		
		while (tok.hasMoreElements()) {
			key = tok.nextToken("=");
			garbage = tok.nextToken("\"");
			value = tok.nextToken("\"");
			garbage = tok.nextToken(" \t\n\r\f");
			
			if (key != null) {
				map.put(key.trim(), value);
				key = null;
				value = null;
			}
		}
		
		return map;
	}