docs: function(urls, onload, onerror)
  	{
  		var remain = urls.length;
  		var result = [];
  		var errors = 0;
  		var err = function()
  		{
  			if (errors == 0 && onerror != null)
  			{
  				onerror();
  			}
  
  			errors++;
  		};
  		
  		for (var i = 0; i < urls.length; i++)
  		{
  			(function(url, index)
  			{
  				mxUtils.get(url, function(req)
  				{
  					var status = req.getStatus();
  					
  					if (status < 200 || status > 299)
  					{
  						err();
  					}
  					else
  					{
  						result[index] = req;
  						remain--;
  						
  						if (remain == 0)
  						{
  							onload(result);
  						}
  					}
  				}, err);
  			})(urls[i], i);
  		}
  		
  		if (remain == 0)
  		{
  			onload(result);			
  		}
  	}