// JavaScript Document

//button.js by Thomas Forrester

var oldColor = "#000000";  //This will work as long as there are not multiple changes within the same area.

function getObject(oID){
    if (document.getElementById || document.all)
    {
        var obj = document.getElementById? document.getElementById(oID): document.all[oID];
        return obj;
    }
	return new Object(); //Don't fail if used
}

function mOverButton(oID){
	oldColor = getObject(oID).style.color;
	getObject(oID).style.color = "#0000ff";
}

function mOutButton(oID){
	getObject(oID).style.color = oldColor;
}
