private static void loadSmileys() {
		smileys = new HashMap<Pattern, String>();
		try {
			FileInputStream fstream;
			fstream = new FileInputStream("smileys.conf");
			DataInputStream in = new DataInputStream(fstream);
			BufferedReader br = new BufferedReader(new InputStreamReader(in));
			String strLine;
			while ((strLine = br.readLine()) != null) {
				String[] tmp = strLine.split("\t");
				String smile, res;
				smile = tmp[0];
				res = "\\$img\\[smiley\\/" + tmp[1] + "\\]";
				smileys.put(
						Pattern.compile(smile, Pattern.CASE_INSENSITIVE
								| Pattern.LITERAL), res);
			}
			br.close();
			in.close();
			fstream.close();
		} catch (FileNotFoundException e) {
		} catch (IOException e) {
		}

	}