
function image_of(n) {
        return "<img src=\"small/" + n + ".gif\">";
}

function simplest_convert(t) {
        t = t.replace(/Aaa/g, image_of("aaa"));
        t = t.replace(/Aa/g, image_of("aa"));
        t = t.replace(/A/g, image_of("a"));
        t = t.replace(/B/g, image_of("b"));
        t = t.replace(/K/g, image_of("k"));
        t = t.replace(/Ch/g, image_of("ch"));
        t = t.replace(/D/g, image_of("d"));
        t = t.replace(/Ee/g, image_of("ee"));
        t = t.replace(/E/g, image_of("e"));
        t = t.replace(/F/g, image_of("f"));
        t = t.replace(/G/g, image_of("g"));
        t = t.replace(/H/g, image_of("h"));
        t = t.replace(/I/g, image_of("i"));
        t = t.replace(/J/g, image_of("j"));
        t = t.replace(/L/g, image_of("l"));
        t = t.replace(/M/g, image_of("m"));
        t = t.replace(/Ng/g, image_of("ng"));
        t = t.replace(/N/g, image_of("n"));
        t = t.replace(/Oo/g, image_of("oo"));
        t = t.replace(/O/g, image_of("o"));
        t = t.replace(/P/g, image_of("p"));
        t = t.replace(/R/g, image_of("r"));
        t = t.replace(/Sh/g, image_of("sh"));
        t = t.replace(/S/g, image_of("s"));
        t = t.replace(/Thh/g, image_of("thh"));
        t = t.replace(/Th/g, image_of("th"));
        t = t.replace(/T/g, image_of("t"));
        t = t.replace(/Uh/g, image_of("uh"));
        t = t.replace(/Uu/g, image_of("uu"));
        t = t.replace(/V/g, image_of("v"));
        t = t.replace(/W/g, image_of("w"));
        t = t.replace(/Y/g, image_of("y"));
        t = t.replace(/Zh/g, image_of("zh"));
        t = t.replace(/Z/g, image_of("z"));
        t = t.replace(/Ub/g, image_of("ub"));
        t = t.replace(/Ud/g, image_of("ud"));
        t = t.replace(/Uf/g, image_of("uf"));
        t = t.replace(/Ul/g, image_of("ul"));
        t = t.replace(/Um/g, image_of("um"));
        t = t.replace(/Un/g, image_of("un"));
        t = t.replace(/Up/g, image_of("up"));
        t = t.replace(/Ur/g, image_of("ur"));
        t = t.replace(/U/g, image_of("u"));

        return "<table><tr><td bgcolor=\"blue\"><font size=+3>" + t + "</font></td></tr></table>";
}

