		
	
	var previousHighlightedRow;
	var previousHighlightedRowClassName;	
	
	function setRowHighlight(currentRow)
	{ 
	   var currentCell;

	   if (previousHighlightedRow != currentRow) {
		
				previousHighlightedRowClassName = this.className;
				previousHighlightedRow = currentRow;

				for (currentCell = 0; currentCell < currentRow.cells.length; currentCell++)
				{
				  currentRow.cells[currentCell].className = 'LISTROWHIGHLIGHT';
				} 		
		} 
	} 
	
	function unsetRowHighlight(currentRow)
	{ 
	   var currentCell;

			if (currentRow != null) {		
				for (currentCell = 0; currentCell < currentRow.cells.length; currentCell++)
				{
	  			  	currentRow.cells[currentCell].className = 'LISTITEM';
				} 
			}	
	} 
	
	
	
	function setCellHighlight(currentCell)
	{ 
	   currentCell.className = 'LISTROWCELLHIGHLIGHT';
	} 
	
	function unsetCellHighlight(currentCell)
	{ 
	   currentCell.className = 'LISTITEM';	
	} 
	
	
	function openwindow(winurl,winname,winparams)
	{
		window.open(winurl,winname,winparams).focus();
	}
	
	function turnOn(imageName) {
		if (document.images) {
			document.images[imageName].src = eval(imageName + '_on.src');
		}
	}

	function turnOff(imageName) {
		if (document.images) {
			document.images[imageName].src = eval(imageName + '.src');
		}
	}		
	
	function swapImage(imageName, path) {
		if (document.images) {
			document.images[imageName].src = path;
		}
	}		
			
