var Shared=function() {
Shared.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Shared.prototype={
GetForm:function(FormName,succeededCallback, failedCallback, userContext) {
return this._invoke(Shared.get_path(), 'GetForm',false,{FormName:FormName},succeededCallback,failedCallback,userContext); },
GetActiveForm:function(FormName,succeededCallback, failedCallback, userContext) {
return this._invoke(Shared.get_path(), 'GetActiveForm',false,{FormName:FormName},succeededCallback,failedCallback,userContext); }}
Shared.registerClass('Shared',Sys.Net.WebServiceProxy);
Shared._staticInstance = new Shared();
Shared.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; Shared._staticInstance._path = value; }
Shared.get_path = function() { return Shared._staticInstance._path; }
Shared.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); }
Shared._staticInstance._timeout = value; }
Shared.get_timeout = function() { 
return Shared._staticInstance._timeout; }
Shared.set_defaultUserContext = function(value) { 
Shared._staticInstance._userContext = value; }
Shared.get_defaultUserContext = function() { 
return Shared._staticInstance._userContext; }
Shared.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; Shared._staticInstance._succeeded = value; }
Shared.get_defaultSucceededCallback = function() { 
return Shared._staticInstance._succeeded; }
Shared.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; Shared._staticInstance._failed = value; }
Shared.get_defaultFailedCallback = function() { 
return Shared._staticInstance._failed; }
Shared.set_path("/Webservices/Shared.asmx");
Shared.GetForm= function(FormName,onSuccess,onFailed,userContext) {Shared._staticInstance.GetForm(FormName,onSuccess,onFailed,userContext); }
Shared.GetActiveForm= function(FormName,onSuccess,onFailed,userContext) {Shared._staticInstance.GetActiveForm(FormName,onSuccess,onFailed,userContext); }
