Type.registerNamespace('RiaCorp.Services');
RiaCorp.Services.ScriptMethods=function() {
RiaCorp.Services.ScriptMethods.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
RiaCorp.Services.ScriptMethods.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return RiaCorp.Services.ScriptMethods._staticInstance.get_path();},
GetLanguageJson:function(fSiteID,fCountryID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLanguageJson',false,{fSiteID:fSiteID,fCountryID:fCountryID},succeededCallback,failedCallback,userContext); },
SetSessionLanguage:function(fLanguageID,fCountryID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetSessionLanguage',false,{fLanguageID:fLanguageID,fCountryID:fCountryID},succeededCallback,failedCallback,userContext); },
RemoveSession:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RemoveSession',false,{},succeededCallback,failedCallback,userContext); },
GetSessionCountryID:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSessionCountryID',false,{},succeededCallback,failedCallback,userContext); },
GetSessionLanguageID:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSessionLanguageID',false,{},succeededCallback,failedCallback,userContext); },
GetSessionCountryAbbrev:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSessionCountryAbbrev',false,{},succeededCallback,failedCallback,userContext); },
GetSessionLanguageAbbrev:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSessionLanguageAbbrev',false,{},succeededCallback,failedCallback,userContext); },
Login:function(emailAddress,password,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Login',false,{emailAddress:emailAddress,password:password},succeededCallback,failedCallback,userContext); },
GetStateList:function(fSiteID,fCountryID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetStateList',false,{fSiteID:fSiteID,fCountryID:fCountryID},succeededCallback,failedCallback,userContext); },
SendHRSecondEmail:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendHRSecondEmail',false,{},succeededCallback,failedCallback,userContext); },
GetCityList:function(fSiteID,fStateID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCityList',false,{fSiteID:fSiteID,fStateID:fStateID},succeededCallback,failedCallback,userContext); },
IsCountryRequiredAreaCode:function(fCode,mobileOrLandline,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'IsCountryRequiredAreaCode',false,{fCode:fCode,mobileOrLandline:mobileOrLandline},succeededCallback,failedCallback,userContext); },
GetSendingReceivingCountries:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSendingReceivingCountries',false,{},succeededCallback,failedCallback,userContext); }}
RiaCorp.Services.ScriptMethods.registerClass('RiaCorp.Services.ScriptMethods',Sys.Net.WebServiceProxy);
RiaCorp.Services.ScriptMethods._staticInstance = new RiaCorp.Services.ScriptMethods();
RiaCorp.Services.ScriptMethods.set_path = function(value) { RiaCorp.Services.ScriptMethods._staticInstance.set_path(value); }
RiaCorp.Services.ScriptMethods.get_path = function() { return RiaCorp.Services.ScriptMethods._staticInstance.get_path(); }
RiaCorp.Services.ScriptMethods.set_timeout = function(value) { RiaCorp.Services.ScriptMethods._staticInstance.set_timeout(value); }
RiaCorp.Services.ScriptMethods.get_timeout = function() { return RiaCorp.Services.ScriptMethods._staticInstance.get_timeout(); }
RiaCorp.Services.ScriptMethods.set_defaultUserContext = function(value) { RiaCorp.Services.ScriptMethods._staticInstance.set_defaultUserContext(value); }
RiaCorp.Services.ScriptMethods.get_defaultUserContext = function() { return RiaCorp.Services.ScriptMethods._staticInstance.get_defaultUserContext(); }
RiaCorp.Services.ScriptMethods.set_defaultSucceededCallback = function(value) { RiaCorp.Services.ScriptMethods._staticInstance.set_defaultSucceededCallback(value); }
RiaCorp.Services.ScriptMethods.get_defaultSucceededCallback = function() { return RiaCorp.Services.ScriptMethods._staticInstance.get_defaultSucceededCallback(); }
RiaCorp.Services.ScriptMethods.set_defaultFailedCallback = function(value) { RiaCorp.Services.ScriptMethods._staticInstance.set_defaultFailedCallback(value); }
RiaCorp.Services.ScriptMethods.get_defaultFailedCallback = function() { return RiaCorp.Services.ScriptMethods._staticInstance.get_defaultFailedCallback(); }
RiaCorp.Services.ScriptMethods.set_enableJsonp = function(value) { RiaCorp.Services.ScriptMethods._staticInstance.set_enableJsonp(value); }
RiaCorp.Services.ScriptMethods.get_enableJsonp = function() { return RiaCorp.Services.ScriptMethods._staticInstance.get_enableJsonp(); }
RiaCorp.Services.ScriptMethods.set_jsonpCallbackParameter = function(value) { RiaCorp.Services.ScriptMethods._staticInstance.set_jsonpCallbackParameter(value); }
RiaCorp.Services.ScriptMethods.get_jsonpCallbackParameter = function() { return RiaCorp.Services.ScriptMethods._staticInstance.get_jsonpCallbackParameter(); }
RiaCorp.Services.ScriptMethods.set_path("/Services/ScriptMethods.asmx");
RiaCorp.Services.ScriptMethods.GetLanguageJson= function(fSiteID,fCountryID,onSuccess,onFailed,userContext) {RiaCorp.Services.ScriptMethods._staticInstance.GetLanguageJson(fSiteID,fCountryID,onSuccess,onFailed,userContext); }
RiaCorp.Services.ScriptMethods.SetSessionLanguage= function(fLanguageID,fCountryID,onSuccess,onFailed,userContext) {RiaCorp.Services.ScriptMethods._staticInstance.SetSessionLanguage(fLanguageID,fCountryID,onSuccess,onFailed,userContext); }
RiaCorp.Services.ScriptMethods.RemoveSession= function(onSuccess,onFailed,userContext) {RiaCorp.Services.ScriptMethods._staticInstance.RemoveSession(onSuccess,onFailed,userContext); }
RiaCorp.Services.ScriptMethods.GetSessionCountryID= function(onSuccess,onFailed,userContext) {RiaCorp.Services.ScriptMethods._staticInstance.GetSessionCountryID(onSuccess,onFailed,userContext); }
RiaCorp.Services.ScriptMethods.GetSessionLanguageID= function(onSuccess,onFailed,userContext) {RiaCorp.Services.ScriptMethods._staticInstance.GetSessionLanguageID(onSuccess,onFailed,userContext); }
RiaCorp.Services.ScriptMethods.GetSessionCountryAbbrev= function(onSuccess,onFailed,userContext) {RiaCorp.Services.ScriptMethods._staticInstance.GetSessionCountryAbbrev(onSuccess,onFailed,userContext); }
RiaCorp.Services.ScriptMethods.GetSessionLanguageAbbrev= function(onSuccess,onFailed,userContext) {RiaCorp.Services.ScriptMethods._staticInstance.GetSessionLanguageAbbrev(onSuccess,onFailed,userContext); }
RiaCorp.Services.ScriptMethods.Login= function(emailAddress,password,onSuccess,onFailed,userContext) {RiaCorp.Services.ScriptMethods._staticInstance.Login(emailAddress,password,onSuccess,onFailed,userContext); }
RiaCorp.Services.ScriptMethods.GetStateList= function(fSiteID,fCountryID,onSuccess,onFailed,userContext) {RiaCorp.Services.ScriptMethods._staticInstance.GetStateList(fSiteID,fCountryID,onSuccess,onFailed,userContext); }
RiaCorp.Services.ScriptMethods.SendHRSecondEmail= function(onSuccess,onFailed,userContext) {RiaCorp.Services.ScriptMethods._staticInstance.SendHRSecondEmail(onSuccess,onFailed,userContext); }
RiaCorp.Services.ScriptMethods.GetCityList= function(fSiteID,fStateID,onSuccess,onFailed,userContext) {RiaCorp.Services.ScriptMethods._staticInstance.GetCityList(fSiteID,fStateID,onSuccess,onFailed,userContext); }
RiaCorp.Services.ScriptMethods.IsCountryRequiredAreaCode= function(fCode,mobileOrLandline,onSuccess,onFailed,userContext) {RiaCorp.Services.ScriptMethods._staticInstance.IsCountryRequiredAreaCode(fCode,mobileOrLandline,onSuccess,onFailed,userContext); }
RiaCorp.Services.ScriptMethods.GetSendingReceivingCountries= function(onSuccess,onFailed,userContext) {RiaCorp.Services.ScriptMethods._staticInstance.GetSendingReceivingCountries(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(RiaCorp.Services.Continents) === 'undefined') {
RiaCorp.Services.Continents=gtc("RiaCorp.Services.Continents");
RiaCorp.Services.Continents.registerClass('RiaCorp.Services.Continents');
}

