if(typeof NhacCuaTui == "undefined") NhacCuaTui={};
if(typeof NhacCuaTui.FrontEnd == "undefined") NhacCuaTui.FrontEnd={};
if(typeof NhacCuaTui.FrontEnd.AjaxProfileHelper_class == "undefined") NhacCuaTui.FrontEnd.AjaxProfileHelper_class={};
NhacCuaTui.FrontEnd.AjaxProfileHelper_class = function() {};
Object.extend(NhacCuaTui.FrontEnd.AjaxProfileHelper_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	CheckUserLogin: function(username, password, savecookie) {
		return this.invoke("CheckUserLogin", {"username":username, "password":password, "savecookie":savecookie}, this.CheckUserLogin.getArguments().slice(3));
	},
	CheckUserLogout: function() {
		return this.invoke("CheckUserLogout", {}, this.CheckUserLogout.getArguments().slice(0));
	},
	CheckAlreadyLogin: function() {
		return this.invoke("CheckAlreadyLogin", {}, this.CheckAlreadyLogin.getArguments().slice(0));
	},
	AddListPlayer: function(songKey) {
		return this.invoke("AddListPlayer", {"songKey":songKey}, this.AddListPlayer.getArguments().slice(1));
	},
	AddList: function(songKey) {
		return this.invoke("AddList", {"songKey":songKey}, this.AddList.getArguments().slice(1));
	},
	Download: function(songKey, saveAs) {
		return this.invoke("Download", {"songKey":songKey, "saveAs":saveAs}, this.Download.getArguments().slice(2));
	},
	GetSongListAllObject: function(searchString, genreBy, searchBy, sortBy, orderDirection, kbit, page) {
		return this.invoke("GetSongListAllObject", {"searchString":searchString, "genreBy":genreBy, "searchBy":searchBy, "sortBy":sortBy, "orderDirection":orderDirection, "kbit":kbit, "page":page}, this.GetSongListAllObject.getArguments().slice(7));
	},
	CheckUserName: function(username) {
		return this.invoke("CheckUserName", {"username":username}, this.CheckUserName.getArguments().slice(1));
	},
	NewVerifyCode: function() {
		return this.invoke("NewVerifyCode", {}, this.NewVerifyCode.getArguments().slice(0));
	},
	ActiveUser: function(VerifyCode, Email) {
		return this.invoke("ActiveUser", {"VerifyCode":VerifyCode, "Email":Email}, this.ActiveUser.getArguments().slice(2));
	},
	NewUser: function(UserName, Password, Email, FullName, PhoneNumber, ListQuestion, Answer, VerifyCode) {
		return this.invoke("NewUser", {"UserName":UserName, "Password":Password, "Email":Email, "FullName":FullName, "PhoneNumber":PhoneNumber, "ListQuestion":ListQuestion, "Answer":Answer, "VerifyCode":VerifyCode}, this.NewUser.getArguments().slice(8));
	},
	UploadSong: function(fullName, singername, textURL) {
		return this.invoke("UploadSong", {"fullName":fullName, "singername":singername, "textURL":textURL}, this.UploadSong.getArguments().slice(3));
	},
	GetUpdateList: function(songString) {
		return this.invoke("GetUpdateList", {"songString":songString}, this.GetUpdateList.getArguments().slice(1));
	},
	ADVLogger: function(logoId) {
		return this.invoke("ADVLogger", {"logoId":logoId}, this.ADVLogger.getArguments().slice(1));
	},
	GetChangeTypePlay: function(typePlayer, key, valuePlayer) {
		return this.invoke("GetChangeTypePlay", {"typePlayer":typePlayer, "key":key, "valuePlayer":valuePlayer}, this.GetChangeTypePlay.getArguments().slice(3));
	},
	ChangePassword: function(oldpassword, newpassword) {
		return this.invoke("ChangePassword", {"oldpassword":oldpassword, "newpassword":newpassword}, this.ChangePassword.getArguments().slice(2));
	},
	EditLyric: function(songkey) {
		return this.invoke("EditLyric", {"songkey":songkey}, this.EditLyric.getArguments().slice(1));
	},
	EditLyricSave: function(txtLyric, songkey) {
		return this.invoke("EditLyricSave", {"txtLyric":txtLyric, "songkey":songkey}, this.EditLyricSave.getArguments().slice(2));
	},
	AddLyric: function(txtLyric, songkey) {
		return this.invoke("AddLyric", {"txtLyric":txtLyric, "songkey":songkey}, this.AddLyric.getArguments().slice(2));
	},
	DeleteLyric: function(songKey) {
		return this.invoke("DeleteLyric", {"songKey":songKey}, this.DeleteLyric.getArguments().slice(1));
	},
	AddComment: function(txtComment, songkey) {
		return this.invoke("AddComment", {"txtComment":txtComment, "songkey":songkey}, this.AddComment.getArguments().slice(2));
	},
	DeleteComment: function(songKey, commentID) {
		return this.invoke("DeleteComment", {"songKey":songKey, "commentID":commentID}, this.DeleteComment.getArguments().slice(2));
	},
	CommentGetListPaged: function(songkey, pageIndex) {
		return this.invoke("CommentGetListPaged", {"songkey":songkey, "pageIndex":pageIndex}, this.CommentGetListPaged.getArguments().slice(2));
	},
	ReportSpamComment: function(songKey, commentID) {
		return this.invoke("ReportSpamComment", {"songKey":songKey, "commentID":commentID}, this.ReportSpamComment.getArguments().slice(2));
	},
	SendMailSupportPowerUser: function(VerifyCode, type, txtcontent, txtemail, txtfullname) {
		return this.invoke("SendMailSupportPowerUser", {"VerifyCode":VerifyCode, "type":type, "txtcontent":txtcontent, "txtemail":txtemail, "txtfullname":txtfullname}, this.SendMailSupportPowerUser.getArguments().slice(5));
	},
	PowerUserDownloadListSong: function(userKey, saveAs) {
		return this.invoke("PowerUserDownloadListSong", {"userKey":userKey, "saveAs":saveAs}, this.PowerUserDownloadListSong.getArguments().slice(2));
	},
	DownloadCountDown: function(songKey, saveAs) {
		return this.invoke("DownloadCountDown", {"songKey":songKey, "saveAs":saveAs}, this.DownloadCountDown.getArguments().slice(2));
	},
	url: '/ajaxpro/NhacCuaTui.FrontEnd.AjaxProfileHelper,App_Code.ashx'
}));
NhacCuaTui.FrontEnd.AjaxProfileHelper = new NhacCuaTui.FrontEnd.AjaxProfileHelper_class();

