if(typeof SmartWeb == "undefined") SmartWeb={};
if(typeof SmartWeb.Ajax == "undefined") SmartWeb.Ajax={};
if(typeof SmartWeb.Ajax.Ajax == "undefined") SmartWeb.Ajax.Ajax={};
SmartWeb.Ajax.Ajax_class = function() {};
Object.extend(SmartWeb.Ajax.Ajax_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	AjaxLogin: function(Username, Password) {
		return this.invoke("AjaxLogin", {"Username":Username, "Password":Password}, this.AjaxLogin.getArguments().slice(2));
	},
	AjaxGuestBook: function(Guest, Content, Contact, Display, Code, lan) {
		return this.invoke("AjaxGuestBook", {"Guest":Guest, "Content":Content, "Contact":Contact, "Display":Display, "Code":Code, "lan":lan}, this.AjaxGuestBook.getArguments().slice(6));
	},
	Stat: function(SiteId, InfoId) {
		return this.invoke("Stat", {"SiteId":SiteId, "InfoId":InfoId}, this.Stat.getArguments().slice(2));
	},
	StatAll: function(SiteId, url) {
		return this.invoke("StatAll", {"SiteId":SiteId, "url":url}, this.StatAll.getArguments().slice(2));
	},
	AjaxSuperForm: function(SiteId, title, content) {
		return this.invoke("AjaxSuperForm", {"SiteId":SiteId, "title":title, "content":content}, this.AjaxSuperForm.getArguments().slice(3));
	},
	url: '/ajaxpro/SmartWeb.Ajax.Ajax,SmartWeb.ashx'
}));
SmartWeb.Ajax.Ajax = new SmartWeb.Ajax.Ajax_class();

