var ContactGalleryService=function() {
ContactGalleryService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ContactGalleryService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ContactGalleryService._staticInstance.get_path();},
GetGalleryImages:function(pageId,imageHeight,imageWidth,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetGalleryImages',false,{pageId:pageId,imageHeight:imageHeight,imageWidth:imageWidth},succeededCallback,failedCallback,userContext); },
GetInfoWindowItems:function(pageId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetInfoWindowItems',false,{pageId:pageId},succeededCallback,failedCallback,userContext); }}
ContactGalleryService.registerClass('ContactGalleryService',Sys.Net.WebServiceProxy);
ContactGalleryService._staticInstance = new ContactGalleryService();
ContactGalleryService.set_path = function(value) { ContactGalleryService._staticInstance.set_path(value); }
ContactGalleryService.get_path = function() { return ContactGalleryService._staticInstance.get_path(); }
ContactGalleryService.set_timeout = function(value) { ContactGalleryService._staticInstance.set_timeout(value); }
ContactGalleryService.get_timeout = function() { return ContactGalleryService._staticInstance.get_timeout(); }
ContactGalleryService.set_defaultUserContext = function(value) { ContactGalleryService._staticInstance.set_defaultUserContext(value); }
ContactGalleryService.get_defaultUserContext = function() { return ContactGalleryService._staticInstance.get_defaultUserContext(); }
ContactGalleryService.set_defaultSucceededCallback = function(value) { ContactGalleryService._staticInstance.set_defaultSucceededCallback(value); }
ContactGalleryService.get_defaultSucceededCallback = function() { return ContactGalleryService._staticInstance.get_defaultSucceededCallback(); }
ContactGalleryService.set_defaultFailedCallback = function(value) { ContactGalleryService._staticInstance.set_defaultFailedCallback(value); }
ContactGalleryService.get_defaultFailedCallback = function() { return ContactGalleryService._staticInstance.get_defaultFailedCallback(); }
ContactGalleryService.set_path("/templates/Contact/contactgalleryservice.asmx");
ContactGalleryService.GetGalleryImages= function(pageId,imageHeight,imageWidth,onSuccess,onFailed,userContext) {ContactGalleryService._staticInstance.GetGalleryImages(pageId,imageHeight,imageWidth,onSuccess,onFailed,userContext); }
ContactGalleryService.GetInfoWindowItems= function(pageId,onSuccess,onFailed,userContext) {ContactGalleryService._staticInstance.GetInfoWindowItems(pageId,onSuccess,onFailed,userContext); }

