function loadText()
    {
    var txtLang = document.getElementsByName("txtLang");
    txtLang[0].innerHTML = "Autopassa";
    txtLang[1].innerHTML = "Egenskaper";
    txtLang[2].innerHTML = "Formatering";
    txtLang[3].innerHTML = "Bredd";
    txtLang[4].innerHTML = "Autopassa till inneh\u00E5llet";
    txtLang[5].innerHTML = "Fast tabellbredd";
    txtLang[6].innerHTML = "Autopassa till f\u00F6nstret";
    txtLang[7].innerHTML = "H\u00F6jd";
    txtLang[8].innerHTML = "Autopassa till inneh\u00E5llet";
    txtLang[9].innerHTML = "Fast tabellh\u00F6jd";
    txtLang[10].innerHTML = "Autopassa till f\u00F6nstret";
    txtLang[11].innerHTML = "Placering";
    txtLang[12].innerHTML = "Marginal";
    txtLang[13].innerHTML = "V\u00E4nster";
    txtLang[14].innerHTML = "H\u00F6ger";
    txtLang[15].innerHTML = "\u00D6verst";
    txtLang[16].innerHTML = "Nederst";  
    txtLang[17].innerHTML = "Kantlinjer";
    txtLang[18].innerHTML = "Sammanfoga";
    txtLang[19].innerHTML = "Bakgrund";
    txtLang[20].innerHTML = "Cellmellanrum";
    txtLang[21].innerHTML = "Cellutfyllnad";
    txtLang[22].innerHTML = "CSS Text";

    var optLang = document.getElementsByName("optLang");
    optLang[0].text = "pixlar"
    optLang[1].text = "procent"
    optLang[2].text = "pixlar"
    optLang[3].text = "procent"
    optLang[4].text = "V\u00E4nster"
    optLang[5].text = "Centrerad"
    optLang[6].text = "H\u00F6ger"
    optLang[7].text = "Ingen"
    optLang[8].text = "Ja"
    optLang[9].text = "Nej"

    document.getElementById("btnPick").value="V\u00E4lj";
    document.getElementById("btnImage").value="Bild";

    document.getElementById("btnCancel").value = "Avbryt";
    document.getElementById("btnApply").value = "Verkst\u00E4ll";
    document.getElementById("btnOk").value = " OK ";
    }
function getText(s)
    {
    switch(s)
        {
        case "Custom Colors": return "Custom Colors";
        case "More Colors...": return "More Colors...";
        default:return "";
        }
    }
function writeTitle()
    {
    document.write("<title>Tabellegenskaper</title>")
    }