mocks.js
function(type) {
			var sos = sforce.db.sobjects;
			if(typeof sos[type] !== 'object')
				sos[type] = {};
			return sos[type];
		}
function(type) {
			var sos = sforce.db.sobjects;
			if(typeof sos[type] !== 'object')
				sos[type] = {};
			return sos[type];
		}
Get all SObjects of the given type