if(typeof WishEngine == "undefined") WishEngine={};
if(typeof WishEngine.Ajax_class == "undefined") WishEngine.Ajax_class={};
WishEngine.Ajax_class = function() {};
Object.extend(WishEngine.Ajax_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetCPUInfo: function() {
		return this.invoke("GetCPUInfo", {}, this.GetCPUInfo.getArguments().slice(0));
	},
	UpdateRole: function(db_path, ID, RoleName) {
		return this.invoke("UpdateRole", {"db_path":db_path, "ID":ID, "RoleName":RoleName}, this.UpdateRole.getArguments().slice(3));
	},
	CheckFileExit: function(path) {
		return this.invoke("CheckFileExit", {"path":path}, this.CheckFileExit.getArguments().slice(1));
	},
	AddRole: function(db_path, RoleName, lang) {
		return this.invoke("AddRole", {"db_path":db_path, "RoleName":RoleName, "lang":lang}, this.AddRole.getArguments().slice(3));
	},
	DelRole: function(db_path, ID) {
		return this.invoke("DelRole", {"db_path":db_path, "ID":ID}, this.DelRole.getArguments().slice(2));
	},
	SearchUserStart: function(db_path, key) {
		return this.invoke("SearchUserStart", {"db_path":db_path, "key":key}, this.SearchUserStart.getArguments().slice(2));
	},
	CheckUserRow: function(db_path, ID, key) {
		return this.invoke("CheckUserRow", {"db_path":db_path, "ID":ID, "key":key}, this.CheckUserRow.getArguments().slice(3));
	},
	GetSearchLine: function(db_path, ID, key) {
		return this.invoke("GetSearchLine", {"db_path":db_path, "ID":ID, "key":key}, this.GetSearchLine.getArguments().slice(3));
	},
	UpdateUserBaseInfo: function(db_path, ID, Name, Pwd, Email, Status) {
		return this.invoke("UpdateUserBaseInfo", {"db_path":db_path, "ID":ID, "Name":Name, "Pwd":Pwd, "Email":Email, "Status":Status}, this.UpdateUserBaseInfo.getArguments().slice(6));
	},
	GetUserRole: function(ID) {
		return this.invoke("GetUserRole", {"ID":ID}, this.GetUserRole.getArguments().slice(1));
	},
	DelUserRole: function(db_path, UserRolesID, UserID, key) {
		return this.invoke("DelUserRole", {"db_path":db_path, "UserRolesID":UserRolesID, "UserID":UserID, "key":key}, this.DelUserRole.getArguments().slice(4));
	},
	AddUserRole: function(db_path, ID, key, RolesID) {
		return this.invoke("AddUserRole", {"db_path":db_path, "ID":ID, "key":key, "RolesID":RolesID}, this.AddUserRole.getArguments().slice(4));
	},
	UpdateTab: function(db_path, ID, lang, TabName) {
		return this.invoke("UpdateTab", {"db_path":db_path, "ID":ID, "lang":lang, "TabName":TabName}, this.UpdateTab.getArguments().slice(4));
	},
	DelTab: function(db_path, ID) {
		return this.invoke("DelTab", {"db_path":db_path, "ID":ID}, this.DelTab.getArguments().slice(2));
	},
	DelSubTabs: function(db_path, ID) {
		return this.invoke("DelSubTabs", {"db_path":db_path, "ID":ID}, this.DelSubTabs.getArguments().slice(2));
	},
	DelFunction: function(db_path, ID) {
		return this.invoke("DelFunction", {"db_path":db_path, "ID":ID}, this.DelFunction.getArguments().slice(2));
	},
	DelCtrl: function(db_path, ID) {
		return this.invoke("DelCtrl", {"db_path":db_path, "ID":ID}, this.DelCtrl.getArguments().slice(2));
	},
	CheckEmail: function(source, db_path) {
		return this.invoke("CheckEmail", {"source":source, "db_path":db_path}, this.CheckEmail.getArguments().slice(2));
	},
	CheckCode: function(source) {
		return this.invoke("CheckCode", {"source":source}, this.CheckCode.getArguments().slice(1));
	},
	CheckSubDomain: function(source, db_path) {
		return this.invoke("CheckSubDomain", {"source":source, "db_path":db_path}, this.CheckSubDomain.getArguments().slice(2));
	},
	CheckEmailExist: function(source, db_path) {
		return this.invoke("CheckEmailExist", {"source":source, "db_path":db_path}, this.CheckEmailExist.getArguments().slice(2));
	},
	CheckAccountPwd: function(acc, pwd, db_path) {
		return this.invoke("CheckAccountPwd", {"acc":acc, "pwd":pwd, "db_path":db_path}, this.CheckAccountPwd.getArguments().slice(3));
	},
	UpdatePrice: function(SourceProperty, id, db_path) {
		return this.invoke("UpdatePrice", {"SourceProperty":SourceProperty, "id":id, "db_path":db_path}, this.UpdatePrice.getArguments().slice(3));
	},
	UpdateProductClickNum: function(db_path, aid) {
		return this.invoke("UpdateProductClickNum", {"db_path":db_path, "aid":aid}, this.UpdateProductClickNum.getArguments().slice(2));
	},
	CheckProductQuantity: function(db_path, aid, num, SourceProperty) {
		return this.invoke("CheckProductQuantity", {"db_path":db_path, "aid":aid, "num":num, "SourceProperty":SourceProperty}, this.CheckProductQuantity.getArguments().slice(4));
	},
	AddShoppingCart: function(SourceProperty, id, price, quantity, db_path, lang) {
		return this.invoke("AddShoppingCart", {"SourceProperty":SourceProperty, "id":id, "price":price, "quantity":quantity, "db_path":db_path, "lang":lang}, this.AddShoppingCart.getArguments().slice(6));
	},
	DelShoppingCartItem: function(index, db_path) {
		return this.invoke("DelShoppingCartItem", {"index":index, "db_path":db_path}, this.DelShoppingCartItem.getArguments().slice(2));
	},
	BindCartContent: function(db_path, odb_path) {
		return this.invoke("BindCartContent", {"db_path":db_path, "odb_path":odb_path}, this.BindCartContent.getArguments().slice(2));
	},
	CheckCartEmpty: function() {
		return this.invoke("CheckCartEmpty", {}, this.CheckCartEmpty.getArguments().slice(0));
	},
	ClearCart: function() {
		return this.invoke("ClearCart", {}, this.ClearCart.getArguments().slice(0));
	},
	AddCollectionItem: function(Pid, Uid, db_path, odb_path, subDomain, lang, url) {
		return this.invoke("AddCollectionItem", {"Pid":Pid, "Uid":Uid, "db_path":db_path, "odb_path":odb_path, "subDomain":subDomain, "lang":lang, "url":url}, this.AddCollectionItem.getArguments().slice(7));
	},
	DeleteCollectionItem: function(Uid, odb_path, subDomain, index) {
		return this.invoke("DeleteCollectionItem", {"Uid":Uid, "odb_path":odb_path, "subDomain":subDomain, "index":index}, this.DeleteCollectionItem.getArguments().slice(4));
	},
	UpdateCollectionContent: function(Uid, db_path, odb_path, subDomain) {
		return this.invoke("UpdateCollectionContent", {"Uid":Uid, "db_path":db_path, "odb_path":odb_path, "subDomain":subDomain}, this.UpdateCollectionContent.getArguments().slice(4));
	},
	GetShareLink: function(fileBasePath, url, baseUrl, subdomain, pid) {
		return this.invoke("GetShareLink", {"fileBasePath":fileBasePath, "url":url, "baseUrl":baseUrl, "subdomain":subdomain, "pid":pid}, this.GetShareLink.getArguments().slice(5));
	},
	UpdateViewList: function(db_path) {
		return this.invoke("UpdateViewList", {"db_path":db_path}, this.UpdateViewList.getArguments().slice(1));
	},
	AddContactUs: function(db_path, name, phone, email, subject, comment) {
		return this.invoke("AddContactUs", {"db_path":db_path, "name":name, "phone":phone, "email":email, "subject":subject, "comment":comment}, this.AddContactUs.getArguments().slice(6));
	},
	compoImg: function() {
		return this.invoke("compoImg", {}, this.compoImg.getArguments().slice(0));
	},
	GetProductSpecification: function(FilePath) {
		return this.invoke("GetProductSpecification", {"FilePath":FilePath}, this.GetProductSpecification.getArguments().slice(1));
	},
	GetSizeList: function(FilePath) {
		return this.invoke("GetSizeList", {"FilePath":FilePath}, this.GetSizeList.getArguments().slice(1));
	},
	GetProductSimpleUpdateContent: function(Path, ID, lang, BtnID) {
		return this.invoke("GetProductSimpleUpdateContent", {"Path":Path, "ID":ID, "lang":lang, "BtnID":BtnID}, this.GetProductSimpleUpdateContent.getArguments().slice(4));
	},
	GetOrderDetail: function(dbpath, odbpath, id) {
		return this.invoke("GetOrderDetail", {"dbpath":dbpath, "odbpath":odbpath, "id":id}, this.GetOrderDetail.getArguments().slice(3));
	},
	url: '/ajaxpro/WishEngine.Ajax,App_Code.aspg97vb.ashx'
}));
WishEngine.Ajax = new WishEngine.Ajax_class();


