Type.registerNamespace('www.rferl.org.Services');
www.rferl.org.Services.PhotogalleryService=function() {
www.rferl.org.Services.PhotogalleryService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
www.rferl.org.Services.PhotogalleryService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return www.rferl.org.Services.PhotogalleryService._staticInstance.get_path();},
PhotogalleryVote:function(photogalleryID,photogalleryGraphicID,points,userIP,succeededCallback, failedCallback, userContext) {
/// <param name="photogalleryID" type="Number">System.Int32</param>
/// <param name="photogalleryGraphicID" type="Number">System.Int32</param>
/// <param name="points" type="Number">System.Int32</param>
/// <param name="userIP" type="String">System.String</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(), 'PhotogalleryVote',false,{photogalleryID:photogalleryID,photogalleryGraphicID:photogalleryGraphicID,points:points,userIP:userIP},succeededCallback,failedCallback,userContext); },
ZoneMultimediaHtml:function(zoneId,page,succeededCallback, failedCallback, userContext) {
/// <param name="zoneId" type="Number">System.Int32</param>
/// <param name="page" 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(), 'ZoneMultimediaHtml',false,{zoneId:zoneId,page:page},succeededCallback,failedCallback,userContext); },
LoadRatingPhotogallery:function(photogalleryGraphicID,userIP,succeededCallback, failedCallback, userContext) {
/// <param name="photogalleryGraphicID" type="Number">System.Int32</param>
/// <param name="userIP" type="String">System.String</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(), 'LoadRatingPhotogallery',false,{photogalleryGraphicID:photogalleryGraphicID,userIP:userIP},succeededCallback,failedCallback,userContext); },
PhotogalleryShowResults:function(photogalleryID,succeededCallback, failedCallback, userContext) {
/// <param name="photogalleryID" 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(), 'PhotogalleryShowResults',false,{photogalleryID:photogalleryID},succeededCallback,failedCallback,userContext); }}
www.rferl.org.Services.PhotogalleryService.registerClass('www.rferl.org.Services.PhotogalleryService',Sys.Net.WebServiceProxy);
www.rferl.org.Services.PhotogalleryService._staticInstance = new www.rferl.org.Services.PhotogalleryService();
www.rferl.org.Services.PhotogalleryService.set_path = function(value) {
www.rferl.org.Services.PhotogalleryService._staticInstance.set_path(value); }
www.rferl.org.Services.PhotogalleryService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return www.rferl.org.Services.PhotogalleryService._staticInstance.get_path();}
www.rferl.org.Services.PhotogalleryService.set_timeout = function(value) {
www.rferl.org.Services.PhotogalleryService._staticInstance.set_timeout(value); }
www.rferl.org.Services.PhotogalleryService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return www.rferl.org.Services.PhotogalleryService._staticInstance.get_timeout(); }
www.rferl.org.Services.PhotogalleryService.set_defaultUserContext = function(value) { 
www.rferl.org.Services.PhotogalleryService._staticInstance.set_defaultUserContext(value); }
www.rferl.org.Services.PhotogalleryService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return www.rferl.org.Services.PhotogalleryService._staticInstance.get_defaultUserContext(); }
www.rferl.org.Services.PhotogalleryService.set_defaultSucceededCallback = function(value) { 
 www.rferl.org.Services.PhotogalleryService._staticInstance.set_defaultSucceededCallback(value); }
www.rferl.org.Services.PhotogalleryService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return www.rferl.org.Services.PhotogalleryService._staticInstance.get_defaultSucceededCallback(); }
www.rferl.org.Services.PhotogalleryService.set_defaultFailedCallback = function(value) { 
www.rferl.org.Services.PhotogalleryService._staticInstance.set_defaultFailedCallback(value); }
www.rferl.org.Services.PhotogalleryService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return www.rferl.org.Services.PhotogalleryService._staticInstance.get_defaultFailedCallback(); }
www.rferl.org.Services.PhotogalleryService.set_enableJsonp = function(value) { www.rferl.org.Services.PhotogalleryService._staticInstance.set_enableJsonp(value); }
www.rferl.org.Services.PhotogalleryService.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return www.rferl.org.Services.PhotogalleryService._staticInstance.get_enableJsonp(); }
www.rferl.org.Services.PhotogalleryService.set_jsonpCallbackParameter = function(value) { www.rferl.org.Services.PhotogalleryService._staticInstance.set_jsonpCallbackParameter(value); }
www.rferl.org.Services.PhotogalleryService.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return www.rferl.org.Services.PhotogalleryService._staticInstance.get_jsonpCallbackParameter(); }
www.rferl.org.Services.PhotogalleryService.set_path("/Services/PhotogalleryService.asmx");
www.rferl.org.Services.PhotogalleryService.PhotogalleryVote= function(photogalleryID,photogalleryGraphicID,points,userIP,onSuccess,onFailed,userContext) {
/// <param name="photogalleryID" type="Number">System.Int32</param>
/// <param name="photogalleryGraphicID" type="Number">System.Int32</param>
/// <param name="points" type="Number">System.Int32</param>
/// <param name="userIP" type="String">System.String</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>
www.rferl.org.Services.PhotogalleryService._staticInstance.PhotogalleryVote(photogalleryID,photogalleryGraphicID,points,userIP,onSuccess,onFailed,userContext); }
www.rferl.org.Services.PhotogalleryService.ZoneMultimediaHtml= function(zoneId,page,onSuccess,onFailed,userContext) {
/// <param name="zoneId" type="Number">System.Int32</param>
/// <param name="page" 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>
www.rferl.org.Services.PhotogalleryService._staticInstance.ZoneMultimediaHtml(zoneId,page,onSuccess,onFailed,userContext); }
www.rferl.org.Services.PhotogalleryService.LoadRatingPhotogallery= function(photogalleryGraphicID,userIP,onSuccess,onFailed,userContext) {
/// <param name="photogalleryGraphicID" type="Number">System.Int32</param>
/// <param name="userIP" type="String">System.String</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>
www.rferl.org.Services.PhotogalleryService._staticInstance.LoadRatingPhotogallery(photogalleryGraphicID,userIP,onSuccess,onFailed,userContext); }
www.rferl.org.Services.PhotogalleryService.PhotogalleryShowResults= function(photogalleryID,onSuccess,onFailed,userContext) {
/// <param name="photogalleryID" 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>
www.rferl.org.Services.PhotogalleryService._staticInstance.PhotogalleryShowResults(photogalleryID,onSuccess,onFailed,userContext); }

