if(typeof Brand == "undefined") Brand={};
if(typeof Brand.DB == "undefined") Brand.DB={};
if(typeof Brand.DB.BWAjaxPage == "undefined") Brand.DB.BWAjaxPage={};
Brand.DB.BWAjaxPage_class = function() {};
Object.extend(Brand.DB.BWAjaxPage_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetPropVal: function(propId, propName) {
		return this.invoke("GetPropVal", {"propId":propId, "propName":propName}, this.GetPropVal.getArguments().slice(2));
	},
	ShowHideProperty: function(propId, show) {
		return this.invoke("ShowHideProperty", {"propId":propId, "show":show}, this.ShowHideProperty.getArguments().slice(2));
	},
	ShareWillLooseData: function(pageId, propName) {
		return this.invoke("ShareWillLooseData", {"pageId":pageId, "propName":propName}, this.ShareWillLooseData.getArguments().slice(2));
	},
	SetSharing: function(pageId, propId, controlType, share) {
		return this.invoke("SetSharing", {"pageId":pageId, "propId":propId, "controlType":controlType, "share":share}, this.SetSharing.getArguments().slice(4));
	},
	SetCommon: function(pageId, propId, controlType, share) {
		return this.invoke("SetCommon", {"pageId":pageId, "propId":propId, "controlType":controlType, "share":share}, this.SetCommon.getArguments().slice(4));
	},
	PublishProperty: function(propId) {
		return this.invoke("PublishProperty", {"propId":propId}, this.PublishProperty.getArguments().slice(1));
	},
	UnpublishProperty: function(propId) {
		return this.invoke("UnpublishProperty", {"propId":propId}, this.UnpublishProperty.getArguments().slice(1));
	},
	LockProperty: function(propId) {
		return this.invoke("LockProperty", {"propId":propId}, this.LockProperty.getArguments().slice(1));
	},
	UnlockProperty: function(propId) {
		return this.invoke("UnlockProperty", {"propId":propId}, this.UnlockProperty.getArguments().slice(1));
	},
	IsLockedProperty: function(propId) {
		return this.invoke("IsLockedProperty", {"propId":propId}, this.IsLockedProperty.getArguments().slice(1));
	},
	CheckLoggedIn: function() {
		return this.invoke("CheckLoggedIn", {}, this.CheckLoggedIn.getArguments().slice(0));
	},
	GetRoles: function(propname) {
		return this.invoke("GetRoles", {"propname":propname}, this.GetRoles.getArguments().slice(1));
	},
	GetPermissionHtml: function(aRole, propName, propId) {
		return this.invoke("GetPermissionHtml", {"aRole":aRole, "propName":propName, "propId":propId}, this.GetPermissionHtml.getArguments().slice(3));
	},
	SetRichTextPermission: function(id, role, actiontype, permission) {
		return this.invoke("SetRichTextPermission", {"id":id, "role":role, "actiontype":actiontype, "permission":permission}, this.SetRichTextPermission.getArguments().slice(4));
	},
	SetDefaultPermissions: function(propId, role) {
		return this.invoke("SetDefaultPermissions", {"propId":propId, "role":role}, this.SetDefaultPermissions.getArguments().slice(2));
	},
	GetCalendar: function(pageId, style, calMonth, calYear) {
		return this.invoke("GetCalendar", {"pageId":pageId, "style":style, "calMonth":calMonth, "calYear":calYear}, this.GetCalendar.getArguments().slice(4));
	},
	GetDayInfo: function(pageId, dateStr) {
		return this.invoke("GetDayInfo", {"pageId":pageId, "dateStr":dateStr}, this.GetDayInfo.getArguments().slice(2));
	},
	CreateEvent: function(pageId, dateStr) {
		return this.invoke("CreateEvent", {"pageId":pageId, "dateStr":dateStr}, this.CreateEvent.getArguments().slice(2));
	},
	DeleteEvent: function(pageId, dateStr) {
		return this.invoke("DeleteEvent", {"pageId":pageId, "dateStr":dateStr}, this.DeleteEvent.getArguments().slice(2));
	},
	SaveEvent: function(pageId, dateStr, value) {
		return this.invoke("SaveEvent", {"pageId":pageId, "dateStr":dateStr, "value":value}, this.SaveEvent.getArguments().slice(3));
	},
	ReplaceBR: function(value) {
		return this.invoke("ReplaceBR", {"value":value}, this.ReplaceBR.getArguments().slice(1));
	},
	SavePropVal: function(propId, propName, propVal, publish) {
		return this.invoke("SavePropVal", {"propId":propId, "propName":propName, "propVal":propVal, "publish":publish}, this.SavePropVal.getArguments().slice(4));
	},
	UpdatePropertyCol: function(propId, col, val) {
		return this.invoke("UpdatePropertyCol", {"propId":propId, "col":col, "val":val}, this.UpdatePropertyCol.getArguments().slice(3));
	},
	url: '/ajaxpro/Brand.DB.BWAjaxPage,BIBW.ashx'
}));
Brand.DB.BWAjaxPage = new Brand.DB.BWAjaxPage_class();


