function loadText()
    {
    var txtLang = document.getElementsByName("txtLang");
    txtLang[0].innerHTML = "Nimi";
    txtLang[1].innerHTML = "Arvo";
    txtLang[2].innerHTML = "Oletus";

    var optLang = document.getElementsByName("optLang");
    optLang[0].text = "Valittu";
    optLang[1].text = "Tyhj\u00E4";
    
    document.getElementById("btnCancel").value = "Peruuta";
    document.getElementById("btnInsert").value = "Liit\u00E4";
    document.getElementById("btnApply").value = "K\u00E4yt\u00E4";
    document.getElementById("btnOk").value = " OK ";
    }
function writeTitle()
    {
    document.write("<title>Valintaruutu</title>")
    }