//=================================
//Abre tooltip
//=================================
function tooltipOpen(titulo,corpo,estilo,objeto){
	if(objeto)
		objeto.focus();
	//cria o titulo do tooltip	
	Text[0] = [titulo,corpo];
	//faz a requisicao da exibicao do tooltip
	stm(Text[0],Style[estilo]);
	hidSelects(objeto);
}

//=================================
//Fecha tooltip
//=================================
function tooltipClose(){
	htm();
	showSelects();
}

//================================
//Funcoes para o ie6
//================================
function hidSelects(objeto){
	//hide:
	if(document.body)
		document.body.className += ' hideSelects';
}
function showSelects(objeto){
	//show:
	if(document.body)
		document.body.className = document.body.className.replace(' hideSelects', '');
}
