// JavaScript Document

function changeColor(newColor)
{
 elem = document.getElementById("mem1");
 elem.style.background = newColor;
}

function changeFont(newColor)
{
 elem = document.getElementById("mem1");
 elem.style.color = newColor;
}

function changeColor2(newColor)
{
 elem = document.getElementById("mem2");
 elem.style.background = newColor;
}

function changeFont2(newColor)
{
 elem = document.getElementById("mem2");
 elem.style.color = newColor;
}

function changeColor3(newColor)
{
 elem = document.getElementById("mem3");
 elem.style.background = newColor;
}

function changeFont3(newColor)
{
 elem = document.getElementById("mem3");
 elem.style.color = newColor;
}

function changeColor4(newColor)
{
 elem = document.getElementById("mem4");
 elem.style.background = newColor;
}

function changeFont4(newColor)
{
 elem = document.getElementById("mem4");
 elem.style.color = newColor;
}


function resetall(rs) 
{
white='#ffffff';
document.getElementById("mem1").style.background = rs;
document.getElementById("mem2").style.background = rs;
document.getElementById("mem3").style.background = rs;
document.getElementById("mem4").style.background = rs;

document.getElementById("mem1").style.color = white;
document.getElementById("mem2").style.color = white;
document.getElementById("mem3").style.color = white;
document.getElementById("mem4").style.color = white;
}
