function selecttag(theID, color){
	
	
	document.getElementById(currenttag).style.color = "";
	document.getElementById(currenttag).className = oldcolor+" tag";
	
	document.getElementById(theID).style.color = "#FFFFFF";
	document.getElementById(theID).className = color+"bg tag";
	currenttag = theID;
	oldcolor = color;
}