var iDelay = 1300;
var sDisplayTimer = null, oLastItem;
var actual = null;

function mostrar(n)
{
	stopTimer();
	if (actual != null) {
		actual.style.display = 'none';
	}
	actual = document.getElementById(n);
	actual.style.display = 'block';
}

function ocultar()
{
	if (actual != null) {
		actual.style.display = 'none';
	}
}

function startTimer()
{
    sDisplayTimer = setTimeout("ocultar()", iDelay);
}

function stopTimer()
{
	if (sDisplayTimer != null) {
	    clearTimeout(sDisplayTimer);
	}
}

function mOvr(src,clrOver,colorin) {
	if (!src.contains(event.fromElement)) {
		src.style.cursor = 'hand';
		src.bgColor = clrOver; 
		src.color = colorin; } 
	}

function mOut(src,clrIn,colorout) {
	if (!src.contains(event.toElement)) {
		src.style.cursor = 'default';
		src.bgColor = clrIn;
		src.color = colorout; }
}

