var CommonServices=function() {
CommonServices.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CommonServices.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CommonServices._staticInstance.get_path();},
AddToMyShortList:function(jobPostingId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddToMyShortList',false,{jobPostingId:jobPostingId},succeededCallback,failedCallback,userContext); },
FetchWidgetImageUrl:function(description,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'FetchWidgetImageUrl',true,{description:description},succeededCallback,failedCallback,userContext); }}
CommonServices.registerClass('CommonServices',Sys.Net.WebServiceProxy);
CommonServices._staticInstance = new CommonServices();
CommonServices.set_path = function(value) { CommonServices._staticInstance.set_path(value); }
CommonServices.get_path = function() { return CommonServices._staticInstance.get_path(); }
CommonServices.set_timeout = function(value) { CommonServices._staticInstance.set_timeout(value); }
CommonServices.get_timeout = function() { return CommonServices._staticInstance.get_timeout(); }
CommonServices.set_defaultUserContext = function(value) { CommonServices._staticInstance.set_defaultUserContext(value); }
CommonServices.get_defaultUserContext = function() { return CommonServices._staticInstance.get_defaultUserContext(); }
CommonServices.set_defaultSucceededCallback = function(value) { CommonServices._staticInstance.set_defaultSucceededCallback(value); }
CommonServices.get_defaultSucceededCallback = function() { return CommonServices._staticInstance.get_defaultSucceededCallback(); }
CommonServices.set_defaultFailedCallback = function(value) { CommonServices._staticInstance.set_defaultFailedCallback(value); }
CommonServices.get_defaultFailedCallback = function() { return CommonServices._staticInstance.get_defaultFailedCallback(); }
CommonServices.set_enableJsonp = function(value) { CommonServices._staticInstance.set_enableJsonp(value); }
CommonServices.get_enableJsonp = function() { return CommonServices._staticInstance.get_enableJsonp(); }
CommonServices.set_jsonpCallbackParameter = function(value) { CommonServices._staticInstance.set_jsonpCallbackParameter(value); }
CommonServices.get_jsonpCallbackParameter = function() { return CommonServices._staticInstance.get_jsonpCallbackParameter(); }
CommonServices.set_path("http://www.pharmafield.co.uk/CommonServices.svc/ajax");
CommonServices.AddToMyShortList= function(jobPostingId,onSuccess,onFailed,userContext) {CommonServices._staticInstance.AddToMyShortList(jobPostingId,onSuccess,onFailed,userContext); }
CommonServices.FetchWidgetImageUrl= function(description,onSuccess,onFailed,userContext) {CommonServices._staticInstance.FetchWidgetImageUrl(description,onSuccess,onFailed,userContext); }

