Type.registerNamespace('STLH.PublicSite');
STLH.PublicSite.STLHService=function() {
STLH.PublicSite.STLHService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
STLH.PublicSite.STLHService.prototype={
GetAreas:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(STLH.PublicSite.STLHService.get_path(), 'GetAreas',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetCities:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(STLH.PublicSite.STLHService.get_path(), 'GetCities',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetCommunity:function(communitId,succeededCallback, failedCallback, userContext) {
return this._invoke(STLH.PublicSite.STLHService.get_path(), 'GetCommunity',false,{communitId:communitId},succeededCallback,failedCallback,userContext); },
GetFloorplan:function(floorplanId,communityArea,succeededCallback, failedCallback, userContext) {
return this._invoke(STLH.PublicSite.STLHService.get_path(), 'GetFloorplan',false,{floorplanId:floorplanId,communityArea:communityArea},succeededCallback,failedCallback,userContext); },
GetInventory:function(inventoryId,succeededCallback, failedCallback, userContext) {
return this._invoke(STLH.PublicSite.STLHService.get_path(), 'GetInventory',false,{inventoryId:inventoryId},succeededCallback,failedCallback,userContext); }}
STLH.PublicSite.STLHService.registerClass('STLH.PublicSite.STLHService',Sys.Net.WebServiceProxy);
STLH.PublicSite.STLHService._staticInstance = new STLH.PublicSite.STLHService();
STLH.PublicSite.STLHService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; STLH.PublicSite.STLHService._staticInstance._path = value; }
STLH.PublicSite.STLHService.get_path = function() { return STLH.PublicSite.STLHService._staticInstance._path; }
STLH.PublicSite.STLHService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
STLH.PublicSite.STLHService._staticInstance._timeout = value; }
STLH.PublicSite.STLHService.get_timeout = function() { 
return STLH.PublicSite.STLHService._staticInstance._timeout; }
STLH.PublicSite.STLHService.set_defaultUserContext = function(value) { 
STLH.PublicSite.STLHService._staticInstance._userContext = value; }
STLH.PublicSite.STLHService.get_defaultUserContext = function() { 
return STLH.PublicSite.STLHService._staticInstance._userContext; }
STLH.PublicSite.STLHService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; STLH.PublicSite.STLHService._staticInstance._succeeded = value; }
STLH.PublicSite.STLHService.get_defaultSucceededCallback = function() { 
return STLH.PublicSite.STLHService._staticInstance._succeeded; }
STLH.PublicSite.STLHService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; STLH.PublicSite.STLHService._staticInstance._failed = value; }
STLH.PublicSite.STLHService.get_defaultFailedCallback = function() { 
return STLH.PublicSite.STLHService._staticInstance._failed; }
STLH.PublicSite.STLHService.set_path("/STLHService.asmx");
STLH.PublicSite.STLHService.GetAreas= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {STLH.PublicSite.STLHService._staticInstance.GetAreas(knownCategoryValues,category,onSuccess,onFailed,userContext); }
STLH.PublicSite.STLHService.GetCities= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {STLH.PublicSite.STLHService._staticInstance.GetCities(knownCategoryValues,category,onSuccess,onFailed,userContext); }
STLH.PublicSite.STLHService.GetCommunity= function(communitId,onSuccess,onFailed,userContext) {STLH.PublicSite.STLHService._staticInstance.GetCommunity(communitId,onSuccess,onFailed,userContext); }
STLH.PublicSite.STLHService.GetFloorplan= function(floorplanId,communityArea,onSuccess,onFailed,userContext) {STLH.PublicSite.STLHService._staticInstance.GetFloorplan(floorplanId,communityArea,onSuccess,onFailed,userContext); }
STLH.PublicSite.STLHService.GetInventory= function(inventoryId,onSuccess,onFailed,userContext) {STLH.PublicSite.STLHService._staticInstance.GetInventory(inventoryId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('AjaxControlToolkit');
if (typeof(AjaxControlToolkit.CascadingDropDownNameValue) === 'undefined') {
AjaxControlToolkit.CascadingDropDownNameValue=gtc("AjaxControlToolkit.CascadingDropDownNameValue");
AjaxControlToolkit.CascadingDropDownNameValue.registerClass('AjaxControlToolkit.CascadingDropDownNameValue');
}
Type.registerNamespace('STLH.BusinessObjects');
if (typeof(STLH.BusinessObjects.Community) === 'undefined') {
STLH.BusinessObjects.Community=gtc("STLH.BusinessObjects.Community");
STLH.BusinessObjects.Community.registerClass('STLH.BusinessObjects.Community');
}
if (typeof(STLH.BusinessObjects.WebFloorplan) === 'undefined') {
STLH.BusinessObjects.WebFloorplan=gtc("STLH.BusinessObjects.WebFloorplan");
STLH.BusinessObjects.WebFloorplan.registerClass('STLH.BusinessObjects.WebFloorplan');
}
if (typeof(STLH.BusinessObjects.WebInventory) === 'undefined') {
STLH.BusinessObjects.WebInventory=gtc("STLH.BusinessObjects.WebInventory");
STLH.BusinessObjects.WebInventory.registerClass('STLH.BusinessObjects.WebInventory');
}

