var qfCurItem = null;
var qfCurText = null;

function QfClose()
{
if (qfCurItem != null)
 qfCurItem.className = '';
qfCurItem = null;
if (qfCurText != null)
 qfCurText.style.display = 'none';
qfCurText = null;
}

function QfShow(text, item)
{
QfClose();
qfCurItem = document.getElementById(item);
if (qfCurItem != null)
 qfCurItem.className = 'selected';
qfCurText = document.getElementById(text);
if (qfCurText != null)
 qfCurText.style.display = 'block';
}

