       ////////////////////////////////////////////////////
       ///    Script genere menu for all pages
       ///

    var vyska = 40;
    var desW, desE, desM, desP, desR

    if (lg == 'cz'){
            desW = 'Vítejte'; desE = 'Vybavení';
            desM = 'Mapa'; desP = 'Cena';
            desR = 'Reservujte';
    }
    if (lg == 'de'){
            desW = 'Willcommen'; desE = 'Ausstattung';
            desM = 'Landkarte'; desP = 'Preis';
            desR = 'Reservieren';
    }
    if (lg == 'en'){
            desW = 'Welcome'; desE = 'Equipment';
            desM = 'Mapp'; desP = 'Price';
            desR = 'Reserve';
    }


    document.write('<table width="230" border="0"><tbody>' +
       // --- Logo ---
        '<tr><td width="230" height="140">' +
            '<img src="../img/logo-smoll.gif" width="230" height="140">' +
            '</td></tr>' +
       // --- Welcome ---
        '<tr><td align="right" height="' + vyska + '">' +
            '<a href="../src-' + lg + '/welcome.html"' +
            'onMouseOut="vymen(\'welcome\',\'../img/'+lg+'/welcome_off.gif\')"' +
            'onMouseOver="vymen(\'welcome\',\'../img/'+lg+'/welcome_on.gif\')">' +
            '<img src="../img/' + lg + '/welcome_off.gif" border="0"' +
            'name="welcome" alt="' + desW + '" width="225" height="40"></a></td></tr>' +
       // --- Equipment ---
        '<tr><td align="right" height="' + vyska + '">' +
            '<a href="../src-' + lg + '/equipment.html"' +
            'onMouseOut="vymen(\'equipment\',\'../img/'+lg+'/equipment_off.gif\')"' +
            'onMouseOver="vymen(\'equipment\',\'../img/'+lg+'/equipment_on.gif\')">' +
            '<img src="../img/' + lg + '/equipment_off.gif" border="0"' +
            'name="equipment" alt="' + desE + '" width="225" height="40"></a></td></tr>' +
       // --- Mapp ---
        '<tr><td align="right" height="' + vyska + '">' +
            '<a href="../src-' + lg + '/mapp.html"' +
            'onMouseOut="vymen(\'mapp\',\'../img/'+lg+'/mapp_off.gif\')"' +
            'onMouseOver="vymen(\'mapp\',\'../img/'+lg+'/mapp_on.gif\')">' +
            '<img src="../img/' + lg + '/mapp_off.gif" border="0"' +
            'name="mapp" alt="' + desM + '" width="225" height="40"></a></td></tr>' +
       // --- Price ---
        '<tr><td align="right" height="' + vyska + '">' +
            '<a href="../src-' + lg + '/price.html"' +
            'onMouseOut="vymen(\'price\',\'../img/'+lg+'/price_off.gif\')"' +
            'onMouseOver="vymen(\'price\',\'../img/'+lg+'/price_on.gif\')">' +
            '<img src="../img/' + lg + '/price_off.gif" border="0"' +
            'name="price" alt="' + desP + '" width="225" height="40"></a></td></tr>' +
       // --- Reserve ---
        '<tr><td align="right" height="' + vyska + '">' +
            '<a href="../src-' + lg + '/reserve.html"' +
//            '<a href="mailto:recepce@pensionlavita.cz?subject=Reservation"' +
            'onMouseOut="vymen(\'reserve\',\'../img/'+lg+'/reserve_off.gif\')"' +
            'onMouseOver="vymen(\'reserve\',\'../img/'+lg+'/reserve_on.gif\')">' +
            '<img src="../img/' + lg + '/reserve_off.gif" border="0"' +
            'name="reserve" alt="' + desR + '" width="225" height="40"></a></td></tr>' +

       // --- Reklama ---
        '<tr><td><hr width="200" size="0" align="left" color="#003300"><img src="../img/nic.gif"' +
            ' width="55" height="1"><a href="mailto:dblck@post.cz?subject=www.' +
            'PensionLaVita.cz"><font color="#c0c0c0" size="-2">' +
            'Webdesigner</a><br></font><img src="../img/nic.gif" alt="Reklama"' +
            ' width="230" height="50"></td></tr><tr><td>' +
            '<SCRIPT Language=JavaScript SRC="http://virt.globe.cz/logo/js_include.php3?domain=www.pensionlavita.cz"></SCRIPT>' +
            '</td></tr>' +
        '<tbody></table>');

    function vymen(id, zaco) {
        var obrazek = najdi(document, id, 0);
        if (obrazek) {
            obrazek.src = zaco;
        }
    }

    function najdi(doc, name, j) {
        var obrazek = false;
        if (doc.images) {
            obrazek = doc.images[name];
        }
        if (obrazek) {
            return obrazek;
        }
        if (doc.layers) {
            for (j = 0; j < doc.layers.length; j++) {
                obrazek = najdi(doc.layers[j].document, name, 0);
                if (obrazek) {
                    return (obrazek);
                }
            }
        }
        return (false);
    }

