
// define some colors for setting and testing. We need to do it this way, because IE
// and Firefox use different schemes (hex vs RGB) when testing and comparing colors.
if (!(window.trackviaz)) {
	window.trackviaz = document.createElement('div');

	window.trackviaz.style.backgroundColor = '#ffffff'; var cUncheckedMouseOut  = window.trackviaz.style.backgroundColor;
	window.trackviaz.style.backgroundColor = '#dddddd'; var cUncheckedMouseOver = window.trackviaz.style.backgroundColor;
	window.trackviaz.style.backgroundColor = '#9999ff'; var cCheckedMouseOut    = window.trackviaz.style.backgroundColor;
	window.trackviaz.style.backgroundColor = '#bbbbff'; var cCheckedMouseOver   = window.trackviaz.style.backgroundColor;
}

var server = 'http://www.trackvia.com';

if (!(window.trackvia_content)) {
	window.trackvia_content = new Object();
}

window.trackvia_content['177711'] = '<h1 class="reptitle">Property in and around the City of Floresville, Texas</h1> <p><table class="datagrid"> <tr align="baseline">    <th onclick="loadPage(177711,\'gzZhwYDj8r\',1,\'varchar011\',\'A\');" class="datagrid" title="sort ascending">Photo&rsquo;s</th>    <th onclick="loadPage(177711,\'gzZhwYDj8r\',1,\'text004\',\'A\');" class="datagrid" title="sort ascending">Click Below to View Information (URL)</th>    <th onclick="loadPage(177711,\'gzZhwYDj8r\',1,\'double000\',\'A\');" class="datagrid" title="sort ascending">Acres</th>    <th onclick="loadPage(177711,\'gzZhwYDj8r\',1,\'double001\',\'A\');" class="datagrid" title="sort ascending">Price/Acre</th>    <th onclick="loadPage(177711,\'gzZhwYDj8r\',1,\'double002\',\'A\');" class="datagrid" title="sort ascending">Total Price&nbsp;&nbsp;<img border="0" src="http://www.trackvia.com/app/static/images/sort_desc.png"></th>    <th onclick="loadPage(177711,\'gzZhwYDj8r\',1,\'varchar000\',\'A\');" class="datagrid" title="sort ascending">County</th>    <th onclick="loadPage(177711,\'gzZhwYDj8r\',1,\'varchar001\',\'A\');" class="datagrid" title="sort ascending">Nearest City</th>    <th onclick="loadPage(177711,\'gzZhwYDj8r\',1,\'text000\',\'A\');" class="datagrid" title="sort ascending">Description</th>    <th onclick="loadPage(177711,\'gzZhwYDj8r\',1,\'double003\',\'A\');" class="datagrid" title="sort ascending">MLS #</th>    <th onclick="loadPage(177711,\'gzZhwYDj8r\',1,\'text002\',\'A\');" class="datagrid" title="sort ascending">Status</th> </tr> <tr class="unshaded_row"  valign="baseline" id="report177711ticket76809561" name="report177711ticket76809561">    <td class="datagrid" id="grid_varchar011_76809561"><a href="http://www.SouthTexasRanches.com/166-Acre-Ranch-For-Sale-Wilson-County-Texas.htm"><img border="0"  title="Rotating_Pics.gif" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=76809561&col=011&vcode=gzZhwYDj8r&reportid=177711&datasetid=25403&accountid=27128&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text004_76809561"><a href="http://www.SouthTexasRanches.com/166-Acre-Ranch-For-Sale-Wilson-County-Texas.htm" target="_blank">www.SouthTexasRanches.com</a></td>    <td class="datagrid" id="grid_double000_76809561"><div align="right" style="background: inherit;">166.00</div></td>    <td class="datagrid" id="grid_double001_76809561"><div align="right" style="background: inherit;">$4,800.00</div></td>    <td class="datagrid" id="grid_double002_76809561"><div align="right" style="background: inherit;">$796,800.00</div></td>    <td class="datagrid" id="grid_varchar000_76809561">Wilson</td>    <td class="datagrid" id="grid_varchar001_76809561">Floresville, San Antonio</td>    <td class="datagrid" id="grid_text000_76809561">Water Water Water!! 166 Acres of Irrigated cattle/farmland &amp; Improved pasture with almost a mile of The San Antonio River and all owned MINERAL RIGHTS available.</td>    <td class="datagrid" id="grid_double003_76809561"><div align="right" style="background: inherit;">999999</div></td>    <td class="datagrid" id="grid_text002_76809561">Available</td> </tr> <tr class="shaded_row"  valign="baseline" id="report177711ticket77571217" name="report177711ticket77571217">    <td class="datagrid" id="grid_varchar011_77571217"><a href="http://www.SouthTexasRanches.com/133-Acre-Ranch-For-Sale-Atascosa-County-Texas.htm"><img border="0"  title="133_ac_animation.gif" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=77571217&col=011&vcode=gzZhwYDj8r&reportid=177711&datasetid=25403&accountid=27128&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text004_77571217"><a href="http://www.SouthTexasRanches.com/133-Acre-Ranch-For-Sale-Atascosa-County-Texas.htm" target="_blank">www.SouthTexasRanches.com</a></td>    <td class="datagrid" id="grid_double000_77571217"><div align="right" style="background: inherit;">133.02</div></td>    <td class="datagrid" id="grid_double001_77571217"><div align="right" style="background: inherit;">$3,000.00</div></td>    <td class="datagrid" id="grid_double002_77571217"><div align="right" style="background: inherit;">$399,060.00</div></td>    <td class="datagrid" id="grid_varchar000_77571217">Atascosa</td>    <td class="datagrid" id="grid_varchar001_77571217">Pleasanton/ Floresville</td>    <td class="datagrid" id="grid_text000_77571217">This ranch comes with a house that would make a perfect hunters cabin or starter home. It is situated on the ranch in a secluded spot behind some brush to provide privacy and country comfort for the <span class="greyital">(more...)</span></td>    <td class="datagrid" id="grid_double003_77571217"><div align="right" style="background: inherit;">851114</div></td>    <td class="datagrid" id="grid_text002_77571217">Available</td> </tr> <tr class="unshaded_row"  valign="baseline" id="report177711ticket66148464" name="report177711ticket66148464">    <td class="datagrid" id="grid_varchar011_66148464"><a href="http://www.SouthTexasRanches.com/83-Acres-For-Sale-Wilson-County-Texas.htm"><img border="0"  title="83-acre-wilson-county-floresville-rotate.gif" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=66148464&col=011&vcode=gzZhwYDj8r&reportid=177711&datasetid=25403&accountid=27128&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text004_66148464"><a href="http://www.SouthTexasRanches.com/83-Acres-For-Sale-Wilson-County-Texas.htm" target="_blank">www.SouthTexasRanches.com</a></td>    <td class="datagrid" id="grid_double000_66148464"><div align="right" style="background: inherit;">83.00</div></td>    <td class="datagrid" id="grid_double001_66148464"><div align="right" style="background: inherit;">$4,800.00</div></td>    <td class="datagrid" id="grid_double002_66148464"><div align="right" style="background: inherit;">$398,400.00</div></td>    <td class="datagrid" id="grid_varchar000_66148464">Wilson</td>    <td class="datagrid" id="grid_varchar001_66148464">Floresville</td>    <td class="datagrid" id="grid_text000_66148464">This small ranch has it all.  It has income producing potential as well as a beautiful oak filled pasture allowing for a wonderful hunting experience.</td>    <td class="datagrid" id="grid_double003_66148464"><div align="right" style="background: inherit;">810074</div></td>    <td class="datagrid" id="grid_text002_66148464">Available</td> </tr> <tr class="shaded_row"  valign="baseline" id="report177711ticket57111608" name="report177711ticket57111608">    <td class="datagrid" id="grid_varchar011_57111608"><a href="http://www.SouthTexasRanches.com/1700-10th-Street-Hwy-181-Floresville-Texas-78114.htm"><img border="0"  title="picasion.com_545f625303e583c779a50d729b232b58.gif" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=57111608&col=011&vcode=gzZhwYDj8r&reportid=177711&datasetid=25403&accountid=27128&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text004_57111608"><a href="http://www.SouthTexasRanches.com/1700-10th-Street-Hwy-181-Floresville-Texas-78114.htm" target="_blank">www.SouthTexasRanches.com</a></td>    <td class="datagrid" id="grid_double000_57111608"><div align="right" style="background: inherit;">1.20</div></td>    <td class="datagrid" id="grid_double001_57111608"><div align="right" style="background: inherit;">$187,500.00</div></td>    <td class="datagrid" id="grid_double002_57111608"><div align="right" style="background: inherit;">$225,000.00</div></td>    <td class="datagrid" id="grid_varchar000_57111608">Wilson</td>    <td class="datagrid" id="grid_varchar001_57111608">Floresville</td>    <td class="datagrid" id="grid_text000_57111608">Prime Commercial Land on BUSY Hwy 181.</td>    <td class="datagrid" id="grid_double003_57111608"><div align="right" style="background: inherit;">785790</div></td>    <td class="datagrid" id="grid_text002_57111608">Available</td> </tr> <tr class="unshaded_row"  valign="baseline" id="report177711ticket65957170" name="report177711ticket65957170">    <td class="datagrid" id="grid_varchar011_65957170"><a href="http://www.SouthTexasRanches.com/11-Acre-Ranch-For-Sale-678-Terrace-Hill-Lane-Floresville-Texas-78114.htm"><img border="0"  title="picasion.com_00ceadff626df3106771deeea68c6b45.gif" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=65957170&col=011&vcode=gzZhwYDj8r&reportid=177711&datasetid=25403&accountid=27128&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text004_65957170"><a href="http://www.SouthTexasRanches.com/11-Acre-Ranch-For-Sale-678-Terrace-Hill-Lane-Floresville-Texas-78114.htm" target="_blank">www.SouthTexasRanches.com</a></td>    <td class="datagrid" id="grid_double000_65957170"><div align="right" style="background: inherit;">11.84</div></td>    <td class="datagrid" id="grid_double001_65957170"><div align="right" style="background: inherit;"></div></td>    <td class="datagrid" id="grid_double002_65957170"><div align="right" style="background: inherit;">$195,000.00</div></td>    <td class="datagrid" id="grid_varchar000_65957170">Wilson</td>    <td class="datagrid" id="grid_varchar001_65957170">Floresville, Stockdale, Sutherland Springs</td>    <td class="datagrid" id="grid_text000_65957170">Horse-lovers dream on 11+/- acres. Large 3BR/2BA home with 2 enclosed climate-controlled porches(adds approx 500sq ft) to enjoy the views of the heavily treed property in a country setting in a <span class="greyital">(more...)</span></td>    <td class="datagrid" id="grid_double003_65957170"><div align="right" style="background: inherit;">807518</div></td>    <td class="datagrid" id="grid_text002_65957170">Available</td> </tr> <table> <tr><td colspan="10"><span class="greyital">Showing mls #s 1 - 5 of 5.</span></td></tr> </table></p> ';
window.trackvia_content['177711-js'] = '';

