// JavaScript Document

// Change background colour of an object on the screen onmouseover
function setBGColourOver(en)
{
	elem = document.getElementById(en);
	//elem.style.backgroundColor='#F3FAD1';
	//elem.style.backgroundColor='#7A5549'; // light brown
	//elem.style.backgroundColor='#C0A261'; // might work
	//elem.style.backgroundColor='#6AAAA3'; // blue-green
	//elem.style.backgroundColor='#529A98'; // blue-green
	//elem.style.backgroundColor='#97C4BF'; // blue-green
	//elem.style.backgroundColor='#D2B791'; // pastal brown
	//elem.style.backgroundColor='#C78565'; // pastal brown
	//elem.style.backgroundColor='#C1B8B5'; // gray - pretty good
	//elem.style.backgroundColor='#C5BFBC'; // gray
	//elem.style.backgroundColor='#808080'; // silver
	//elem.style.backgroundColor='#777777'; // soft silver
	//elem.style.backgroundColor='#FCFFBA'; // a yellow
	elem.style.backgroundColor='#F3FAD1'; // a green
}

// Change background colour of an object on the screen onmouseout
function setBGColourOut(en)
{
	elem = document.getElementById(en);
	//elem.style.backgroundColor='#FFF0C5';
	//elem.style.backgroundColor='#573024'; // dark brown
	//elem.style.backgroundColor='#D7D18A';
	//elem.style.text-decoration='none';
	//elem.style.backgroundColor='#606060'; // dark gray
	//elem.style.backgroundColor='#550000'; // dark bergundy
	//elem.style.backgroundColor='#FEFEC8'; // some kind of yellow
	//elem.style.backgroundColor='white'; // some kind of yellow called white
	elem.style.backgroundColor='white'; // make transparent
}

// Upper right side menu changes
// Change settings of an object on the screen onmouseover
function setURSOnOver(en)
{
	elem = document.getElementById(en);
	elem.style.backgroundColor='#F3FAD1';
}

// Change settings of an object on the screen onmouseout
function setURSOnOut(en)
{
	elem = document.getElementById(en);
	elem.style.backgroundColor='white';
}


// Footer menu changes in a table
// Change settings of an object on the screen onmouseover
function setFooterOnOver(en)
{
	elem = document.getElementById(en);
	elem.style.backgroundColor='#F3FAD1';
}

// Change settings of an object on the screen onmouseout
function setFooterOnOut(en)
{
	elem = document.getElementById(en);
	elem.style.backgroundColor='transparent'; // make transparent
}


// Left hand side menu changes for submenus on pages
// Change settings of an object on the screen onmouseover
function setLHSOnOver(en)
{
	elem = document.getElementById(en);
	//elem.style.backgroundColor='#FCFFBA';
	elem.style.backgroundColor='Black';
}

// Change settings of an object on the screen onmouseout
function setLHSOnOut(en)
{
	elem = document.getElementById(en);
	elem.style.backgroundColor='#573024';
}

// Show Clients
function showTest(which)
{
	var msg = "Showing clients for number "+which;
	alert(msg);
	return false;
}

// Function to use for testing. 
// It has been tested and it does work
function jstest()
{
	alert("Test js 1");
	return true;
}


// Function to use for testing. 
// It has been tested and it does work
function jstest2()
{
	alert("Test js 2");
	return true;
}


