var EmployerService=function() {
EmployerService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
EmployerService.prototype={
checkUname:function(uname,succeededCallback, failedCallback, userContext) {
return this._invoke(EmployerService.get_path(), 'checkUname',false,{uname:uname},succeededCallback,failedCallback,userContext); },
checkEmail:function(e,succeededCallback, failedCallback, userContext) {
return this._invoke(EmployerService.get_path(), 'checkEmail',false,{e:e},succeededCallback,failedCallback,userContext); },
CheckOverDate:function(publishDate,succeededCallback, failedCallback, userContext) {
return this._invoke(EmployerService.get_path(), 'CheckOverDate',false,{publishDate:publishDate},succeededCallback,failedCallback,userContext); },
addAdvice:function(userType,body,UserId,succeededCallback, failedCallback, userContext) {
return this._invoke(EmployerService.get_path(), 'addAdvice',false,{userType:userType,body:body,UserId:UserId},succeededCallback,failedCallback,userContext); }}
EmployerService.registerClass('EmployerService',Sys.Net.WebServiceProxy);
EmployerService._staticInstance = new EmployerService();
EmployerService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; EmployerService._staticInstance._path = value; }
EmployerService.get_path = function() { return EmployerService._staticInstance._path; }
EmployerService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
EmployerService._staticInstance._timeout = value; }
EmployerService.get_timeout = function() { 
return EmployerService._staticInstance._timeout; }
EmployerService.set_defaultUserContext = function(value) { 
EmployerService._staticInstance._userContext = value; }
EmployerService.get_defaultUserContext = function() { 
return EmployerService._staticInstance._userContext; }
EmployerService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; EmployerService._staticInstance._succeeded = value; }
EmployerService.get_defaultSucceededCallback = function() { 
return EmployerService._staticInstance._succeeded; }
EmployerService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; EmployerService._staticInstance._failed = value; }
EmployerService.get_defaultFailedCallback = function() { 
return EmployerService._staticInstance._failed; }
EmployerService.set_path("/EmployerService.asmx");
EmployerService.checkUname= function(uname,onSuccess,onFailed,userContext) {EmployerService._staticInstance.checkUname(uname,onSuccess,onFailed,userContext); }
EmployerService.checkEmail= function(e,onSuccess,onFailed,userContext) {EmployerService._staticInstance.checkEmail(e,onSuccess,onFailed,userContext); }
EmployerService.CheckOverDate= function(publishDate,onSuccess,onFailed,userContext) {EmployerService._staticInstance.CheckOverDate(publishDate,onSuccess,onFailed,userContext); }
EmployerService.addAdvice= function(userType,body,UserId,onSuccess,onFailed,userContext) {EmployerService._staticInstance.addAdvice(userType,body,UserId,onSuccess,onFailed,userContext); }
