docs: function(content, isInternalWindow)
  	{
  	   	if (isInternalWindow)
  	   	{
  			var div = document.createElement('div');
  			
  			div.style.overflow = 'scroll';
  			div.style.width = '636px';
  			div.style.height = '460px';
  			
  			var pre = document.createElement('pre');
  		    pre.innerHTML = mxUtils.htmlEntities(content, false).
  		    	replace(/\n/g,'<br>').replace(/ /g, '&nbsp;');
  			
  			div.appendChild(pre);
  			
  			var w = document.body.clientWidth;
  			var h = Math.max(document.body.clientHeight || 0, document.documentElement.clientHeight)
  			var wnd = new mxWindow('Popup Window', div,
  				w/2-320, h/2-240, 640, 480, false, true);
  
  			wnd.setClosable(true);
  			wnd.setVisible(true);
  		}
  		else
  		{
  			// Wraps up the XML content in a textarea
  			if (mxClient.IS_NS)
  			{
  			    var wnd = window.open();
  				wnd.document.writeln('<pre>'+mxUtils.htmlEntities(content)+'</pre');
  			   	wnd.document.close();
  			}
  			else
  			{
  			    var wnd = window.open();
  			    var pre = wnd.document.createElement('pre');
  			    pre.innerHTML = mxUtils.htmlEntities(content, false).
  			    	replace(/\n/g,'<br>').replace(/ /g, '&nbsp;');
  			   	wnd.document.body.appendChild(pre);
  			}
  	   	}
  	}