var AjaxLib=function() {
AjaxLib.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AjaxLib.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return AjaxLib._staticInstance.get_path();},
HelloWorld:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
GetPhotoTexts:function(obrazekID,galeryID,succeededCallback, failedCallback, userContext) {
/// <param name="obrazekID" type="Number">System.Int32</param>
/// <param name="galeryID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetPhotoTexts',false,{obrazekID:obrazekID,galeryID:galeryID},succeededCallback,failedCallback,userContext); }}
AjaxLib.registerClass('AjaxLib',Sys.Net.WebServiceProxy);
AjaxLib._staticInstance = new AjaxLib();
AjaxLib.set_path = function(value) {
AjaxLib._staticInstance.set_path(value); }
AjaxLib.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return AjaxLib._staticInstance.get_path();}
AjaxLib.set_timeout = function(value) {
AjaxLib._staticInstance.set_timeout(value); }
AjaxLib.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return AjaxLib._staticInstance.get_timeout(); }
AjaxLib.set_defaultUserContext = function(value) { 
AjaxLib._staticInstance.set_defaultUserContext(value); }
AjaxLib.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return AjaxLib._staticInstance.get_defaultUserContext(); }
AjaxLib.set_defaultSucceededCallback = function(value) { 
 AjaxLib._staticInstance.set_defaultSucceededCallback(value); }
AjaxLib.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return AjaxLib._staticInstance.get_defaultSucceededCallback(); }
AjaxLib.set_defaultFailedCallback = function(value) { 
AjaxLib._staticInstance.set_defaultFailedCallback(value); }
AjaxLib.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return AjaxLib._staticInstance.get_defaultFailedCallback(); }
AjaxLib.set_enableJsonp = function(value) { AjaxLib._staticInstance.set_enableJsonp(value); }
AjaxLib.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return AjaxLib._staticInstance.get_enableJsonp(); }
AjaxLib.set_jsonpCallbackParameter = function(value) { AjaxLib._staticInstance.set_jsonpCallbackParameter(value); }
AjaxLib.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return AjaxLib._staticInstance.get_jsonpCallbackParameter(); }
AjaxLib.set_path("/WebServices/AjaxLib.asmx");
AjaxLib.HelloWorld= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
AjaxLib._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
AjaxLib.GetPhotoTexts= function(obrazekID,galeryID,onSuccess,onFailed,userContext) {
/// <param name="obrazekID" type="Number">System.Int32</param>
/// <param name="galeryID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
AjaxLib._staticInstance.GetPhotoTexts(obrazekID,galeryID,onSuccess,onFailed,userContext); }

