Type.registerNamespace('MOL');
MOL.CommonService=function() {
MOL.CommonService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MOL.CommonService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return MOL.CommonService._staticInstance.get_path();},
SurveyQ:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SurveyQ',false,{},succeededCallback,failedCallback,userContext); },
runPage:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'runPage',false,{},succeededCallback,failedCallback,userContext); },
SurveyResultCount:function(idSurvey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SurveyResultCount',false,{idSurvey:idSurvey},succeededCallback,failedCallback,userContext); },
SurveyQbyId:function(idSurvey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SurveyQbyId',false,{idSurvey:idSurvey},succeededCallback,failedCallback,userContext); },
SaveSurveyResulrt:function(obj,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveSurveyResulrt',false,{obj:obj},succeededCallback,failedCallback,userContext); },
SendEmail:function(txtTo,GetJobSeekerID,L,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendEmail',false,{txtTo:txtTo,GetJobSeekerID:GetJobSeekerID,L:L},succeededCallback,failedCallback,userContext); },
SendEmailS:function(txtTo,GetJobSeekerID,L,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendEmailS',false,{txtTo:txtTo,GetJobSeekerID:GetJobSeekerID,L:L},succeededCallback,failedCallback,userContext); }}
MOL.CommonService.registerClass('MOL.CommonService',Sys.Net.WebServiceProxy);
MOL.CommonService._staticInstance = new MOL.CommonService();
MOL.CommonService.set_path = function(value) { MOL.CommonService._staticInstance.set_path(value); }
MOL.CommonService.get_path = function() { return MOL.CommonService._staticInstance.get_path(); }
MOL.CommonService.set_timeout = function(value) { MOL.CommonService._staticInstance.set_timeout(value); }
MOL.CommonService.get_timeout = function() { return MOL.CommonService._staticInstance.get_timeout(); }
MOL.CommonService.set_defaultUserContext = function(value) { MOL.CommonService._staticInstance.set_defaultUserContext(value); }
MOL.CommonService.get_defaultUserContext = function() { return MOL.CommonService._staticInstance.get_defaultUserContext(); }
MOL.CommonService.set_defaultSucceededCallback = function(value) { MOL.CommonService._staticInstance.set_defaultSucceededCallback(value); }
MOL.CommonService.get_defaultSucceededCallback = function() { return MOL.CommonService._staticInstance.get_defaultSucceededCallback(); }
MOL.CommonService.set_defaultFailedCallback = function(value) { MOL.CommonService._staticInstance.set_defaultFailedCallback(value); }
MOL.CommonService.get_defaultFailedCallback = function() { return MOL.CommonService._staticInstance.get_defaultFailedCallback(); }
MOL.CommonService.set_enableJsonp = function(value) { MOL.CommonService._staticInstance.set_enableJsonp(value); }
MOL.CommonService.get_enableJsonp = function() { return MOL.CommonService._staticInstance.get_enableJsonp(); }
MOL.CommonService.set_jsonpCallbackParameter = function(value) { MOL.CommonService._staticInstance.set_jsonpCallbackParameter(value); }
MOL.CommonService.get_jsonpCallbackParameter = function() { return MOL.CommonService._staticInstance.get_jsonpCallbackParameter(); }
MOL.CommonService.set_path("/Services/CommonService.asmx");
MOL.CommonService.SurveyQ= function(onSuccess,onFailed,userContext) {MOL.CommonService._staticInstance.SurveyQ(onSuccess,onFailed,userContext); }
MOL.CommonService.runPage= function(onSuccess,onFailed,userContext) {MOL.CommonService._staticInstance.runPage(onSuccess,onFailed,userContext); }
MOL.CommonService.SurveyResultCount= function(idSurvey,onSuccess,onFailed,userContext) {MOL.CommonService._staticInstance.SurveyResultCount(idSurvey,onSuccess,onFailed,userContext); }
MOL.CommonService.SurveyQbyId= function(idSurvey,onSuccess,onFailed,userContext) {MOL.CommonService._staticInstance.SurveyQbyId(idSurvey,onSuccess,onFailed,userContext); }
MOL.CommonService.SaveSurveyResulrt= function(obj,onSuccess,onFailed,userContext) {MOL.CommonService._staticInstance.SaveSurveyResulrt(obj,onSuccess,onFailed,userContext); }
MOL.CommonService.SendEmail= function(txtTo,GetJobSeekerID,L,onSuccess,onFailed,userContext) {MOL.CommonService._staticInstance.SendEmail(txtTo,GetJobSeekerID,L,onSuccess,onFailed,userContext); }
MOL.CommonService.SendEmailS= function(txtTo,GetJobSeekerID,L,onSuccess,onFailed,userContext) {MOL.CommonService._staticInstance.SendEmailS(txtTo,GetJobSeekerID,L,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('MOL_DAL');
if (typeof(MOL_DAL.Survey) === 'undefined') {
MOL_DAL.Survey=gtc("MOL_DAL.Survey");
MOL_DAL.Survey.registerClass('MOL_DAL.Survey');
}
if (typeof(MOL_DAL.SurveyResult) === 'undefined') {
MOL_DAL.SurveyResult=gtc("MOL_DAL.SurveyResult");
MOL_DAL.SurveyResult.registerClass('MOL_DAL.SurveyResult');
}

