if(typeof onlineexam == "undefined") onlineexam={};
if(typeof onlineexam.AjaxFunctions == "undefined") onlineexam.AjaxFunctions={};
onlineexam.AjaxFunctions_class = function() {};
Object.extend(onlineexam.AjaxFunctions_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	saveSujectID: function(SubjectID) {
		return this.invoke("saveSujectID", {"SubjectID":SubjectID}, this.saveSujectID.getArguments().slice(1));
	},
	LogoutNow: function() {
		return this.invoke("LogoutNow", {}, this.LogoutNow.getArguments().slice(0));
	},
	getCurrentUserID: function() {
		return this.invoke("getCurrentUserID", {}, this.getCurrentUserID.getArguments().slice(0));
	},
	FetchTheDataFromSql: function(TableName, AliasName, Where, OrderBy, SelectString) {
		return this.invoke("FetchTheDataFromSql", {"TableName":TableName, "AliasName":AliasName, "Where":Where, "OrderBy":OrderBy, "SelectString":SelectString}, this.FetchTheDataFromSql.getArguments().slice(5));
	},
	UpdateTheData2Sql: function(Datatable, TableName) {
		return this.invoke("UpdateTheData2Sql", {"Datatable":Datatable, "TableName":TableName}, this.UpdateTheData2Sql.getArguments().slice(2));
	},
	UpdateTheData2Sql: function(Datatable, AliasName, TableName) {
		return this.invoke("UpdateTheData2Sql", {"Datatable":Datatable, "AliasName":AliasName, "TableName":TableName}, this.UpdateTheData2Sql.getArguments().slice(3));
	},
	getCompanyID: function() {
		return this.invoke("getCompanyID", {}, this.getCompanyID.getArguments().slice(0));
	},
	getLastIdentity: function() {
		return this.invoke("getLastIdentity", {}, this.getLastIdentity.getArguments().slice(0));
	},
	getStandards: function(StandardID) {
		return this.invoke("getStandards", {"StandardID":StandardID}, this.getStandards.getArguments().slice(1));
	},
	getSubject: function(SubjectID) {
		return this.invoke("getSubject", {"SubjectID":SubjectID}, this.getSubject.getArguments().slice(1));
	},
	getSubjectStandards: function(StandardID) {
		return this.invoke("getSubjectStandards", {"StandardID":StandardID}, this.getSubjectStandards.getArguments().slice(1));
	},
	getUserSubjectStandardsHeader: function() {
		return this.invoke("getUserSubjectStandardsHeader", {}, this.getUserSubjectStandardsHeader.getArguments().slice(0));
	},
	getUserSubjectStandards: function(StandardID, Dt) {
		return this.invoke("getUserSubjectStandards", {"StandardID":StandardID, "Dt":Dt}, this.getUserSubjectStandards.getArguments().slice(2));
	},
	getUserSubjectStandards4MU: function(StandardID, Dt, UID) {
		return this.invoke("getUserSubjectStandards4MU", {"StandardID":StandardID, "Dt":Dt, "UID":UID}, this.getUserSubjectStandards4MU.getArguments().slice(3));
	},
	getReferenceKeyNo: function(No) {
		return this.invoke("getReferenceKeyNo", {"No":No}, this.getReferenceKeyNo.getArguments().slice(1));
	},
	StatusMessage: function(strStatusMessage) {
		return this.invoke("StatusMessage", {"strStatusMessage":strStatusMessage}, this.StatusMessage.getArguments().slice(1));
	},
	SendExceptionEmail: function(MethodName, EXception) {
		return this.invoke("SendExceptionEmail", {"MethodName":MethodName, "EXception":EXception}, this.SendExceptionEmail.getArguments().slice(2));
	},
	Send_Email: function(From, To, Subject, Body) {
		return this.invoke("Send_Email", {"From":From, "To":To, "Subject":Subject, "Body":Body}, this.Send_Email.getArguments().slice(4));
	},
	Send_Email: function(From, To, Subject, Body, strFlag) {
		return this.invoke("Send_Email", {"From":From, "To":To, "Subject":Subject, "Body":Body, "strFlag":strFlag}, this.Send_Email.getArguments().slice(5));
	},
	url: '/ajaxpro/onlineexam.AjaxFunctions,onlineexam.ashx'
}));
onlineexam.AjaxFunctions = new onlineexam.AjaxFunctions_class();

