if(typeof WeeWorld == "undefined") WeeWorld={};
if(typeof WeeWorld.Web == "undefined") WeeWorld.Web={};
if(typeof WeeWorld.Web.services == "undefined") WeeWorld.Web.services={};
if(typeof WeeWorld.Web.services.room == "undefined") WeeWorld.Web.services.room={};
WeeWorld.Web.services.room_class = function() {};
Object.extend(WeeWorld.Web.services.room_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetRoomCommentsCurrentPage: function(pi, state, comScoreText) {
		return this.invoke("GetRoomCommentsCurrentPage", {"pi":pi, "state":state, "comScoreText":comScoreText}, this.GetRoomCommentsCurrentPage.getArguments().slice(3));
	},
	GetRoomCommentsFirstPage: function(pi, comScoreText) {
		return this.invoke("GetRoomCommentsFirstPage", {"pi":pi, "comScoreText":comScoreText}, this.GetRoomCommentsFirstPage.getArguments().slice(2));
	},
	GetRoomCommentsNextPage: function(pi, state, comScoreText) {
		return this.invoke("GetRoomCommentsNextPage", {"pi":pi, "state":state, "comScoreText":comScoreText}, this.GetRoomCommentsNextPage.getArguments().slice(3));
	},
	GetRoomCommentsLastPage: function(pi, comScoreText) {
		return this.invoke("GetRoomCommentsLastPage", {"pi":pi, "comScoreText":comScoreText}, this.GetRoomCommentsLastPage.getArguments().slice(2));
	},
	GetRoomCommentsPreviousPage: function(pi, state, comScoreText) {
		return this.invoke("GetRoomCommentsPreviousPage", {"pi":pi, "state":state, "comScoreText":comScoreText}, this.GetRoomCommentsPreviousPage.getArguments().slice(3));
	},
	DeleteComment: function(commentId) {
		return this.invoke("DeleteComment", {"commentId":commentId}, this.DeleteComment.getArguments().slice(1));
	},
	AddComment: function(pi, message) {
		return this.invoke("AddComment", {"pi":pi, "message":message}, this.AddComment.getArguments().slice(2));
	},
	GetAnnotationIdeas: function(assetId, cultureId) {
		return this.invoke("GetAnnotationIdeas", {"assetId":assetId, "cultureId":cultureId}, this.GetAnnotationIdeas.getArguments().slice(2));
	},
	SaveAnnotation: function(pi, typeId, title, description, updateAnnotationScore, annotationScore) {
		return this.invoke("SaveAnnotation", {"pi":pi, "typeId":typeId, "title":title, "description":description, "updateAnnotationScore":updateAnnotationScore, "annotationScore":annotationScore}, this.SaveAnnotation.getArguments().slice(6));
	},
	GetRoomStoreAssetsForPage: function(storeId, categoryId, pageId, cultureId) {
		return this.invoke("GetRoomStoreAssetsForPage", {"storeId":storeId, "categoryId":categoryId, "pageId":pageId, "cultureId":cultureId}, this.GetRoomStoreAssetsForPage.getArguments().slice(4));
	},
	GetRoomStore: function(storeId, cultureId) {
		return this.invoke("GetRoomStore", {"storeId":storeId, "cultureId":cultureId}, this.GetRoomStore.getArguments().slice(2));
	},
	ViewAsset: function(pi, locked) {
		return this.invoke("ViewAsset", {"pi":pi, "locked":locked}, this.ViewAsset.getArguments().slice(2));
	},
	GetHomePageURL: function() {
		return this.invoke("GetHomePageURL", {}, this.GetHomePageURL.getArguments().slice(0));
	},
	UpdateMessagePanel: function(TabSelection, pi, currentPage) {
		return this.invoke("UpdateMessagePanel", {"TabSelection":TabSelection, "pi":pi, "currentPage":currentPage}, this.UpdateMessagePanel.getArguments().slice(3));
	},
	GetNewRoomSetupState: function(weeroomId, pi) {
		return this.invoke("GetNewRoomSetupState", {"weeroomId":weeroomId, "pi":pi}, this.GetNewRoomSetupState.getArguments().slice(2));
	},
	url: '/ajaxpro/WeeWorld.Web.services.room,WeeWorldGlobal.ashx'
}));
WeeWorld.Web.services.room = new WeeWorld.Web.services.room_class();

