docs: function(parent, text, funct, pad)
  	{
  		var a = document.createElement('span');
  		
  		a.style.color = 'blue';
  		a.style.textDecoration = 'underline';
  		a.style.cursor = 'pointer';
  		
  		if (pad != null)
  		{
  			a.style.paddingLeft = pad+'px';
  		}
  		
  		mxEvent.addListener(a, 'click', funct);
  		mxUtils.write(a, text);
  		
  		if (parent != null)
  		{
  			parent.appendChild(a);
  		}
  		
  		return a;
  	}