
// 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['184400'] = '<h1 class="reptitle">Property in and around the City of New Braunfels,Texas</h1> <p><table class="datagrid"> <tr align="baseline">    <th onclick="loadPage(184400,\'LvKSHxdY8J\',1,\'varchar011\',\'A\');" class="datagrid" title="sort ascending">Photo&rsquo;s</th>    <th onclick="loadPage(184400,\'LvKSHxdY8J\',1,\'text004\',\'A\');" class="datagrid" title="sort ascending">Click Below to View Information (URL)</th>    <th onclick="loadPage(184400,\'LvKSHxdY8J\',1,\'double000\',\'A\');" class="datagrid" title="sort ascending">Acres</th>    <th onclick="loadPage(184400,\'LvKSHxdY8J\',1,\'double001\',\'A\');" class="datagrid" title="sort ascending">Price/Acre</th>    <th onclick="loadPage(184400,\'LvKSHxdY8J\',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(184400,\'LvKSHxdY8J\',1,\'varchar000\',\'A\');" class="datagrid" title="sort ascending">County</th>    <th onclick="loadPage(184400,\'LvKSHxdY8J\',1,\'varchar001\',\'A\');" class="datagrid" title="sort ascending">Nearest City</th>    <th onclick="loadPage(184400,\'LvKSHxdY8J\',1,\'text000\',\'A\');" class="datagrid" title="sort ascending">Description</th>    <th onclick="loadPage(184400,\'LvKSHxdY8J\',1,\'double003\',\'A\');" class="datagrid" title="sort ascending">MLS #</th>    <th onclick="loadPage(184400,\'LvKSHxdY8J\',1,\'text002\',\'A\');" class="datagrid" title="sort ascending">Status</th> </tr> <tr class="unshaded_row"  valign="baseline" id="report184400ticket48982475" name="report184400ticket48982475">    <td class="datagrid" id="grid_varchar011_48982475"><a href="http://www.SouthTexasRanches.com/300comal.htm"><img border="0"  title="300anim.gif" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=48982475&col=011&vcode=LvKSHxdY8J&reportid=184400&datasetid=25403&accountid=27128&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text004_48982475"><a href="http://www.SouthTexasRanches.com/300comal.htm" target="_blank">www.SouthTexasRanches.com</a></td>    <td class="datagrid" id="grid_double000_48982475"><div align="right" style="background: inherit;">300.00</div></td>    <td class="datagrid" id="grid_double001_48982475"><div align="right" style="background: inherit;">$14,850.00</div></td>    <td class="datagrid" id="grid_double002_48982475"><div align="right" style="background: inherit;">$4,455,000.00</div></td>    <td class="datagrid" id="grid_varchar000_48982475">Comal</td>    <td class="datagrid" id="grid_varchar001_48982475">New Braunfels</td>    <td class="datagrid" id="grid_text000_48982475">This property is perfectly located near I.H. 35 and has state highway frontage.  The property is in the ETJ of New Braunfels and is in Comal County.  The ranch has beautiful oak trees....</td>    <td class="datagrid" id="grid_double003_48982475"><div align="right" style="background: inherit;">759840</div></td>    <td class="datagrid" id="grid_text002_48982475">Available</td> </tr> <tr class="shaded_row"  valign="baseline" id="report184400ticket62700241" name="report184400ticket62700241">    <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=LvKSHxdY8J&reportid=184400&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="report184400ticket64610626" name="report184400ticket64610626">    <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=LvKSHxdY8J&reportid=184400&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> <table> <tr><td colspan="10"><span class="greyital">Showing mls #s 1 - 3 of 3.</span></td></tr> </table></p> ';
window.trackvia_content['184400-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('184400');
}

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