Type.registerNamespace('Bjurfors.Site.Core.Services');
Bjurfors.Site.Core.Services.Viewings=function() {
Bjurfors.Site.Core.Services.Viewings.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Bjurfors.Site.Core.Services.Viewings.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Bjurfors.Site.Core.Services.Viewings._staticInstance.get_path();},
Add:function(timeSlotId,city,email,firstName,lastName,phoneCell,phoneHome,phoneWork,streetAddress,zipCode,remindByEmail,remindBySMS,remindTime,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Add',false,{timeSlotId:timeSlotId,city:city,email:email,firstName:firstName,lastName:lastName,phoneCell:phoneCell,phoneHome:phoneHome,phoneWork:phoneWork,streetAddress:streetAddress,zipCode:zipCode,remindByEmail:remindByEmail,remindBySMS:remindBySMS,remindTime:remindTime},succeededCallback,failedCallback,userContext); }}
Bjurfors.Site.Core.Services.Viewings.registerClass('Bjurfors.Site.Core.Services.Viewings',Sys.Net.WebServiceProxy);
Bjurfors.Site.Core.Services.Viewings._staticInstance = new Bjurfors.Site.Core.Services.Viewings();
Bjurfors.Site.Core.Services.Viewings.set_path = function(value) { Bjurfors.Site.Core.Services.Viewings._staticInstance.set_path(value); }
Bjurfors.Site.Core.Services.Viewings.get_path = function() { return Bjurfors.Site.Core.Services.Viewings._staticInstance.get_path(); }
Bjurfors.Site.Core.Services.Viewings.set_timeout = function(value) { Bjurfors.Site.Core.Services.Viewings._staticInstance.set_timeout(value); }
Bjurfors.Site.Core.Services.Viewings.get_timeout = function() { return Bjurfors.Site.Core.Services.Viewings._staticInstance.get_timeout(); }
Bjurfors.Site.Core.Services.Viewings.set_defaultUserContext = function(value) { Bjurfors.Site.Core.Services.Viewings._staticInstance.set_defaultUserContext(value); }
Bjurfors.Site.Core.Services.Viewings.get_defaultUserContext = function() { return Bjurfors.Site.Core.Services.Viewings._staticInstance.get_defaultUserContext(); }
Bjurfors.Site.Core.Services.Viewings.set_defaultSucceededCallback = function(value) { Bjurfors.Site.Core.Services.Viewings._staticInstance.set_defaultSucceededCallback(value); }
Bjurfors.Site.Core.Services.Viewings.get_defaultSucceededCallback = function() { return Bjurfors.Site.Core.Services.Viewings._staticInstance.get_defaultSucceededCallback(); }
Bjurfors.Site.Core.Services.Viewings.set_defaultFailedCallback = function(value) { Bjurfors.Site.Core.Services.Viewings._staticInstance.set_defaultFailedCallback(value); }
Bjurfors.Site.Core.Services.Viewings.get_defaultFailedCallback = function() { return Bjurfors.Site.Core.Services.Viewings._staticInstance.get_defaultFailedCallback(); }
Bjurfors.Site.Core.Services.Viewings.set_enableJsonp = function(value) { Bjurfors.Site.Core.Services.Viewings._staticInstance.set_enableJsonp(value); }
Bjurfors.Site.Core.Services.Viewings.get_enableJsonp = function() { return Bjurfors.Site.Core.Services.Viewings._staticInstance.get_enableJsonp(); }
Bjurfors.Site.Core.Services.Viewings.set_jsonpCallbackParameter = function(value) { Bjurfors.Site.Core.Services.Viewings._staticInstance.set_jsonpCallbackParameter(value); }
Bjurfors.Site.Core.Services.Viewings.get_jsonpCallbackParameter = function() { return Bjurfors.Site.Core.Services.Viewings._staticInstance.get_jsonpCallbackParameter(); }
Bjurfors.Site.Core.Services.Viewings.set_path("/Core/Services/Viewings.asmx");
Bjurfors.Site.Core.Services.Viewings.Add= function(timeSlotId,city,email,firstName,lastName,phoneCell,phoneHome,phoneWork,streetAddress,zipCode,remindByEmail,remindBySMS,remindTime,onSuccess,onFailed,userContext) {Bjurfors.Site.Core.Services.Viewings._staticInstance.Add(timeSlotId,city,email,firstName,lastName,phoneCell,phoneHome,phoneWork,streetAddress,zipCode,remindByEmail,remindBySMS,remindTime,onSuccess,onFailed,userContext); }

