Type.registerNamespace('Clozone.Web.WebService'); Clozone.Web.WebService.CustomBox = { path: "/WebService/CustomBox.asmx", AddCustomBox:function(prefix,zoneIndex,partIndex,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "AddCustomBox",{prefix:prefix,zoneIndex:zoneIndex,partIndex:partIndex}, onMethodComplete, onMethodTimeout); }, GetContent:function(customBoxID,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetContent",{customBoxID:customBoxID}, onMethodComplete, onMethodTimeout); }, SaveContent:function(prefix,customBoxID,content,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "SaveContent",{prefix:prefix,customBoxID:customBoxID,content:content}, onMethodComplete, onMethodTimeout); } }