if(typeof CubicSite == "undefined") CubicSite={};
CubicSite.AjaxAction_class = function() {};
Object.extend(CubicSite.AjaxAction_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	createFriend: function(FriendID) {
		return this.invoke("createFriend", {"FriendID":FriendID}, this.createFriend.getArguments().slice(1));
	},
	deleteFriend: function(FriendID) {
		return this.invoke("deleteFriend", {"FriendID":FriendID}, this.deleteFriend.getArguments().slice(1));
	},
	createEnemy: function(EnemyID) {
		return this.invoke("createEnemy", {"EnemyID":EnemyID}, this.createEnemy.getArguments().slice(1));
	},
	deleteEnemy: function(EnemyID) {
		return this.invoke("deleteEnemy", {"EnemyID":EnemyID}, this.deleteEnemy.getArguments().slice(1));
	},
	getAvatarURL: function(AvatarID) {
		return this.invoke("getAvatarURL", {"AvatarID":AvatarID}, this.getAvatarURL.getArguments().slice(1));
	},
	addQuote: function(PostID) {
		return this.invoke("addQuote", {"PostID":PostID}, this.addQuote.getArguments().slice(1));
	},
	removeQuote: function(PostID) {
		return this.invoke("removeQuote", {"PostID":PostID}, this.removeQuote.getArguments().slice(1));
	},
	previewMessage: function(rawMessage) {
		return this.invoke("previewMessage", {"rawMessage":rawMessage}, this.previewMessage.getArguments().slice(1));
	},
	previewGalleryImageNavigation: function(FileID) {
		return this.invoke("previewGalleryImageNavigation", {"FileID":FileID}, this.previewGalleryImageNavigation.getArguments().slice(1));
	},
	previewGalleryImage: function(FileID) {
		return this.invoke("previewGalleryImage", {"FileID":FileID}, this.previewGalleryImage.getArguments().slice(1));
	},
	getGalleryImageWidth: function(FileID) {
		return this.invoke("getGalleryImageWidth", {"FileID":FileID}, this.getGalleryImageWidth.getArguments().slice(1));
	},
	getGalleryFileComments: function(FileID) {
		return this.invoke("getGalleryFileComments", {"FileID":FileID}, this.getGalleryFileComments.getArguments().slice(1));
	},
	getQuickEditPostData: function(PostID) {
		return this.invoke("getQuickEditPostData", {"PostID":PostID}, this.getQuickEditPostData.getArguments().slice(1));
	},
	updateQuickEditPost: function(PostID, rawForumCode) {
		return this.invoke("updateQuickEditPost", {"PostID":PostID, "rawForumCode":rawForumCode}, this.updateQuickEditPost.getArguments().slice(2));
	},
	cancelQuickEditPost: function(PostID) {
		return this.invoke("cancelQuickEditPost", {"PostID":PostID}, this.cancelQuickEditPost.getArguments().slice(1));
	},
	getGalleryFiles: function(SiteUserID, EditorID, VirDirID, mode, currentPage) {
		return this.invoke("getGalleryFiles", {"SiteUserID":SiteUserID, "EditorID":EditorID, "VirDirID":VirDirID, "mode":mode, "currentPage":currentPage}, this.getGalleryFiles.getArguments().slice(5));
	},
	getRecentUploadsAttachCode: function() {
		return this.invoke("getRecentUploadsAttachCode", {}, this.getRecentUploadsAttachCode.getArguments().slice(0));
	},
	getSmilies: function(EditorID) {
		return this.invoke("getSmilies", {"EditorID":EditorID}, this.getSmilies.getArguments().slice(1));
	},
	addModPost: function(PostID) {
		return this.invoke("addModPost", {"PostID":PostID}, this.addModPost.getArguments().slice(1));
	},
	removeModPost: function(PostID) {
		return this.invoke("removeModPost", {"PostID":PostID}, this.removeModPost.getArguments().slice(1));
	},
	addModTopic: function(TopicID) {
		return this.invoke("addModTopic", {"TopicID":TopicID}, this.addModTopic.getArguments().slice(1));
	},
	removeModTopic: function(TopicID) {
		return this.invoke("removeModTopic", {"TopicID":TopicID}, this.removeModTopic.getArguments().slice(1));
	},
	getBreadcrumbLinks: function(Type, CrumbID) {
		return this.invoke("getBreadcrumbLinks", {"Type":Type, "CrumbID":CrumbID}, this.getBreadcrumbLinks.getArguments().slice(2));
	},
	loadPMPreview: function(MessageID) {
		return this.invoke("loadPMPreview", {"MessageID":MessageID}, this.loadPMPreview.getArguments().slice(1));
	},
	longtest: function(MessageID) {
		return this.invoke("longtest", {"MessageID":MessageID}, this.longtest.getArguments().slice(1));
	},
	addModPM: function(PMID) {
		return this.invoke("addModPM", {"PMID":PMID}, this.addModPM.getArguments().slice(1));
	},
	removeModPM: function(PMID) {
		return this.invoke("removeModPM", {"PMID":PMID}, this.removeModPM.getArguments().slice(1));
	},
	modPMExists: function(PMID) {
		return this.invoke("modPMExists", {"PMID":PMID}, this.modPMExists.getArguments().slice(1));
	},
	updateUserStatus: function(theNewStatus) {
		return this.invoke("updateUserStatus", {"theNewStatus":theNewStatus}, this.updateUserStatus.getArguments().slice(1));
	},
	clearUserStatus: function() {
		return this.invoke("clearUserStatus", {}, this.clearUserStatus.getArguments().slice(0));
	},
	updateProfilePicture: function(FileID, SiteUserID) {
		return this.invoke("updateProfilePicture", {"FileID":FileID, "SiteUserID":SiteUserID}, this.updateProfilePicture.getArguments().slice(2));
	},
	getFileTypesHTML: function(mode, textarea) {
		return this.invoke("getFileTypesHTML", {"mode":mode, "textarea":textarea}, this.getFileTypesHTML.getArguments().slice(2));
	},
	setUploadFileType: function(UploadType, mode, textarea) {
		return this.invoke("setUploadFileType", {"UploadType":UploadType, "mode":mode, "textarea":textarea}, this.setUploadFileType.getArguments().slice(3));
	},
	setUploadDirectory: function(UploadDirectory, mode, textarea) {
		return this.invoke("setUploadDirectory", {"UploadDirectory":UploadDirectory, "mode":mode, "textarea":textarea}, this.setUploadDirectory.getArguments().slice(3));
	},
	setUploadVirtualDirectory: function(UploadVirtualDirectory, mode, textarea) {
		return this.invoke("setUploadVirtualDirectory", {"UploadVirtualDirectory":UploadVirtualDirectory, "mode":mode, "textarea":textarea}, this.setUploadVirtualDirectory.getArguments().slice(3));
	},
	registerCheckUsername: function(UsernameToCheck) {
		return this.invoke("registerCheckUsername", {"UsernameToCheck":UsernameToCheck}, this.registerCheckUsername.getArguments().slice(1));
	},
	registerCheckEmail: function(EmailToCheck, EmailToCheck2) {
		return this.invoke("registerCheckEmail", {"EmailToCheck":EmailToCheck, "EmailToCheck2":EmailToCheck2}, this.registerCheckEmail.getArguments().slice(2));
	},
	registerCheckPassword: function(PasswordToCheck, PasswordToCheck2) {
		return this.invoke("registerCheckPassword", {"PasswordToCheck":PasswordToCheck, "PasswordToCheck2":PasswordToCheck2}, this.registerCheckPassword.getArguments().slice(2));
	},
	createGuestbookEntry: function(ForSiteUserID, newEntryMessage) {
		return this.invoke("createGuestbookEntry", {"ForSiteUserID":ForSiteUserID, "newEntryMessage":newEntryMessage}, this.createGuestbookEntry.getArguments().slice(2));
	},
	deleteGuestbookEntry: function(ForSiteUserID, SiteUserGuestbookEntryID) {
		return this.invoke("deleteGuestbookEntry", {"ForSiteUserID":ForSiteUserID, "SiteUserGuestbookEntryID":SiteUserGuestbookEntryID}, this.deleteGuestbookEntry.getArguments().slice(2));
	},
	getTopicPost: function(TopicID) {
		return this.invoke("getTopicPost", {"TopicID":TopicID}, this.getTopicPost.getArguments().slice(1));
	},
	getBlogReplies: function(BlogEntryID) {
		return this.invoke("getBlogReplies", {"BlogEntryID":BlogEntryID}, this.getBlogReplies.getArguments().slice(1));
	},
	updateAttachmentDetails: function(filesToUpdate) {
		return this.invoke("updateAttachmentDetails", {"filesToUpdate":filesToUpdate}, this.updateAttachmentDetails.getArguments().slice(1));
	},
	scanForAttachments: function(MessageText) {
		return this.invoke("scanForAttachments", {"MessageText":MessageText}, this.scanForAttachments.getArguments().slice(1));
	},
	createReportPostForm: function(ForumPostID) {
		return this.invoke("createReportPostForm", {"ForumPostID":ForumPostID}, this.createReportPostForm.getArguments().slice(1));
	},
	sendReport: function(Message, ForumPostID) {
		return this.invoke("sendReport", {"Message":Message, "ForumPostID":ForumPostID}, this.sendReport.getArguments().slice(2));
	},
	createEmailForm: function(usernameToEmail) {
		return this.invoke("createEmailForm", {"usernameToEmail":usernameToEmail}, this.createEmailForm.getArguments().slice(1));
	},
	sendEmail: function(usernameToEmail, Message) {
		return this.invoke("sendEmail", {"usernameToEmail":usernameToEmail, "Message":Message}, this.sendEmail.getArguments().slice(2));
	},
	lockUnlockTopic: function(TopicID, Mode) {
		return this.invoke("lockUnlockTopic", {"TopicID":TopicID, "Mode":Mode}, this.lockUnlockTopic.getArguments().slice(2));
	},
	checkFilePostedIn: function(FileID) {
		return this.invoke("checkFilePostedIn", {"FileID":FileID}, this.checkFilePostedIn.getArguments().slice(1));
	},
	ratePost: function(ForumPostID, RatingType) {
		return this.invoke("ratePost", {"ForumPostID":ForumPostID, "RatingType":RatingType}, this.ratePost.getArguments().slice(2));
	},
	savePostDraft: function(ForumTopicID, post, AutoSaved) {
		return this.invoke("savePostDraft", {"ForumTopicID":ForumTopicID, "post":post, "AutoSaved":AutoSaved}, this.savePostDraft.getArguments().slice(3));
	},
	saveTopicDraft: function(ForumForumID, title, description, post, AutoSaved) {
		return this.invoke("saveTopicDraft", {"ForumForumID":ForumForumID, "title":title, "description":description, "post":post, "AutoSaved":AutoSaved}, this.saveTopicDraft.getArguments().slice(5));
	},
	fileTagSearch: function(keyword, currentFileID) {
		return this.invoke("fileTagSearch", {"keyword":keyword, "currentFileID":currentFileID}, this.fileTagSearch.getArguments().slice(2));
	},
	addFileTag: function(GalleryFileID, SiteUserID, Keyword, XPosition, YPosition) {
		return this.invoke("addFileTag", {"GalleryFileID":GalleryFileID, "SiteUserID":SiteUserID, "Keyword":Keyword, "XPosition":XPosition, "YPosition":YPosition}, this.addFileTag.getArguments().slice(5));
	},
	removeFileTag: function(tagID) {
		return this.invoke("removeFileTag", {"tagID":tagID}, this.removeFileTag.getArguments().slice(1));
	},
	hideSiteEventInProfile: function(EventType, EventObjectID) {
		return this.invoke("hideSiteEventInProfile", {"EventType":EventType, "EventObjectID":EventObjectID}, this.hideSiteEventInProfile.getArguments().slice(2));
	},
	loadTopicPostsPreview: function(TopicID) {
		return this.invoke("loadTopicPostsPreview", {"TopicID":TopicID}, this.loadTopicPostsPreview.getArguments().slice(1));
	},
	url: '/ajaxpro/CubicSite.AjaxAction,App_Code.ashx'
}));
CubicSite.AjaxAction = new CubicSite.AjaxAction_class();

