function findElementByID(id)
{
	var elem;
	if(document.getElementById) elem = document.getElementById(id);
	else if(document.all)	    elem = document.all[id];

	return(elem);
}

var previousElem;
function hilite(id)
{
	divID = 'DD'+id;

	var elem = findElementByID(divID);
	if(elem) {
		if(previousElem)
		    previousElem.className = "QA";

		elem.className = "HILITE";
		previousElem = elem;
	} else
		previousElem = null;
}

function hiliteOnLoad()
{
    var anchor;
    if(anchor = location.hash)
	hilite(anchor.substring(1));
}

function hiLo(id)
{
    hilite(id);
    location.href = '#' + id;
}
