htmlsearch_XSLParams = {
		ModuleId: "htmlsearch",
		ModuleLayout: "search_type_tabs",
		lpsconfig: {"iframe_mode":false,"Advertisement_Mode":"none","channel":"sales","listing_count_title":"","layout":"search_type_tabs","locationserviceroot":"/reno/locations","error_no_location_selection":"Please select a location","max_suggest_returns":10,"default_map_center":[38.92955,-77.080215],"searchtoplevelseo":"washington-dc-usa","forceLocationInSuggestedAction":false,"currencyconversionenabled":true,"default_map_center_regionid":2000090000002,"forceDidYouMeanPageInSuggestedAction":false,"Advertisement_Url":"","location_selection_required":false,"error_smart_search":"No results were found using the term \"{0}\" and current criteria. Please try another term or change your search criteria","defaultlocation":"washington-dc-usa","default_region_name":"Washington, DC, USA","canonicalwebroot":"//realestate.washingtonpost.com","suggest_config_key":"location_nogroup","searchserviceroot":"reno/search","seo_location_default":"washington-dc-usa","SchoolDistrictsEnabled":true,"default_map_radius":5},
		PersistSearchLocation: "",
		PersistSearchLocationSeo: "",
		RadiusOpts: 

		new Array('0.10MILE','0.20MILE','0.25MILE','0.33MILE','0.40MILE','0.50MILE','0.60MILE','0.66MILE','0.75MILE','0.80MILE','0.90MILE','1.00MILE','1.25MILES','1.50MILES','1.75MILES','2.00MILES','2.50MILES','3.00MILES','3.50MILES','4.00MILES','4.50MILES','5.00MILES','10.00MILES','15.00MILES','20.00MILES','25.00MILES','30.00MILES','35.00MILES','40.00MILES','45.00MILES','50.00MILES','55.00MILES','60.00MILES','65.00MILES','70.00MILES','75.00MILES','80.00MILES','85.00MILES','90.00MILES','95.00MILES','100.00MILES','150.00MILES','200.00MILES','250.00MILES250.00MILES','500.00MILES500.00MILES','750.00MILES','1000.00MILES')

	,
		PriceRangeOpts: 

    new Array(['Min',0],['50K',50000],['100K',100000],['150K',150000],['200K',200000],['250K',250000],['300K',300000],['350K',350000],['400K',400000],['450K',450000],['500K',500000],['600K',600000],['700K',700000],['800K',800000],['900K',900000],['1.0M',1000000],['1.2M',1250000],['1.5M',1500000],['1.7M',1750000],['2.0M',2000000],['2.5M',2500000],['3.0M',3000000],['3.5M',3500000],['4.0M',4000000],['4.5M',4500000],['5.0M',5000000],['6.0M',6000000],['7.0M',7000000],['8.0M',8000000],['9.0M',9000000],['10.0M',10000000],['15.0M',15000000],['20.0M',20000000],['30.0M',30000000],['40.0M',40000000],['50.0M',50000000],['75.0M',75000000],['100.0M',100000000],['Max',2000000000])

  ,
		SqFtRangeOpts: 

    new Array(['Min',0],['1,000',1000],['2,000',2000],['3,000',3000],['4,000',4000],['5,000',5000],['6,000',6000],['7,000',7000],['8,000',8000],['9,000',9000],['10,000',10000],['Max',999999])

  ,
		AcresRangeOpts: 

    new Array(['Min',0],['0,25',0.25],['0,50',0.50],['0,75',0.75],['1',1],['2',2],['5',5],['10',10],['20',20],['100',100],['Max',1000000])

  ,
		MapStyles: JSON.stringify({}),
		MapSettings: JSON.stringify({})
		};

		htmlsearch_XSLParams.PriceMin = 0;htmlsearch_XSLParams.PriceMax = 2000000000;htmlsearch_XSLParams.SqFtMin = 0;htmlsearch_XSLParams.SqFtMax = 999999;htmlsearch_XSLParams.AcresMin = 0;htmlsearch_XSLParams.AcresMax = 1000000;

    if(typeof(htmlsearch_Module) == "undefined")
    {
    htmlsearch_Module = new LandingPageSearchModule();
    }

    htmlsearch_Module.Initialize(htmlsearch_XSLParams);
      

      HtmlSearchLandingPageSearchModule = htmlsearch_Module;
      HtmlSearchLandingPageSearchXSLParams = htmlsearch_XSLParams;

      var lpswUrls = new Array();
      lpswUrls[RenoChannelType.Sales] = "/widget/nowrapper/htmlsearch/sales/generatehtml/config-" + ChannelService.ToString(RenoChannelType.Sales).replace("-","") + "htmlwidget";
      lpswUrls[RenoChannelType.Rentals] = "/widget/nowrapper/htmlsearch/rentals/generatehtml/config-" + ChannelService.ToString(RenoChannelType.Rentals).replace("-","") + "htmlwidget";
      lpswUrls[RenoChannelType.BuildingsCommunities] = "/widget/nowrapper/htmlsearch/buildings-communities/generatehtml/config-" + ChannelService.ToString(RenoChannelType.BuildingsCommunities).replace("-","") + "htmlwidget";
      lpswUrls[RenoChannelType.VacationRentals] = "/widget/nowrapper/htmlsearch/vacation-rentals/generatehtml/config-" + ChannelService.ToString(RenoChannelType.VacationRentals) + "htmlwidget";

      function DoLPSSearch() {
      htmlsearch_Module.DoLPSSearch();
      }
