function changeBG(divID, bgcolor, linkID, linkColor) {
    if (document.getElementById) {
        document.getElementById(divID).style.backgroundColor = bgcolor;
        document.getElementById(linkID).style.color = linkColor;
    }
}
