    function highlight(x) {
      var item = document.getElementById(x);
      item.style.backgroundColor = "#D0DDB7";
    }
    function unhighlight(x) {
      var item = document.getElementById(x);
      item.style.backgroundColor = "#BBCEC1";
    }

		function popDiv(x, stuff) {
			if (popedDiv !=null) {
				var parent = popedDiv.parentNode;
				parent.removeChild(popedDiv);
				popedDiv = null;
				return;
			}
			popedDiv = document.createElement('div');
			popedDiv.style.display = 'block';
			popedDiv.style.position = 'absolute';
			popedDiv.style.border = '1px solid green';
			popedDiv.style.backgroundColor = '#EAEAFF';
			// popedDiv.style.width = '200px';
			popedDiv.innerHTML = stuff;
			document.body.appendChild(popedDiv);
			var cleft = 0;
			var ctop = 0;
			var obj = x;
			while (obj.offsetParent) {
				cleft += obj.offsetLeft;
				ctop += obj.offsetTop;
				obj = obj.offsetParent;
			}
				popedDiv.style.left = cleft + 'px';
				ctop += x.offsetHeight;
			popedDiv.style.top = (ctop - 50) + 'px';
		}

		function killDiv() {
			if (popedDiv !=null) {
				var parent = popedDiv.parentNode;
				parent.removeChild(popedDiv);
				popedDiv = null;
			}
		}

		function expose(x) {
			x.src = 'img/hopen.png';
		}
		function unexpose(x) {
			x.src = 'img/open.png';
		}
		function dshead () {
			return '<table border="0" cellspacing="1" cellpadding="1"><tr><td align="right" bgcolor="#339999"><img src="img/close.gif" width="15" height="15" onclick="killDiv()" /></td></tr><tr><td style="font-family:sans-serif;font-size:8pt">';
		}
		function dstail () {
			return '</td></tr></table>';
		}
