var ClientService=function() {
ClientService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ClientService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ClientService._staticInstance.get_path();},
GetLastItemID:function(p_strServiceType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLastItemID',false,{p_strServiceType:p_strServiceType},succeededCallback,failedCallback,userContext); },
GetPageReferer:function(p_strPageName,p_iServiceType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPageReferer',false,{p_strPageName:p_strPageName,p_iServiceType:p_iServiceType},succeededCallback,failedCallback,userContext); },
GetSessionKey:function(strSessionKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSessionKey',false,{strSessionKey:strSessionKey},succeededCallback,failedCallback,userContext); },
SetSessionKey:function(strSessionKey,strValue,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetSessionKey',false,{strSessionKey:strSessionKey,strValue:strValue},succeededCallback,failedCallback,userContext); },
SendInformationRequestMail:function(name,phone,email,subject,module,ShowLastWhiteLabel,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendInformationRequestMail',false,{name:name,phone:phone,email:email,subject:subject,module:module,ShowLastWhiteLabel:ShowLastWhiteLabel},succeededCallback,failedCallback,userContext); },
SaveStatisticsPromotionData:function(promotionID,pageID,serviseType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveStatisticsPromotionData',false,{promotionID:promotionID,pageID:pageID,serviseType:serviseType},succeededCallback,failedCallback,userContext); },
SetFromDatesForCityPackage:function(cityID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetFromDatesForCityPackage',false,{cityID:cityID},succeededCallback,failedCallback,userContext); },
SetPackageEndDatesPackage:function(Date,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetPackageEndDatesPackage',false,{Date:Date},succeededCallback,failedCallback,userContext); },
SetTermsAsynchronously:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetTermsAsynchronously',false,{},succeededCallback,failedCallback,userContext); },
SetCampignDetailsToAgentSystem:function(NameTextBox,PhoneTextBox,EmailTextBox,SubjectTextBox,SelectedPageName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetCampignDetailsToAgentSystem',false,{NameTextBox:NameTextBox,PhoneTextBox:PhoneTextBox,EmailTextBox:EmailTextBox,SubjectTextBox:SubjectTextBox,SelectedPageName:SelectedPageName},succeededCallback,failedCallback,userContext); },
SetFromDatesForCityFlyAndDrive:function(cityID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetFromDatesForCityFlyAndDrive',false,{cityID:cityID},succeededCallback,failedCallback,userContext); },
SetPackageEndDatesFlyAndDrive:function(Date,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetPackageEndDatesFlyAndDrive',false,{Date:Date},succeededCallback,failedCallback,userContext); }}
ClientService.registerClass('ClientService',Sys.Net.WebServiceProxy);
ClientService._staticInstance = new ClientService();
ClientService.set_path = function(value) { ClientService._staticInstance.set_path(value); }
ClientService.get_path = function() { return ClientService._staticInstance.get_path(); }
ClientService.set_timeout = function(value) { ClientService._staticInstance.set_timeout(value); }
ClientService.get_timeout = function() { return ClientService._staticInstance.get_timeout(); }
ClientService.set_defaultUserContext = function(value) { ClientService._staticInstance.set_defaultUserContext(value); }
ClientService.get_defaultUserContext = function() { return ClientService._staticInstance.get_defaultUserContext(); }
ClientService.set_defaultSucceededCallback = function(value) { ClientService._staticInstance.set_defaultSucceededCallback(value); }
ClientService.get_defaultSucceededCallback = function() { return ClientService._staticInstance.get_defaultSucceededCallback(); }
ClientService.set_defaultFailedCallback = function(value) { ClientService._staticInstance.set_defaultFailedCallback(value); }
ClientService.get_defaultFailedCallback = function() { return ClientService._staticInstance.get_defaultFailedCallback(); }
ClientService.set_path("/haifa/WebServices/ClientService.asmx");
ClientService.GetLastItemID= function(p_strServiceType,onSuccess,onFailed,userContext) {ClientService._staticInstance.GetLastItemID(p_strServiceType,onSuccess,onFailed,userContext); }
ClientService.GetPageReferer= function(p_strPageName,p_iServiceType,onSuccess,onFailed,userContext) {ClientService._staticInstance.GetPageReferer(p_strPageName,p_iServiceType,onSuccess,onFailed,userContext); }
ClientService.GetSessionKey= function(strSessionKey,onSuccess,onFailed,userContext) {ClientService._staticInstance.GetSessionKey(strSessionKey,onSuccess,onFailed,userContext); }
ClientService.SetSessionKey= function(strSessionKey,strValue,onSuccess,onFailed,userContext) {ClientService._staticInstance.SetSessionKey(strSessionKey,strValue,onSuccess,onFailed,userContext); }
ClientService.SendInformationRequestMail= function(name,phone,email,subject,module,ShowLastWhiteLabel,onSuccess,onFailed,userContext) {ClientService._staticInstance.SendInformationRequestMail(name,phone,email,subject,module,ShowLastWhiteLabel,onSuccess,onFailed,userContext); }
ClientService.SaveStatisticsPromotionData= function(promotionID,pageID,serviseType,onSuccess,onFailed,userContext) {ClientService._staticInstance.SaveStatisticsPromotionData(promotionID,pageID,serviseType,onSuccess,onFailed,userContext); }
ClientService.SetFromDatesForCityPackage= function(cityID,onSuccess,onFailed,userContext) {ClientService._staticInstance.SetFromDatesForCityPackage(cityID,onSuccess,onFailed,userContext); }
ClientService.SetPackageEndDatesPackage= function(Date,onSuccess,onFailed,userContext) {ClientService._staticInstance.SetPackageEndDatesPackage(Date,onSuccess,onFailed,userContext); }
ClientService.SetTermsAsynchronously= function(onSuccess,onFailed,userContext) {ClientService._staticInstance.SetTermsAsynchronously(onSuccess,onFailed,userContext); }
ClientService.SetCampignDetailsToAgentSystem= function(NameTextBox,PhoneTextBox,EmailTextBox,SubjectTextBox,SelectedPageName,onSuccess,onFailed,userContext) {ClientService._staticInstance.SetCampignDetailsToAgentSystem(NameTextBox,PhoneTextBox,EmailTextBox,SubjectTextBox,SelectedPageName,onSuccess,onFailed,userContext); }
ClientService.SetFromDatesForCityFlyAndDrive= function(cityID,onSuccess,onFailed,userContext) {ClientService._staticInstance.SetFromDatesForCityFlyAndDrive(cityID,onSuccess,onFailed,userContext); }
ClientService.SetPackageEndDatesFlyAndDrive= function(Date,onSuccess,onFailed,userContext) {ClientService._staticInstance.SetPackageEndDatesFlyAndDrive(Date,onSuccess,onFailed,userContext); }

