var CurrentDivID = 1;
var MaxDivID = 1;

function ShowNavDivID(DivID) {
    CurrentDivID = DivID;
    ShowNavDivIDLayers();
    return false;
}

function ShowNavDivIDPrev() {
    CurrentDivID--;
    ShowNavDivIDLayers();
    return false;
}

function ShowNavDivIDNext() {
    CurrentDivID++;
    ShowNavDivIDLayers();
    return false;
}

function ShowNavDivIDLayers() {
    for (i = 1; i <= MaxDivID; i++) {
        var elemDiv = document.getElementById('div3rdLevelNav' + i);
        if (i == CurrentDivID) {
            elemDiv.style.display = 'block';
        } else {
            elemDiv.style.display = 'none';
        }
    }
}

