﻿function UpdateTabBackgnd(tab, y) {
    if (tab.className == "selectedNavTab") {
        return;
    }
    if (y != 0) {
        tab.style.backgroundPosition = "0px -" + y + "px";
    }
    else {
        tab.style.backgroundPosition = "0px 0px";
    }
}

