if(typeof Bjunki == "undefined") Bjunki={};
Bjunki.Video_class = function() {};
Object.extend(Bjunki.Video_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	SendMail: function(name, from, to, msg, id) {
		return this.invoke("SendMail", {"name":name, "from":from, "to":to, "msg":msg, "id":id}, this.SendMail.getArguments().slice(5));
	},
	GetHostName: function() {
		return this.invoke("GetHostName", {}, this.GetHostName.getArguments().slice(0));
	},
	Logout: function() {
		return this.invoke("Logout", {}, this.Logout.getArguments().slice(0));
	},
	SetLang: function(langid) {
		return this.invoke("SetLang", {"langid":langid}, this.SetLang.getArguments().slice(1));
	},
	Login: function(user, pass) {
		return this.invoke("Login", {"user":user, "pass":pass}, this.Login.getArguments().slice(2));
	},
	GetTopVideos: function(p) {
		return this.invoke("GetTopVideos", {"p":p}, this.GetTopVideos.getArguments().slice(1));
	},
	TurnPage: function(page, id) {
		return this.invoke("TurnPage", {"page":page, "id":id}, this.TurnPage.getArguments().slice(2));
	},
	AddComment: function(id, type, user, email, website, txt) {
		return this.invoke("AddComment", {"id":id, "type":type, "user":user, "email":email, "website":website, "txt":txt}, this.AddComment.getArguments().slice(6));
	},
	GetComment: function(id) {
		return this.invoke("GetComment", {"id":id}, this.GetComment.getArguments().slice(1));
	},
	changePart: function(id) {
		return this.invoke("changePart", {"id":id}, this.changePart.getArguments().slice(1));
	},
	AddLike: function(id, ip) {
		return this.invoke("AddLike", {"id":id, "ip":ip}, this.AddLike.getArguments().slice(2));
	},
	url: '/ajaxpro/Bjunki.Video,Bjunki.ashx'
}));
Bjunki.Video = new Bjunki.Video_class();


