var idsqfa = false;
function showQFA(sender)
{	
	try{
		idsqfa = true
		$("HMFqfa").style.left = findPosX(sender)+1
		$("HMFqfa").style.top = findPosY(sender)+30
		$("HMFqfa").style.visibility = "visible"
	}catch(e){alert(e.message)}
}

function verificaEstado()
{
	if(idsqfa == true)
	{
		setTimeout("verificaEstado()",1000)
	}else
	{
		hideQFA()
	}
}

function setEstado(est)
{
	idsqfa = est
}

function hideQFA()
{	
	setTimeout("$('HMFqfa').style.visibility = 'hidden';",1000)
}

function changeColor(sender,color)
{
	sender.style.background = color;
}
