function UserDispLink() 
{
	if (!document.getElementsByTagName) return null;
	
	if (document.getElementsByTagName('A'))
	{
		var AllHyperlinks = document.getElementsByTagName('A');
		if (AllHyperlinks.length > 0)
		{
			for(i = 0;i < AllHyperlinks.length;i++)
			{
				if (AllHyperlinks[i].getAttribute('href'))
				{
					var HrefAttribute = AllHyperlinks[i].getAttribute('href');
					if (HrefAttribute &&  HrefAttribute.indexOf('userdisp.aspx') > -1)
					{
						var HyperlinkTextNode = AllHyperlinks[i].firstChild.nodeValue;
						NewSpan = document.createElement("SPAN");
						NewSpan.appendChild(document.createTextNode(HyperlinkTextNode));
						var HyperlinkParent = AllHyperlinks[i].parentNode;
						HyperlinkParent.appendChild(NewSpan);
						HyperlinkParent.replaceChild(NewSpan, AllHyperlinks[i]);
											
					}	
				}
			}		
		}
	}		
}

// hide userdisp links
_spBodyOnLoadFunctionNames.push("UserDispLink");