    function changePage() 
    {
    menuNum = document.SelectMenu.SelectPrimary.selectedIndex;
            if (menuNum == null){alert("Please select a category from the menu.");return;}
            else
            {
            i = document.SelectMenu.SelectSecondary.selectedIndex;
            window.location.href = url[i];
            }
}

    function changeMenu()
    {
    siteopt.length = 20;
    menuNum = document.SelectMenu.SelectPrimary.selectedIndex;
        if (menuNum == null) return;
 
        if (menuNum == 0)
        {
        siteopt = new Array;
        siteopt[0] = new Option("                      ");
        siteopt[1] = new Option("---                   ");
        url = new Array;
        url[0] = "#";
        url[1] = "#";
        }

        if (menuNum == 1)
        {
        siteopt = new Array;
        siteopt[0] = new Option("                      ");
        siteopt[1] = new Option("---                   ");
        url = new Array;
        url[0] = "#";
        url[1] = "#";
        }

        if (menuNum == 2)
        {
        siteopt = new Array;
        siteopt[0] = new Option("Regionen         ");
        siteopt[1] = new Option("--- ");
        siteopt[2] = new Option("Baden-Württemberg");
        siteopt[3] = new Option("Bayern");
        siteopt[4] = new Option("Berlin");
        siteopt[5] = new Option("Brandenburg");
        siteopt[6] = new Option("Bremen");
        siteopt[7] = new Option("Hamburg");
        siteopt[8] = new Option("Hessen");
        siteopt[9] = new Option("Mecklenburg-Vorpommern");
        siteopt[10] = new Option("Niedersachsen");
        siteopt[11] = new Option("Nordrhein-Westfalen");
        siteopt[12] = new Option("Rheinland-Pfalz");
        siteopt[13] = new Option("Saarland");
        siteopt[14] = new Option("Sachsen");
        siteopt[15] = new Option("Sachsen-Anhalt");
        siteopt[16] = new Option("Schleswig-Holstein");
        siteopt[17] = new Option("Thüringen");
        url = new Array;
        url[0] = "#";
        url[1] = "#";
        url[2] = "http://www.tiscover.de/1Root/Kontinent/6/Staat/20/Bundesland/21/Homepage/f_homepage...1.html";
        url[3] = "http://www.tiscover.de/1Root/Kontinent/6/Staat/20/Bundesland/22/Homepage/f_homepage...1.html";
        url[4] = "http://www.tiscover.de/1Root/Kontinent/6/Staat/20/Bundesland/23/Homepage/f_homepage...1.html";
        url[5] = "http://www.tiscover.de/1Root/Kontinent/6/Staat/20/Bundesland/24/Homepage/f_homepage...1.html";
        url[6] = "http://www.tiscover.de/1Root/Kontinent/6/Staat/20/Bundesland/25/Homepage/f_homepage...1.html";
        url[7] = "http://www.tiscover.de/1Root/Kontinent/6/Staat/20/Bundesland/26/Homepage/f_homepage...1.html";
        url[8] = "http://www.tiscover.de/1Root/Kontinent/6/Staat/20/Bundesland/27/Homepage/f_homepage...1.html";
        url[9] = "http://www.tiscover.de/1Root/Kontinent/6/Staat/20/Bundesland/28/Homepage/f_homepage...1.html";
        url[10] = "http://www.tiscover.de/1Root/Kontinent/6/Staat/20/Bundesland/29/Homepage/f_homepage...1.html";
        url[11] = "http://www.tiscover.de/1Root/Kontinent/6/Staat/20/Bundesland/30/Homepage/f_homepage...1.html";
        url[12] = "http://www.tiscover.de/1Root/Kontinent/6/Staat/20/Bundesland/31/Homepage/f_homepage...1.html";
        url[13] = "http://www.tiscover.de/1Root/Kontinent/6/Staat/20/Bundesland/32/Homepage/f_homepage...1.html";
        url[14] = "http://www.tiscover.de/1Root/Kontinent/6/Staat/20/Bundesland/33/Homepage/f_homepage...1.html";
        url[15] = "http://www.tiscover.de/1Root/Kontinent/6/Staat/20/Bundesland/34/Homepage/f_homepage...1.html";
        url[16] = "http://www.tiscover.de/1Root/Kontinent/6/Staat/20/Bundesland/35/Homepage/f_homepage...1.html";
        url[17] = "http://www.tiscover.de/1Root/Kontinent/6/Staat/20/Bundesland/36/Homepage/f_homepage...1.html";
        }

        if (menuNum == 3)
        {
        siteopt = new Array;
        siteopt[0] = new Option("Regionen  ");
        siteopt[1] = new Option("--- ");
        siteopt[2] = new Option("Burgenland");
        siteopt[3] = new Option("Kärnten");
        siteopt[4] = new Option("Niederösterreich");
        siteopt[5] = new Option("Oberösterreich");
        siteopt[6] = new Option("Salzburg");
        siteopt[7] = new Option("Steiermark");
        siteopt[8] = new Option("Tirol");
        siteopt[9] = new Option("Vorarlberg");
        siteopt[10] = new Option("Wien");
        url = new Array;
        url[0] = "#";
        url[1] = "#";
        url[2] = "http://cms.tiscover.com/project/tiscover01/index.html?_country=at&_rgn=bl&_lang=de&_ext=";
        url[3] = "http://cms.tiscover.com/project/tiscover01/index.html?_country=at&_rgn=kt&_lang=de&_ext=";
        url[4] = "http://www.niederoesterreich.at/tiscover/home.asp";
        url[5] = "http://cms.tiscover.com/project/tiscover01/index.html?_country=at&_rgn=ooe&_lang=de&_ext=";
        url[6] = "http://cms.tiscover.com/project/tiscover01/index.html?_country=at&_rgn=sb&_lang=de&_ext=";
        url[7] = "http://cms.tiscover.com/project/tiscover01/index.html?_country=at&_rgn=st&_lang=de&_ext=";
        url[8] = "http://cms.tiscover.com/project/tiscover01/index.html?_country=at&_rgn=ti&_lang=de&_ext=";
        url[9] = "http://cms.tiscover.com/project/tiscover01/index.html?_country=at&_rgn=vb&_lang=de&_ext=";
        url[10] = "http://cms.tiscover.com/project/tiscover01/index.html?_country=at&_rgn=wi&_lang=de&_ext=";
        }

        if (menuNum == 4)
        {
        siteopt = new Array;
        siteopt[0] = new Option("Regionen  ");
        siteopt[1] = new Option("--- ");
        siteopt[2] = new Option("Aargau/Basel");
        siteopt[3] = new Option("Berner Oberland");
        siteopt[4] = new Option("Freiburg / Jura");
        siteopt[5] = new Option("Genf");
        siteopt[6] = new Option("Genferseegebiet");
        siteopt[7] = new Option("Graubünden");
        siteopt[8] = new Option("Mittelland");
        siteopt[9] = new Option("Ostschweiz");
        siteopt[10] = new Option("Tessin");
        siteopt[11] = new Option("Wallis");
        siteopt[12] = new Option("Zentralschweiz");
        siteopt[13] = new Option("Zürich");
        url = new Array;
        url[0] = "#";
        url[1] = "#";
        url[2] = "http://www.tiscover.ch/1Root/Kontinent/6/Staat/30/Bundesland/35/Homepage/f_homepage...1.html";
        url[3] = "http://www.tiscover.ch/1Root/Kontinent/6/Staat/30/Bundesland/32/Homepage/f_homepage...1.html";
        url[4] = "http://www.tiscover.ch/1Root/Kontinent/6/Staat/30/Bundesland/105/Homepage/f_homepage...1.html";
        url[5] = "http://www.tiscover.ch/1Root/Kontinent/6/Staat/30/Bundesland/37/Homepage/f_homepage...1.html";
        url[6] = "http://www.tiscover.ch/1Root/Kontinent/6/Staat/30/Bundesland/85/Homepage/f_homepage...1.html";
        url[7] = "http://www.tiscover.ch/1Root/Kontinent/6/Staat/30/Bundesland/31/Homepage/f_homepage...1.html";
        url[8] = "http://www.tiscover.ch/1Root/Kontinent/6/Staat/30/Bundesland/39/Homepage/f_homepage...1.html";
        url[9] = "http://www.tiscover.ch/1Root/Kontinent/6/Staat/30/Bundesland/104/Homepage/f_homepage...1.html";
        url[10] = "http://www.tiscover.ch/1Root/Kontinent/6/Staat/30/Bundesland/36/Homepage/f_homepage...1.html";
        url[11] = "http://www.tiscover.ch/1Root/Kontinent/6/Staat/30/Bundesland/33/Homepage/f_homepage...1.html";
        url[12] = "http://www.tiscover.ch/1Root/Kontinent/6/Staat/30/Bundesland/38/Homepage/f_homepage...1.html";
        url[13] = "http://www.tiscover.ch/1Root/Kontinent/6/Staat/30/Bundesland/34/Homepage/f_homepage...1.html";
        }

    tot = siteopt.length;
        for (i = lst; i > 0; i--) 
        { document.SelectMenu.SelectSecondary.options[i] = null; }
        for (i = 0; i < tot; i++)
        { document.SelectMenu.SelectSecondary.options[i] = siteopt[i]; }
        document.SelectMenu.SelectSecondary.options[0].selected = true;
    lst = siteopt.length;

    }