server/variables/type.js
function(z, id){
		if(id === undefined){
			return
		}
		var typeCode = z.objectState.getObjectType(id)
		//console.log('type of ' + id + ' is ' + z.schema._byCode[typeCode].name)
		return z.schema._byCode[typeCode].name
	}
function(z, id){
		if(id === undefined){
			return
		}
		var typeCode = z.objectState.getObjectType(id)
		//console.log('type of ' + id + ' is ' + z.schema._byCode[typeCode].name)
		return z.schema._byCode[typeCode].name
	}
/*computeAsync: function(z, cb, id){
if(id === undefined){
cb(undefined)
return
}
var typeCode = z.objectState.getObjectType(id)
console.log('type of ' + id + ' is ' + z.schema._byCode[typeCode].name)
cb(z.schema._byCode[typeCode].name)
},