function hand(text) {
	window.event.srcElement.style.cursor = "hand";
	if(text != null) {
		window.status = text;
	}
}

function clearAll() {
	window.event.srcElement.style.cursor = "default";
	window.status = '';
}

function m_over() {
	window.event.srcElement.style.cursor = "hand";
	beforeColor = window.event.srcElement.style.color;
	window.event.srcElement.style.color = 'red';
}

function m_out() {
	if(beforeColor != null) {
		window.event.srcElement.style.color = beforeColor;
	}
	else {
		window.event.srcElement.style.color = 'black';
	}

	window.event.srcElement.style.cursor = "default";	
}
