escapedSelectors.push("div.tabBlock .header");
escapedSelectors.push(".pageTopBar_");
escapedSelectors.push(".topTabBlock");
escapedSelectors.push("topMenuTopLevelItem");
escapedSelectors.push(".dhtmlselect");
escapedSelectors.push(".topSubMenuItem");
escapedSelectors.push("div.tabBlock .header .name");

function afterChangeStyle() {
    for (var i = 0; i < 3; i++) {
        var img = document.getElementById("imageFontSize" + i);
        img.src = "/templates/sport/images/topbar/" + i + ".gif";
    }
    document.getElementById("imageFontSize" + currentFontDelta).src = "/templates/sport/images/topbar/" + currentFontDelta + "_over.gif";
    if (window.pervBottomNews != undefined) {
        var height = 220;
        var heightLine = 295;
        if (currentFontDelta == 1) {
            height = 250;
            heightLine = 325;
        }
        if (currentFontDelta == 2) {
            height = 280;
            heightLine = 355;
        }
        resizeCategory(1, height);
        resizeCategory(3, height);
        resizeCategory(5, height);
        resizeCategory(6, height);
        resizeCategoryLine(1, heightLine);
        resizeCategoryLine(2, heightLine);
    }
}

function resizeCategory(id, height) {
    var d = document.getElementById("articlesBottomBlock" + id);
    if (d) {
        d.style.height = height + "px";
        d.parentNode.style.height = (height + 40) + "px";
    } else {
        setTimeout("resizeCategory(" + id + "," + height + ")", 100);
    }
}

function resizeCategoryLine(id, height) {
    var d = document.getElementById("categoriesLine" + id);
    if (d) {
        d.style.height = height + "px";
    } else {
        setTimeout("resizeCategoryLine(" + id + "," + height + ")", 100);
    }
}
