/**
 * Sets/unsets the pointer in browse mode
 *
 * @param   object   the table row
 * @param   object   the color to use for this row
 *
 * @return  boolean  whether pointer is set or not
 */
function setPointer(theRow, thePointerColor)
{
    if (thePointerColor == '' || typeof(theRow.style) == 'undefined') {
        return false;
    }
    if (typeof(document.getElementsByTagName) != 'undefined') {
        var theCells = theRow.getElementsByTagName('td');
    }
    else if (typeof(theRow.cells) != 'undefined') {
        var theCells = theRow.cells;
    }
    else {
        return false;
    }

    var rowCellsCnt  = theCells.length;
    for (var c = 0; c < rowCellsCnt; c++) {
        theCells[c].style.backgroundColor = thePointerColor;
    }

    return true;
} // end of the 'setPointer()' function

		var isDHTML=0;
		var isID=0;
		var isAll=0;
		var isLayers=0;
			
		if (document.getElementById) {isID = 1; isDHTML = 1;}
		else
		{
			if (document.all) {isAll = 1; isDHTML = 1;}
			else {browserVersion=parseInt(navigator.appVersion);
			      if ((navigator.appName.indexOf('Netscape') != -1) && (browserVersion==4)) {isLayers=1; isDHTML=1;}}
		}


function init(){
	// By Ernie Hsiung (littleyellowdifferent.com)
	// 2 Jan, 2003

	var objTag = document.getElementsByTagName("span");
	for (i=0; i<objTag.length; i++) {
		 if(objTag[i].id.substr(0,10)=="commentBox")
			 objTag[i].style.display = "none";
	}
}
onload = init;

function toggleLinks(name) {
	if (isID) {	var x = document.getElementById(name).style; }
	else 
	{ if (isAll) { var x = document.all[name].style; } 
		else
		{ if (isLayers) { var x = document.layers[name].style ; }
		}
	}

	if (x.display == 'block') x.display = 'none';
	else x.display = 'block';
}