var PreAppService=function() {
PreAppService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PreAppService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return PreAppService._staticInstance.get_path();},
GetDestination:function(cultureCode,destinationCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDestination',false,{cultureCode:cultureCode,destinationCode:destinationCode},succeededCallback,failedCallback,userContext); },
GetDepartureCities:function(marketCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDepartureCities',false,{marketCode:marketCode},succeededCallback,failedCallback,userContext); },
GetInterviewCities:function(marketCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetInterviewCities',false,{marketCode:marketCode},succeededCallback,failedCallback,userContext); },
GetProgramInfoJSON:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProgramInfoJSON',false,{},succeededCallback,failedCallback,userContext); },
SaveStep1:function(JSONString,marketCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveStep1',false,{JSONString:JSONString,marketCode:marketCode},succeededCallback,failedCallback,userContext); }}
PreAppService.registerClass('PreAppService',Sys.Net.WebServiceProxy);
PreAppService._staticInstance = new PreAppService();
PreAppService.set_path = function(value) { PreAppService._staticInstance.set_path(value); }
PreAppService.get_path = function() { return PreAppService._staticInstance.get_path(); }
PreAppService.set_timeout = function(value) { PreAppService._staticInstance.set_timeout(value); }
PreAppService.get_timeout = function() { return PreAppService._staticInstance.get_timeout(); }
PreAppService.set_defaultUserContext = function(value) { PreAppService._staticInstance.set_defaultUserContext(value); }
PreAppService.get_defaultUserContext = function() { return PreAppService._staticInstance.get_defaultUserContext(); }
PreAppService.set_defaultSucceededCallback = function(value) { PreAppService._staticInstance.set_defaultSucceededCallback(value); }
PreAppService.get_defaultSucceededCallback = function() { return PreAppService._staticInstance.get_defaultSucceededCallback(); }
PreAppService.set_defaultFailedCallback = function(value) { PreAppService._staticInstance.set_defaultFailedCallback(value); }
PreAppService.get_defaultFailedCallback = function() { return PreAppService._staticInstance.get_defaultFailedCallback(); }
PreAppService.set_path("/highschool/services/preappservice.asmx");
PreAppService.GetDestination= function(cultureCode,destinationCode,onSuccess,onFailed,userContext) {PreAppService._staticInstance.GetDestination(cultureCode,destinationCode,onSuccess,onFailed,userContext); }
PreAppService.GetDepartureCities= function(marketCode,onSuccess,onFailed,userContext) {PreAppService._staticInstance.GetDepartureCities(marketCode,onSuccess,onFailed,userContext); }
PreAppService.GetInterviewCities= function(marketCode,onSuccess,onFailed,userContext) {PreAppService._staticInstance.GetInterviewCities(marketCode,onSuccess,onFailed,userContext); }
PreAppService.GetProgramInfoJSON= function(onSuccess,onFailed,userContext) {PreAppService._staticInstance.GetProgramInfoJSON(onSuccess,onFailed,userContext); }
PreAppService.SaveStep1= function(JSONString,marketCode,onSuccess,onFailed,userContext) {PreAppService._staticInstance.SaveStep1(JSONString,marketCode,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('EFLanguage.EFCom.HighSchool.BusinessLogic.Pricing');
if (typeof(EFLanguage.EFCom.HighSchool.BusinessLogic.Pricing.Destination) === 'undefined') {
EFLanguage.EFCom.HighSchool.BusinessLogic.Pricing.Destination=gtc("EFLanguage.EFCom.HighSchool.BusinessLogic.Pricing.Destination");
EFLanguage.EFCom.HighSchool.BusinessLogic.Pricing.Destination.registerClass('EFLanguage.EFCom.HighSchool.BusinessLogic.Pricing.Destination');
}
if (typeof(City) === 'undefined') {
var City=gtc("City");
City.registerClass('City');
}
Type.registerNamespace('EFLanguage.EFCom.HighSchool.BusinessLogic.Reservation.Info');
if (typeof(EFLanguage.EFCom.HighSchool.BusinessLogic.Reservation.Info.ProgramInfo) === 'undefined') {
EFLanguage.EFCom.HighSchool.BusinessLogic.Reservation.Info.ProgramInfo=gtc("EFLanguage.EFCom.HighSchool.BusinessLogic.Reservation.Info.ProgramInfo");
EFLanguage.EFCom.HighSchool.BusinessLogic.Reservation.Info.ProgramInfo.registerClass('EFLanguage.EFCom.HighSchool.BusinessLogic.Reservation.Info.ProgramInfo');
}