// this sets the tvNNNN div with whatever is in the content var, which can be refreshed
// via the loadPage routine, which does an on-demand javascript call which changes the value.

function redraw(reportid_string) {
        window.document.getElementById('tv'+reportid_string).style.backgroundColor = '#FFFFFF';
        window.document.getElementById('tv'+reportid_string).className = 'reportwrapper';
        window.document.getElementById('tv'+reportid_string).innerHTML = window.trackvia_content[reportid_string];
	eval(window.trackvia_content[reportid_string+'-js']);
}

function initialize() {
	var head = document.getElementsByTagName("head")[0];
	
	var styles = document.createElement('link');
	styles.href = server+'/app/static/stylesheets/public.css';
	styles.rel = "stylesheet";
	styles.type = "text/css";
	head.appendChild(styles);
	
	redraw('177711');
}

function loadPage(reportid,testcode,num,sort1,dir1) {
    var res = '/app/pubrep?v='+testcode+'&a=update&r='+reportid+'&startnum='+num+'&postsort1='+sort1+'&dir1='+dir1+'&accountid=27128';
	loadScript(res);
}

function loadCal(reportid,testcode,mon,year) {
    var res = '/app/pubrep?v='+testcode+'&a=update&r='+reportid+'&cal_month='+mon+'&cal_year='+year+'&accountid=27128';
	loadScript(res);
}

function loadScript(loc) {
	var head = document.getElementsByTagName("head")[0];
    var script = document.createElement('script');
    script.type = 'text/javascript';
    script.src = server + loc;
    head.appendChild(script);
}

initialize()
