
// 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['191774'] = '<h1 class="reptitle">Property in and around the City of Seguin, Texas</h1> <p><table class="datagrid"> <tr align="baseline">    <th onclick="loadPage(191774,\'ux6qfnodSc\',1,\'varchar011\',\'A\');" class="datagrid" title="sort ascending">Photo&rsquo;s</th>    <th onclick="loadPage(191774,\'ux6qfnodSc\',1,\'text004\',\'A\');" class="datagrid" title="sort ascending">Click Below to View Information (URL)</th>    <th onclick="loadPage(191774,\'ux6qfnodSc\',1,\'double000\',\'A\');" class="datagrid" title="sort ascending">Acres</th>    <th onclick="loadPage(191774,\'ux6qfnodSc\',1,\'double001\',\'A\');" class="datagrid" title="sort ascending">Price/Acre</th>    <th onclick="loadPage(191774,\'ux6qfnodSc\',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(191774,\'ux6qfnodSc\',1,\'varchar000\',\'A\');" class="datagrid" title="sort ascending">County</th>    <th onclick="loadPage(191774,\'ux6qfnodSc\',1,\'varchar001\',\'A\');" class="datagrid" title="sort ascending">Nearest City</th>    <th onclick="loadPage(191774,\'ux6qfnodSc\',1,\'text000\',\'A\');" class="datagrid" title="sort ascending">Description</th>    <th onclick="loadPage(191774,\'ux6qfnodSc\',1,\'double003\',\'A\');" class="datagrid" title="sort ascending">MLS #</th>    <th onclick="loadPage(191774,\'ux6qfnodSc\',1,\'text002\',\'A\');" class="datagrid" title="sort ascending">Status</th> </tr> <tr class="unshaded_row"  valign="baseline" id="report191774ticket75039978" name="report191774ticket75039978">    <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=ux6qfnodSc&reportid=191774&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="report191774ticket62700241" name="report191774ticket62700241">    <td class="datagrid" id="grid_varchar011_62700241"><a href="http://www.SouthTexasRanches.com/1581-South-State-Highway-46-New-Braunfels-Texas-78130.htm"><img border="0"  title="1581_Animation.gif" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=62700241&col=011&vcode=ux6qfnodSc&reportid=191774&datasetid=25403&accountid=27128&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text004_62700241"><a href="http://www.SouthTexasRanches.com/1581-South-State-Highway-46-New-Braunfels-Texas-78130.htm" target="_blank">www.SouthTexasRanches.com</a></td>    <td class="datagrid" id="grid_double000_62700241"><div align="right" style="background: inherit;">0.95</div></td>    <td class="datagrid" id="grid_double001_62700241"><div align="right" style="background: inherit;"></div></td>    <td class="datagrid" id="grid_double002_62700241"><div align="right" style="background: inherit;">$189,000.00</div></td>    <td class="datagrid" id="grid_varchar000_62700241">Guadalupe</td>    <td class="datagrid" id="grid_varchar001_62700241">New Braunfels, Seguin</td>    <td class="datagrid" id="grid_text000_62700241">.95+/- Acres Commercial Property, ABS: 20 SUR: A M ESNAURIZAR Aproximatly Half of 1.900 AC.+/-</td>    <td class="datagrid" id="grid_double003_62700241"><div align="right" style="background: inherit;">802818</div></td>    <td class="datagrid" id="grid_text002_62700241">Available</td> </tr> <tr class="unshaded_row"  valign="baseline" id="report191774ticket64610626" name="report191774ticket64610626">    <td class="datagrid" id="grid_varchar011_64610626"><a href="http://www.SouthTexasRanches.com/1583-South-State-Highway-46-New-Braunfels-Texas-78130.htm"><img border="0"  title="1583_Animation.gif" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=64610626&col=011&vcode=ux6qfnodSc&reportid=191774&datasetid=25403&accountid=27128&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text004_64610626"><a href="http://www.SouthTexasRanches.com/1583-South-State-Highway-46-New-Braunfels-Texas-78130.htm" target="_blank">www.SouthTexasRanches.com</a></td>    <td class="datagrid" id="grid_double000_64610626"><div align="right" style="background: inherit;">0.95</div></td>    <td class="datagrid" id="grid_double001_64610626"><div align="right" style="background: inherit;"></div></td>    <td class="datagrid" id="grid_double002_64610626"><div align="right" style="background: inherit;">$189,000.00</div></td>    <td class="datagrid" id="grid_varchar000_64610626">Guadalupe</td>    <td class="datagrid" id="grid_varchar001_64610626">New Braunfels/Seguin</td>    <td class="datagrid" id="grid_text000_64610626">Commercial Property with a house on 0.95+/- acres.  The property is located on busy Highway 46 between New Braunfels and Seguin.</td>    <td class="datagrid" id="grid_double003_64610626"><div align="right" style="background: inherit;">803199</div></td>    <td class="datagrid" id="grid_text002_64610626">Available</td> </tr> <tr class="shaded_row"  valign="baseline" id="report191774ticket60800023" name="report191774ticket60800023">    <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=ux6qfnodSc&reportid=191774&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 - 4 of 4.</span></td></tr> </table></p> ';
window.trackvia_content['191774-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('191774');
}

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