//********************************************************************************
// writeObject(id,value): Method that displays a message to the user by writing a specified value to the target div
//********************************************************************************
function writeObject(id,value) {
	document.getElementById(id).innerHTML=value;
}

//********************************************************************************
// hideObject(id): Method that hides a specified element
//********************************************************************************
function hideObject(id) {
	document.getElementById(id).style.display = 'none';
}

function switchStyle(element, cssClass) {
	document.getElementById([element]).className=cssClass;
}

function sendTo(target) {
	window.location=target;
}