function loadText()
    {
    var txtLang = document.getElementsByName("txtLang");
    txtLang[0].innerHTML = "CSS Text";
    txtLang[1].innerHTML = "Klassnamn";
    txtLang[2].innerHTML = "F\u00F6rhandsgranska";
    txtLang[3].innerHTML = "Applicera p\u00E5";
    
    var optLang = document.getElementsByName("optLang");
    optLang[0].text = "Markerad text"
    optLang[1].text = "Aktuell tagg"
    
    document.getElementById("btnCancel").value = "Avbryt";
    document.getElementById("btnApply").value = "Verkst\u00E4ll";
    document.getElementById("btnOk").value = " OK ";
    }
function getText(s)
    {
    switch(s)
        {
        case "You're selecting BODY element.":
            return "Du har valt BODY taggen.";
        case "Please select a text.":
            return "V\u00E4nligen v\u00E4lj text.";
        default:return "";
        }
    }
function writeTitle()
    {
    document.write("<title>Egen formatering</title>")
    }