code: function(url, doc, onload)
  	{
  		if (mxClient.IS_IE)
  		{
  			doc.onreadystatechange = function ()
  			{
  				if (doc.readyState == 4)
  				{
  					onload();
  				}
  			};
  		}
  		else
  		{
  			doc.addEventListener('load', onload, false);
  		}
  		
  		doc.load(url);
  	}
docs: Function: loadInto
  
  Loads the specified URL *asynchronously* into the specified document,
  invoking onload after the document has been loaded. This implementation
  does not use <mxXmlRequest>, but the document.load method.
  
  Parameters:
  
  url - URL to get the data from.
  doc - The document to load the URL into.
  onload - Function to execute when the URL has been loaded.