/* Configuration Options */
var hiliteColor  = "#fffd98";
var hiliteBorder = "thin solid #000";
/* */

var tempColor = "";
var showing   = 0;
var isOn      = false;

function showBrowseDescription(id) {
	hideBrowseDescription();
	var desc = document.getElementById("description_"+id);
	var recn = document.getElementById("resourcename_"+id);

	desc.style.display         = "";
	tempColor                  = recn.style.backgroundColor;

	recn.style.backgroundColor = hiliteColor;
	recn.style.borderLeft      = hiliteBorder;
	recn.style.borderRight     = hiliteBorder;
	recn.style.borderTop       = hiliteBorder;
	recn.style.borderBottom    = "";

	isOn = true;
	showing = id;
	//setTimeout("if (!isOn) hideBrowseDescription()",2000);
}
function hideBrowseDescription() {
	if (showing) {
		var desc = document.getElementById("description_"+showing);
		var recn = document.getElementById("resourcename_"+showing);
		recn.style.backgroundColor = tempColor;
		desc.style.display         = "none";
		recn.style.borderLeft      = "0px";
		recn.style.borderRight     = "0px";
		recn.style.borderTop       = "0px";
		recn.style.borderBottom    = "0px";
	}
}
function browseClose() {
	isOn = false;
	setTimeout("if (!isOn) hideBrowseDescription()",1000);
}

