function objDetect (obj) {
	if (document.all) {
		val = document.all(obj);
	}
	else if (document.getElementById) {
		val = document.getElementById(obj);
	}
	else if (document.layers) {
		val = document.layers(obj);
	}
	if (val) return val;
	else return false;
}

function Over(obj) {
	obj.style.color = '#ffffff';
	obj.style.backgroundColor = '#e0e0e0';
	obj.style.cursor = 'pointer';
}

function Out(obj) {
	obj.style.color = '#707070';
	obj.style.backgroundColor = '';
}

function retNtsPos(evnt) {
	psX = evnt.screenX;
	psY = evnt.screenY;
}

function show(obj, txt) {
	var alt = objDetect('alt');
	obj.style.cursor = 'object';
	alt.style.visibility = 'visible';
	alt.style.overflow = 'visible';
	alt.style.width = 'auto';
	alt.style.height = 'auto';
	alt.innerHTML = txt;
	if(navigator.appName == 'Microsoft Internet Explorer') {
		posX = event.x;
		posY = event.screenY;
	}
	else {
		posX = psX;
		posY = psY;
	}
	alt.style.left = posX;
	alt.style.top = posY+10;
}

function hide() {
	var alt = objDetect('alt');
	alt.style.visibility = 'hidden';
	alt.style.overflow = 'hidden';
	alt.style.width = '1px';
	alt.style.height = '1px';
	alt.innerHTML = '';
	alt.style.left = 0;
	alt.style.top = 0;
}