function switchTo( newNode )
 {
	currentNode.setAttribute( "class", "" ); // remove old highlighting
	currentNode = newNode;
	currentNode.setAttribute( "class", "highlighted" ); // highlight
	document.getElementById( "gbi" ).value = currentNode.getAttribute( "id" );
 } // end function switchTo
// helper function that switches to a new currentNode

helper function that switches to a new currentNode
helper function that switches to a new currentNode
function switchTo( newNode )
 {
	currentNode.setAttribute( "class", "" ); 
	currentNode = newNode;
	currentNode.setAttribute( "class", "highlighted" ); 
	document.getElementById( "gbi" ).value = currentNode.getAttribute( "id" );
 } 
function switchTo ( newNode ) { currentNode . setAttribute ( "class" , "" ) ; currentNode = newNode ; currentNode . setAttribute ( "class" , "highlighted" ) ; document . getElementById ( "gbi" ) . value = currentNode . getAttribute ( "id" ) ; }
helper function that switches to a new currentNode
helper function that switches to a new currentNode
// remove old highlighting
 // highlight
 // end function switchTo