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.weehome_class == "undefined") WeeWorld.Web.services.weehome_class={};
WeeWorld.Web.services.weehome_class = function() {};
Object.extend(WeeWorld.Web.services.weehome_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	SendFriendInvite: function(targetUserId, message) {
		return this.invoke("SendFriendInvite", {"targetUserId":targetUserId, "message":message}, this.SendFriendInvite.getArguments().slice(2));
	},
	AcceptFriendInvite: function(inviteId) {
		return this.invoke("AcceptFriendInvite", {"inviteId":inviteId}, this.AcceptFriendInvite.getArguments().slice(1));
	},
	GetUsersDetailsFromList: function(userId, idList) {
		return this.invoke("GetUsersDetailsFromList", {"userId":userId, "idList":idList}, this.GetUsersDetailsFromList.getArguments().slice(2));
	},
	GetUsersDetailsFromListForGifting: function(userId, idList) {
		return this.invoke("GetUsersDetailsFromListForGifting", {"userId":userId, "idList":idList}, this.GetUsersDetailsFromListForGifting.getArguments().slice(2));
	},
	GetAllFriendIdsJsonString: function(userId) {
		return this.invoke("GetAllFriendIdsJsonString", {"userId":userId}, this.GetAllFriendIdsJsonString.getArguments().slice(1));
	},
	SetSelectedFriend: function(userId, friendId, friendUsername) {
		return this.invoke("SetSelectedFriend", {"userId":userId, "friendId":friendId, "friendUsername":friendUsername}, this.SetSelectedFriend.getArguments().slice(3));
	},
	ClearSelectedFriend: function() {
		return this.invoke("ClearSelectedFriend", {}, this.ClearSelectedFriend.getArguments().slice(0));
	},
	GetSelectedFriend: function(userId) {
		return this.invoke("GetSelectedFriend", {"userId":userId}, this.GetSelectedFriend.getArguments().slice(1));
	},
	FindUserByUsername: function(userName) {
		return this.invoke("FindUserByUsername", {"userName":userName}, this.FindUserByUsername.getArguments().slice(1));
	},
	FindUserByEMailAddress: function(emailAddress) {
		return this.invoke("FindUserByEMailAddress", {"emailAddress":emailAddress}, this.FindUserByEMailAddress.getArguments().slice(1));
	},
	ReplyToComment: function(weespaceId, originalSender, message, replyFromID, messageType) {
		return this.invoke("ReplyToComment", {"weespaceId":weespaceId, "originalSender":originalSender, "message":message, "replyFromID":replyFromID, "messageType":messageType}, this.ReplyToComment.getArguments().slice(5));
	},
	AddComment: function(weespaceId, message) {
		return this.invoke("AddComment", {"weespaceId":weespaceId, "message":message}, this.AddComment.getArguments().slice(2));
	},
	DeleteComment: function(commentId) {
		return this.invoke("DeleteComment", {"commentId":commentId}, this.DeleteComment.getArguments().slice(1));
	},
	GetCommentsCurrentPage: function(deleteMsgIds, msgIds, weeSpaceId, state, highlighted, comScoreText) {
		return this.invoke("GetCommentsCurrentPage", {"deleteMsgIds":deleteMsgIds, "msgIds":msgIds, "weeSpaceId":weeSpaceId, "state":state, "highlighted":highlighted, "comScoreText":comScoreText}, this.GetCommentsCurrentPage.getArguments().slice(6));
	},
	GetCommentsNextPage: function(deleteMsgIds, msgIds, weeSpaceId, state, highlighted, comScoreText) {
		return this.invoke("GetCommentsNextPage", {"deleteMsgIds":deleteMsgIds, "msgIds":msgIds, "weeSpaceId":weeSpaceId, "state":state, "highlighted":highlighted, "comScoreText":comScoreText}, this.GetCommentsNextPage.getArguments().slice(6));
	},
	GetCommentsLastPage: function(deleteMsgIds, msgIds, weeSpaceId, highlighted, comScoreText) {
		return this.invoke("GetCommentsLastPage", {"deleteMsgIds":deleteMsgIds, "msgIds":msgIds, "weeSpaceId":weeSpaceId, "highlighted":highlighted, "comScoreText":comScoreText}, this.GetCommentsLastPage.getArguments().slice(5));
	},
	GetCommentsPreviousPage: function(deleteMsgIds, msgIds, weeSpaceId, state, highlighted, comScoreText) {
		return this.invoke("GetCommentsPreviousPage", {"deleteMsgIds":deleteMsgIds, "msgIds":msgIds, "weeSpaceId":weeSpaceId, "state":state, "highlighted":highlighted, "comScoreText":comScoreText}, this.GetCommentsPreviousPage.getArguments().slice(6));
	},
	GetCommentsFirstPage: function(deleteMsgIds, msgIds, weeSpaceId, highlighted, comScoreText) {
		return this.invoke("GetCommentsFirstPage", {"deleteMsgIds":deleteMsgIds, "msgIds":msgIds, "weeSpaceId":weeSpaceId, "highlighted":highlighted, "comScoreText":comScoreText}, this.GetCommentsFirstPage.getArguments().slice(5));
	},
	GetComments: function(weeSpaceId, messageid, backwards, comScoreText) {
		return this.invoke("GetComments", {"weeSpaceId":weeSpaceId, "messageid":messageid, "backwards":backwards, "comScoreText":comScoreText}, this.GetComments.getArguments().slice(4));
	},
	GotoInReplyToComment: function(senderId, senderUsername, inReplyToId, weespaceId, comScoreText) {
		return this.invoke("GotoInReplyToComment", {"senderId":senderId, "senderUsername":senderUsername, "inReplyToId":inReplyToId, "weespaceId":weespaceId, "comScoreText":comScoreText}, this.GotoInReplyToComment.getArguments().slice(5));
	},
	CheckPermissionToViewWeespace: function(yourId, weespaceId) {
		return this.invoke("CheckPermissionToViewWeespace", {"yourId":yourId, "weespaceId":weespaceId}, this.CheckPermissionToViewWeespace.getArguments().slice(2));
	},
	GetSettingsUpdateFields: function() {
		return this.invoke("GetSettingsUpdateFields", {}, this.GetSettingsUpdateFields.getArguments().slice(0));
	},
	UpdateAccountDetails: function(forename, surname, dobDay, dobMonth, dobYear, sex, country, postCode) {
		return this.invoke("UpdateAccountDetails", {"forename":forename, "surname":surname, "dobDay":dobDay, "dobMonth":dobMonth, "dobYear":dobYear, "sex":sex, "country":country, "postCode":postCode}, this.UpdateAccountDetails.getArguments().slice(8));
	},
	UpdatePassword: function(oldPassword, newPassword) {
		return this.invoke("UpdatePassword", {"oldPassword":oldPassword, "newPassword":newPassword}, this.UpdatePassword.getArguments().slice(2));
	},
	GetEMailNotificationSettings: function() {
		return this.invoke("GetEMailNotificationSettings", {}, this.GetEMailNotificationSettings.getArguments().slice(0));
	},
	UpdateNotifications: function(notifyBlog, notifyHomeRoom, notifyFriendInvite, notifyGiftReceived, contactMe) {
		return this.invoke("UpdateNotifications", {"notifyBlog":notifyBlog, "notifyHomeRoom":notifyHomeRoom, "notifyFriendInvite":notifyFriendInvite, "notifyGiftReceived":notifyGiftReceived, "contactMe":contactMe}, this.UpdateNotifications.getArguments().slice(5));
	},
	UpdateEmailAndNotifications: function(oldEmail, newEmail, notifyBlog, notifyHomeRoom, notifyFriendInvite, notifyGiftReceived, contactMe) {
		return this.invoke("UpdateEmailAndNotifications", {"oldEmail":oldEmail, "newEmail":newEmail, "notifyBlog":notifyBlog, "notifyHomeRoom":notifyHomeRoom, "notifyFriendInvite":notifyFriendInvite, "notifyGiftReceived":notifyGiftReceived, "contactMe":contactMe}, this.UpdateEmailAndNotifications.getArguments().slice(7));
	},
	GetPrivacy: function() {
		return this.invoke("GetPrivacy", {}, this.GetPrivacy.getArguments().slice(0));
	},
	UpdatePrivacy: function(viewWeeSpacePermissions, interPermissions, giftVisibilityPermissions, giftInteractionPermissions, chatVisibilityPermissions, presenceVisibilityPermissions) {
		return this.invoke("UpdatePrivacy", {"viewWeeSpacePermissions":viewWeeSpacePermissions, "interPermissions":interPermissions, "giftVisibilityPermissions":giftVisibilityPermissions, "giftInteractionPermissions":giftInteractionPermissions, "chatVisibilityPermissions":chatVisibilityPermissions, "presenceVisibilityPermissions":presenceVisibilityPermissions}, this.UpdatePrivacy.getArguments().slice(6));
	},
	BlockUser: function(userName) {
		return this.invoke("BlockUser", {"userName":userName}, this.BlockUser.getArguments().slice(1));
	},
	UnblockUser: function(userName) {
		return this.invoke("UnblockUser", {"userName":userName}, this.UnblockUser.getArguments().slice(1));
	},
	ResendValidationEmail: function() {
		return this.invoke("ResendValidationEmail", {}, this.ResendValidationEmail.getArguments().slice(0));
	},
	DeleteMsgs: function(deleteMsgIds, p_msgIds) {
		return this.invoke("DeleteMsgs", {"deleteMsgIds":deleteMsgIds, "p_msgIds":p_msgIds}, this.DeleteMsgs.getArguments().slice(2));
	},
	AddPlaylistEmbedCode: function(p_embedCode, p_isUpdate) {
		return this.invoke("AddPlaylistEmbedCode", {"p_embedCode":p_embedCode, "p_isUpdate":p_isUpdate}, this.AddPlaylistEmbedCode.getArguments().slice(2));
	},
	GetUserPlaylistEmbedCode: function(p_userID) {
		return this.invoke("GetUserPlaylistEmbedCode", {"p_userID":p_userID}, this.GetUserPlaylistEmbedCode.getArguments().slice(1));
	},
	RemoveUserPlaylistEmbedCode: function() {
		return this.invoke("RemoveUserPlaylistEmbedCode", {}, this.RemoveUserPlaylistEmbedCode.getArguments().slice(0));
	},
	GetJunTransID: function() {
		return this.invoke("GetJunTransID", {}, this.GetJunTransID.getArguments().slice(0));
	},
	TrySendWeeMeeUpdateEmails: function(addressList, customMessage) {
		return this.invoke("TrySendWeeMeeUpdateEmails", {"addressList":addressList, "customMessage":customMessage}, this.TrySendWeeMeeUpdateEmails.getArguments().slice(2));
	},
	url: '/ajaxpro/WeeWorld.Web.services.weehome,WeeWorldGlobal.ashx'
}));
WeeWorld.Web.services.weehome = new WeeWorld.Web.services.weehome_class();


