﻿function changeColor(obj) {
    obj.style.backgroundColor = "#B8B8A6";    
}
function removeColor(obj) {
    obj.style.backgroundColor = "";
}
function changeColorTab(obj) {   
    obj.style.backgroundColor = "#F5F5F0";
    obj.style.color = "#2F4F4F";
    obj.style.borderBottomColor = "#F5F5F0";
}
function removeColorTab(obj) {
    obj.style.backgroundColor = ""; 
    obj.style.color = "";
    obj.style.borderBottomColor = "";
}
function changeTab(id, tabs) {
    for(i in tabs) {
        var obj = document.getElementById(tabs[i]);
        if (obj != null) {
            if (obj.id != id) {
                obj.className = "tab";
            } else {
                obj.className = "tab selectedTab";
                window.location = "?page=" + i;
            }
        }
    }
}

