var AJAX=function() {
AJAX.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AJAX.prototype={
SaveChildInfo:function(child,classroom,succeededCallback, failedCallback, userContext) {
return this._invoke(AJAX.get_path(), 'SaveChildInfo',false,{child:child,classroom:classroom},succeededCallback,failedCallback,userContext); },
SaveChildrenInfo:function(children,succeededCallback, failedCallback, userContext) {
return this._invoke(AJAX.get_path(), 'SaveChildrenInfo',false,{children:children},succeededCallback,failedCallback,userContext); }}
AJAX.registerClass('AJAX',Sys.Net.WebServiceProxy);
AJAX._staticInstance = new AJAX();
AJAX.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; AJAX._staticInstance._path = value; }
AJAX.get_path = function() { return AJAX._staticInstance._path; }
AJAX.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
AJAX._staticInstance._timeout = value; }
AJAX.get_timeout = function() { 
return AJAX._staticInstance._timeout; }
AJAX.set_defaultUserContext = function(value) { 
AJAX._staticInstance._userContext = value; }
AJAX.get_defaultUserContext = function() { 
return AJAX._staticInstance._userContext; }
AJAX.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; AJAX._staticInstance._succeeded = value; }
AJAX.get_defaultSucceededCallback = function() { 
return AJAX._staticInstance._succeeded; }
AJAX.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; AJAX._staticInstance._failed = value; }
AJAX.get_defaultFailedCallback = function() { 
return AJAX._staticInstance._failed; }
AJAX.set_path("/AJAX.asmx");
AJAX.SaveChildInfo= function(child,classroom,onSuccess,onFailed,userContext) {AJAX._staticInstance.SaveChildInfo(child,classroom,onSuccess,onFailed,userContext); }
AJAX.SaveChildrenInfo= function(children,onSuccess,onFailed,userContext) {AJAX._staticInstance.SaveChildrenInfo(children,onSuccess,onFailed,userContext); }

