code: function(lab, funct)
  	{
  		var button = document.createElement('button');
  		mxUtils.write(button, lab);
  		mxEvent.addListener(button, 'click', funct);
  		mxLog.td.appendChild(button);
  	}
docs: Function: addButton
  
  Adds a button to the console using the given label and function.