if(typeof ThkCOS == "undefined") ThkCOS={};
if(typeof ThkCOS.Components == "undefined") ThkCOS.Components={};
ThkCOS.Components.ThkCOSPage_class = function() {};
Object.extend(ThkCOS.Components.ThkCOSPage_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetContentType: function(fileName) {
		return this.invoke("GetContentType", {"fileName":fileName}, this.GetContentType.getArguments().slice(1));
	},
	GetNewFieldID: function(formID, fieldID) {
		return this.invoke("GetNewFieldID", {"formID":formID, "fieldID":fieldID}, this.GetNewFieldID.getArguments().slice(2));
	},
	GetDetailCodes: function(mainCodeNO) {
		return this.invoke("GetDetailCodes", {"mainCodeNO":mainCodeNO}, this.GetDetailCodes.getArguments().slice(1));
	},
	UrlDecode: function(encodedString, encodingName) {
		return this.invoke("UrlDecode", {"encodedString":encodedString, "encodingName":encodingName}, this.UrlDecode.getArguments().slice(2));
	},
	UrlEncode: function(unencodedString, encodingName) {
		return this.invoke("UrlEncode", {"unencodedString":unencodedString, "encodingName":encodingName}, this.UrlEncode.getArguments().slice(2));
	},
	HtmlDecode: function(encodedString) {
		return this.invoke("HtmlDecode", {"encodedString":encodedString}, this.HtmlDecode.getArguments().slice(1));
	},
	HtmlEncode: function(unencodedString) {
		return this.invoke("HtmlEncode", {"unencodedString":unencodedString}, this.HtmlEncode.getArguments().slice(1));
	},
	GetGuid: function() {
		return this.invoke("GetGuid", {}, this.GetGuid.getArguments().slice(0));
	},
	GetServerTime: function(format) {
		return this.invoke("GetServerTime", {"format":format}, this.GetServerTime.getArguments().slice(1));
	},
	GetCurrentStylePath: function() {
		return this.invoke("GetCurrentStylePath", {}, this.GetCurrentStylePath.getArguments().slice(0));
	},
	DeleteAttachment: function(attachmentID) {
		return this.invoke("DeleteAttachment", {"attachmentID":attachmentID}, this.DeleteAttachment.getArguments().slice(1));
	},
	InsertIntoBlacklist: function(email) {
		return this.invoke("InsertIntoBlacklist", {"email":email}, this.InsertIntoBlacklist.getArguments().slice(1));
	},
	InitalSession: function(excludeIDS) {
		return this.invoke("InitalSession", {"excludeIDS":excludeIDS}, this.InitalSession.getArguments().slice(1));
	},
	url: '/ThkCOS/ajaxpro/ThkCOS.Components.ThkCOSPage,ThkCOS.Components.ashx'
}));
ThkCOS.Components.ThkCOSPage = new ThkCOS.Components.ThkCOSPage_class();

