
function myClick(element, top) {
	
	//element.blur();
	//top.window.scroll(0,0);
	highlight(element);
	
}

function highlight(current){
	current_link = current.text;
	
	//examine all links in the links array for the page and 
	//compare them with the one I am on. If it is different 
	//leave them alone. If it matches highlight it and move on.
	for (i = 0; i < document.links.length; i++){
		if (document.links[i].text == current_link){
			document.links[i].className = "on";
		}
		else{
			document.links[i].className = "off";
		};
	}
	
}
