function loadpage()
{
	Sort.inject('map_search');
	
	Limit.inject('map_search');
	Limit.set('', '25', '30');

	var launcher = new Launcher({"map":{"query":"http:\/\/www.hometoaustin.com\/map-search\/index.json","reset":"http:\/\/www.hometoaustin.com\/search\/index.json?task=close","form":"<table>\r\n<tbody>\r\n<tr>\r\n<td class=\"first\" rowspan=\"2\">\r\n<div>Enter Keyword:<br \/> <input   class=\"inputbox\" type=\"text\" name=\"search[x_keyword]\" value=\"** Neighborhood, City, State... **\" onfocus=\"if(this.value=='** Neighborhood, City, State... **')this.value='';\" onblur=\"if(this.value=='')this.value='** Neighborhood, City, State... **';\" onsubmit=\"alert('ow!');\" \/><\/div>\r\n<button class=\"button\" style=\"float: left;\" value=\"Search\">Search<\/button><\/td>\r\n<td rowspan=\"2\"><div class=\"slider\" title=\"{&quot;label&quot;:&quot;Price&quot;,&quot;type&quot;:&quot;range&quot;,&quot;pre&quot;:&quot;$&quot;,&quot;min&quot;:&quot;100000&quot;,&quot;max&quot;:&quot;1000000&quot;,&quot;step&quot;:&quot;25000&quot;,&quot;case&quot;:&quot;&quot;,&quot;key&quot;:77}\"><input type=\"text\" name=\"search[77][<]\" \/><input type=\"text\" name=\"search[77][>]\" value=\"1000000\" \/><\/div><\/td>\r\n<td rowspan=\"2\"><div class=\"slider\" title=\"{&quot;label&quot;:&quot;Bedrooms:&quot;,&quot;type&quot;:&quot;slide&quot;,&quot;max&quot;:&quot;8&quot;,&quot;step&quot;:&quot;1&quot;,&quot;width&quot;:&quot;100&quot;,&quot;case&quot;:&quot;&quot;}\"><input type=\"text\" name=\"search[24][<]\" \/><\/div><\/td>\r\n<td rowspan=\"2\"><div class=\"slider\" title=\"{&quot;label&quot;:&quot;Bathrooms:&quot;,&quot;type&quot;:&quot;slide&quot;,&quot;max&quot;:&quot;8&quot;,&quot;step&quot;:&quot;1&quot;,&quot;width&quot;:&quot;100&quot;,&quot;case&quot;:&quot;&quot;}\"><input type=\"text\" name=\"search[447][<]\" \/><\/div><\/td>\r\n<td><button class=\"button\"  title=\"save\" value=\"Save\">Save<\/button><\/td>\r\n<td><button class=\"button\"  title=\"reset\" value=\"Reset\">Reset<\/button><\/td>\r\n<\/tr>\r\n<tr>\r\n<td colspan=\"2\"><input type=\"hidden\" name=\"search[1341]\" value=\"\" \/><div class=\"check\"><input class=\"checks\"  value=\"Y\" type=\"checkbox\" name=\"search[1341]\" \/><label>Foreclosure<\/label><\/div><button class=\"link\"  title=\"zoom\" value=\"Click &amp; Drag Search\">Click &amp; Drag Search<\/button> <button class=\"link\"  title=\"advanced\" value=\"More Search Options\">More Search Options<\/button><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>","marker":"\/components\/com_realzi\/media\/images\/marker.png","shadow":"\/components\/com_realzi\/media\/images\/marker.shadow.png","width":"28","height":"25","advanced":"http:\/\/www.hometoaustin.com\/map-search\/advancedjs.js","save":"http:\/\/www.hometoaustin.com\/account\/savejs\/index.js"}});
	
	GoogleAPI.Maps.onComplete = launcher.mapsearch.bind(launcher);
	
	GoogleAPI.load('ABQIAAAADoiNRBucxPPlX5OwyqPqkBQ3p3S0I2bRUoC0KidKE8Hp1EGmcRRLtOBZUUNgv2GRTv66iktirWJIHw', 'Maps');
}

window.addEvent('domready', loadpage);
