if(typeof earthControls == "undefined") earthControls={};
if(typeof earthControls.earthGallery == "undefined") earthControls.earthGallery={};
if(typeof earthControls.earthGallery.ServiceFacade == "undefined") earthControls.earthGallery.ServiceFacade={};
earthControls.earthGallery.ServiceFacade_class = function() {};
Object.extend(earthControls.earthGallery.ServiceFacade_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	ActiveMenu: function(menu) {
		return this.invoke("ActiveMenu", {"menu":menu}, this.ActiveMenu.getArguments().slice(1));
	},
	Logout: function() {
		return this.invoke("Logout", {}, this.Logout.getArguments().slice(0));
	},
	CreatePhoto: function(originalFileList, photoFileList) {
		return this.invoke("CreatePhoto", {"originalFileList":originalFileList, "photoFileList":photoFileList}, this.CreatePhoto.getArguments().slice(2));
	},
	SavePhotoTitle: function(id, title) {
		return this.invoke("SavePhotoTitle", {"id":id, "title":title}, this.SavePhotoTitle.getArguments().slice(2));
	},
	SavePhotoDescription: function(id, description) {
		return this.invoke("SavePhotoDescription", {"id":id, "description":description}, this.SavePhotoDescription.getArguments().slice(2));
	},
	DeletePhoto: function(id, photoFilename) {
		return this.invoke("DeletePhoto", {"id":id, "photoFilename":photoFilename}, this.DeletePhoto.getArguments().slice(2));
	},
	UpdatePhotoPrivacy: function(id, elementId, isPublic) {
		return this.invoke("UpdatePhotoPrivacy", {"id":id, "elementId":elementId, "isPublic":isPublic}, this.UpdatePhotoPrivacy.getArguments().slice(3));
	},
	GetAlbumList: function(id, layerid) {
		return this.invoke("GetAlbumList", {"id":id, "layerid":layerid}, this.GetAlbumList.getArguments().slice(2));
	},
	AddAlbumToPhoto: function(photoId, albumIds) {
		return this.invoke("AddAlbumToPhoto", {"photoId":photoId, "albumIds":albumIds}, this.AddAlbumToPhoto.getArguments().slice(2));
	},
	AddPhotoToAlbum: function(photoIdDelimit, albumId) {
		return this.invoke("AddPhotoToAlbum", {"photoIdDelimit":photoIdDelimit, "albumId":albumId}, this.AddPhotoToAlbum.getArguments().slice(2));
	},
	RemovePhotoFromAlbum: function(albumIdDelimit, collectionId) {
		return this.invoke("RemovePhotoFromAlbum", {"albumIdDelimit":albumIdDelimit, "collectionId":collectionId}, this.RemovePhotoFromAlbum.getArguments().slice(2));
	},
	SaveAlbumTitle: function(id, title) {
		return this.invoke("SaveAlbumTitle", {"id":id, "title":title}, this.SaveAlbumTitle.getArguments().slice(2));
	},
	SaveAlbumDescription: function(id, description) {
		return this.invoke("SaveAlbumDescription", {"id":id, "description":description}, this.SaveAlbumDescription.getArguments().slice(2));
	},
	RefreshManagePhotoPool: function(collectionId) {
		return this.invoke("RefreshManagePhotoPool", {"collectionId":collectionId}, this.RefreshManagePhotoPool.getArguments().slice(1));
	},
	PhotoTrack: function(id) {
		return this.invoke("PhotoTrack", {"id":id}, this.PhotoTrack.getArguments().slice(1));
	},
	TrackAlbum: function(id) {
		return this.invoke("TrackAlbum", {"id":id}, this.TrackAlbum.getArguments().slice(1));
	},
	ManageWorkingPhotoList: function(albumId) {
		return this.invoke("ManageWorkingPhotoList", {"albumId":albumId}, this.ManageWorkingPhotoList.getArguments().slice(1));
	},
	ManageWorkingAlbumList: function(galleryId) {
		return this.invoke("ManageWorkingAlbumList", {"galleryId":galleryId}, this.ManageWorkingAlbumList.getArguments().slice(1));
	},
	ManagePagePool: function(pageNo) {
		return this.invoke("ManagePagePool", {"pageNo":pageNo}, this.ManagePagePool.getArguments().slice(1));
	},
	CreateAlbum: function(title, description, photoFileList) {
		return this.invoke("CreateAlbum", {"title":title, "description":description, "photoFileList":photoFileList}, this.CreateAlbum.getArguments().slice(3));
	},
	DeleteAlbum: function(id) {
		return this.invoke("DeleteAlbum", {"id":id}, this.DeleteAlbum.getArguments().slice(1));
	},
	GetAlbum: function(id) {
		return this.invoke("GetAlbum", {"id":id}, this.GetAlbum.getArguments().slice(1));
	},
	UpdateAlbum: function(id, title, description, photoIdDelimit) {
		return this.invoke("UpdateAlbum", {"id":id, "title":title, "description":description, "photoIdDelimit":photoIdDelimit}, this.UpdateAlbum.getArguments().slice(4));
	},
	UpdateGallery: function(id, title, description, collectionIdDelimit) {
		return this.invoke("UpdateGallery", {"id":id, "title":title, "description":description, "collectionIdDelimit":collectionIdDelimit}, this.UpdateGallery.getArguments().slice(4));
	},
	UpdatePhotoInAlbumOrder: function(id, photoIdDelimit) {
		return this.invoke("UpdatePhotoInAlbumOrder", {"id":id, "photoIdDelimit":photoIdDelimit}, this.UpdatePhotoInAlbumOrder.getArguments().slice(2));
	},
	UpdateAlbumInGalleryOrder: function(id, photoIdDelimit) {
		return this.invoke("UpdateAlbumInGalleryOrder", {"id":id, "photoIdDelimit":photoIdDelimit}, this.UpdateAlbumInGalleryOrder.getArguments().slice(2));
	},
	GetPhotoPoolView: function(viewType, pageNo) {
		return this.invoke("GetPhotoPoolView", {"viewType":viewType, "pageNo":pageNo}, this.GetPhotoPoolView.getArguments().slice(2));
	},
	GetPhotoPoolPage: function(viewType, currentPage, totalPage) {
		return this.invoke("GetPhotoPoolPage", {"viewType":viewType, "currentPage":currentPage, "totalPage":totalPage}, this.GetPhotoPoolPage.getArguments().slice(3));
	},
	AddAlbumToGallery: function(albumIdDelimit, galleryId) {
		return this.invoke("AddAlbumToGallery", {"albumIdDelimit":albumIdDelimit, "galleryId":galleryId}, this.AddAlbumToGallery.getArguments().slice(2));
	},
	GetAlbumPoolView: function(galleryId, pageNo) {
		return this.invoke("GetAlbumPoolView", {"galleryId":galleryId, "pageNo":pageNo}, this.GetAlbumPoolView.getArguments().slice(2));
	},
	GetAlbumPoolPage: function(currentPage, totalPage) {
		return this.invoke("GetAlbumPoolPage", {"currentPage":currentPage, "totalPage":totalPage}, this.GetAlbumPoolPage.getArguments().slice(2));
	},
	CreateGallery: function(title, description, albumFileList) {
		return this.invoke("CreateGallery", {"title":title, "description":description, "albumFileList":albumFileList}, this.CreateGallery.getArguments().slice(3));
	},
	UpdateBatchPhotoPrivacy: function(photoIdDelimit, isPublic) {
		return this.invoke("UpdateBatchPhotoPrivacy", {"photoIdDelimit":photoIdDelimit, "isPublic":isPublic}, this.UpdateBatchPhotoPrivacy.getArguments().slice(2));
	},
	GetBatchPoolView: function(viewType, currentPage) {
		return this.invoke("GetBatchPoolView", {"viewType":viewType, "currentPage":currentPage}, this.GetBatchPoolView.getArguments().slice(2));
	},
	GetBatchPoolPage: function(viewType, currentPage, totalPage) {
		return this.invoke("GetBatchPoolPage", {"viewType":viewType, "currentPage":currentPage, "totalPage":totalPage}, this.GetBatchPoolPage.getArguments().slice(3));
	},
	DeleteMultiplePhoto: function(photoIdDelimit) {
		return this.invoke("DeleteMultiplePhoto", {"photoIdDelimit":photoIdDelimit}, this.DeleteMultiplePhoto.getArguments().slice(1));
	},
	GetPoolCurrentPaging: function(poolViewIndex, currentPage) {
		return this.invoke("GetPoolCurrentPaging", {"poolViewIndex":poolViewIndex, "currentPage":currentPage}, this.GetPoolCurrentPaging.getArguments().slice(2));
	},
	url: '/ajaxpro/earthControls.earthGallery.ServiceFacade,earthGallery.ashx'
}));
earthControls.earthGallery.ServiceFacade = new earthControls.earthGallery.ServiceFacade_class();

