
// 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['191773'] = '<h1 class="reptitle">Property in and around the City of Stockdale, Texas</h1> <p><table class="datagrid"> <tr align="baseline">    <th onclick="loadPage(191773,\'GWiKmx37tA\',1,\'varchar011\',\'A\');" class="datagrid" title="sort ascending">Photo&rsquo;s</th>    <th onclick="loadPage(191773,\'GWiKmx37tA\',1,\'text004\',\'A\');" class="datagrid" title="sort ascending">Click Below to View Information (URL)</th>    <th onclick="loadPage(191773,\'GWiKmx37tA\',1,\'double000\',\'A\');" class="datagrid" title="sort ascending">Acres</th>    <th onclick="loadPage(191773,\'GWiKmx37tA\',1,\'double001\',\'A\');" class="datagrid" title="sort ascending">Price/Acre</th>    <th onclick="loadPage(191773,\'GWiKmx37tA\',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(191773,\'GWiKmx37tA\',1,\'varchar000\',\'A\');" class="datagrid" title="sort ascending">County</th>    <th onclick="loadPage(191773,\'GWiKmx37tA\',1,\'varchar001\',\'A\');" class="datagrid" title="sort ascending">Nearest City</th>    <th onclick="loadPage(191773,\'GWiKmx37tA\',1,\'text000\',\'A\');" class="datagrid" title="sort ascending">Description</th>    <th onclick="loadPage(191773,\'GWiKmx37tA\',1,\'double003\',\'A\');" class="datagrid" title="sort ascending">MLS #</th>    <th onclick="loadPage(191773,\'GWiKmx37tA\',1,\'text002\',\'A\');" class="datagrid" title="sort ascending">Status</th> </tr> <tr class="unshaded_row"  valign="baseline" id="report191773ticket63314555" name="report191773ticket63314555">    <td class="datagrid" id="grid_varchar011_63314555"><a href="http://www.SouthTexasRanches.com/754-Acres-Wilson-County-Ranch-For-Sale.htm"><img border="0"  title="Rotating_Pics.gif" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=63314555&col=011&vcode=GWiKmx37tA&reportid=191773&datasetid=25403&accountid=27128&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text004_63314555"><a href="http://www.SouthTexasRanches.com/754-Acres-Wilson-County-Ranch-For-Sale.htm" target="_blank">www.SouthTexasRanches.com</a></td>    <td class="datagrid" id="grid_double000_63314555"><div align="right" style="background: inherit;">754.00</div></td>    <td class="datagrid" id="grid_double001_63314555"><div align="right" style="background: inherit;">$2,650.00</div></td>    <td class="datagrid" id="grid_double002_63314555"><div align="right" style="background: inherit;">$1,998,100.00</div></td>    <td class="datagrid" id="grid_varchar000_63314555">Wilson</td>    <td class="datagrid" id="grid_varchar001_63314555">Stockdale</td>    <td class="datagrid" id="grid_text000_63314555">SOLD</td>    <td class="datagrid" id="grid_double003_63314555"><div align="right" style="background: inherit;">802427</div></td>    <td class="datagrid" id="grid_text002_63314555">Sold</td> </tr> <tr class="shaded_row"  valign="baseline" id="report191773ticket75614622" name="report191773ticket75614622">    <td class="datagrid" id="grid_varchar011_75614622"><a href="http://www.SouthTexasRanches.com/130-Acres-CR-401-Wilson-County-Texas.htm"><img border="0"  title="Rotating_pics_130.gif" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=75614622&col=011&vcode=GWiKmx37tA&reportid=191773&datasetid=25403&accountid=27128&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text004_75614622"><a href="http://www.SouthTexasRanches.com/130-Acres-CR-401-Wilson-County-Texas.htm" target="_blank">www.SouthTexasRanches.com</a></td>    <td class="datagrid" id="grid_double000_75614622"><div align="right" style="background: inherit;">130.00</div></td>    <td class="datagrid" id="grid_double001_75614622"><div align="right" style="background: inherit;">$4,200.00</div></td>    <td class="datagrid" id="grid_double002_75614622"><div align="right" style="background: inherit;">$546,000.00</div></td>    <td class="datagrid" id="grid_varchar000_75614622">Wilson</td>    <td class="datagrid" id="grid_varchar001_75614622">Stockdale, LaVernia</td>    <td class="datagrid" id="grid_text000_75614622">130 Acres, Large Oaks,  Live water, Paved Road frontage, Water, Power, Hilltop Views &amp; MINERALS available.</td>    <td class="datagrid" id="grid_double003_75614622"><div align="right" style="background: inherit;">999999</div></td>    <td class="datagrid" id="grid_text002_75614622">Available</td> </tr> <tr class="unshaded_row"  valign="baseline" id="report191773ticket75039978" name="report191773ticket75039978">    <td class="datagrid" id="grid_varchar011_75039978"><a href="http://www.SouthTexasRanches.com/115-Acres-For-Sale-Guadalupe-County-Texas.htm"><img border="0"  title="115_Ac_Seguin_Tx_Ranch.gif" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=75039978&col=011&vcode=GWiKmx37tA&reportid=191773&datasetid=25403&accountid=27128&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text004_75039978"><a href="http://www.SouthTexasRanches.com/115-Acres-For-Sale-Guadalupe-County-Texas.htm" target="_blank">www.SouthTexasRanches.com</a></td>    <td class="datagrid" id="grid_double000_75039978"><div align="right" style="background: inherit;">115.91</div></td>    <td class="datagrid" id="grid_double001_75039978"><div align="right" style="background: inherit;">$4,200.00</div></td>    <td class="datagrid" id="grid_double002_75039978"><div align="right" style="background: inherit;">$486,839.00</div></td>    <td class="datagrid" id="grid_varchar000_75039978">Guadalupe</td>    <td class="datagrid" id="grid_varchar001_75039978">Seguin, Stockdale La Vernia, New Berlin</td>    <td class="datagrid" id="grid_text000_75039978">This ranch is just south of Seguin, Texas and is currently home to SARA (The Society for Animal Rescue and Adoption).  The ranch has lots of trees with open grassy pastures.</td>    <td class="datagrid" id="grid_double003_75039978"><div align="right" style="background: inherit;">839230</div></td>    <td class="datagrid" id="grid_text002_75039978">Pulled of Market</td> </tr> <tr class="shaded_row"  valign="baseline" id="report191773ticket65957170" name="report191773ticket65957170">    <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=GWiKmx37tA&reportid=191773&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> <tr class="unshaded_row"  valign="baseline" id="report191773ticket60800023" name="report191773ticket60800023">    <td class="datagrid" id="grid_varchar011_60800023"><a href="http://www.SouthTexasRanches.com/8-acres-for-sale-Hwy-123-Stockdale-Texas.htm"><img border="0"  title="8ac-Wilson-Tune-05.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=60800023&col=011&vcode=GWiKmx37tA&reportid=191773&datasetid=25403&accountid=27128&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text004_60800023"><a href="http://www.SouthTexasRanches.com/8-acres-for-sale-Hwy-123-Stockdale-Texas.htm" target="_blank">www.SouthTexasRanches.com</a></td>    <td class="datagrid" id="grid_double000_60800023"><div align="right" style="background: inherit;">8.14</div></td>    <td class="datagrid" id="grid_double001_60800023"><div align="right" style="background: inherit;">$4,729.73</div></td>    <td class="datagrid" id="grid_double002_60800023"><div align="right" style="background: inherit;">$38,500.00</div></td>    <td class="datagrid" id="grid_varchar000_60800023">Wilson</td>    <td class="datagrid" id="grid_varchar001_60800023">Seguin/Stockdale</td>    <td class="datagrid" id="grid_text000_60800023">SOLD</td>    <td class="datagrid" id="grid_double003_60800023"><div align="right" style="background: inherit;">797690</div></td>    <td class="datagrid" id="grid_text002_60800023">Sold</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['191773-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('191773');
}

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()
