
// 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['183688'] = '<h1 class="reptitle">Land and Ranches For Sale In Medina County, Texas</h1> <p><table class="datagrid"> <tr align="baseline">    <th onclick="loadPage(183688,\'Bzdb04J0pV\',1,\'varchar011\',\'A\');" class="datagrid" title="sort ascending">Photo&rsquo;s</th>    <th onclick="loadPage(183688,\'Bzdb04J0pV\',1,\'text004\',\'A\');" class="datagrid" title="sort ascending">Click Below to View Information (URL)</th>    <th onclick="loadPage(183688,\'Bzdb04J0pV\',1,\'double000\',\'A\');" class="datagrid" title="sort ascending">Acres&nbsp;&nbsp;<img border="0" src="http://www.trackvia.com/app/static/images/sort_desc.png"></th>    <th onclick="loadPage(183688,\'Bzdb04J0pV\',1,\'double001\',\'A\');" class="datagrid" title="sort ascending">Price/Acre</th>    <th onclick="loadPage(183688,\'Bzdb04J0pV\',1,\'double002\',\'A\');" class="datagrid" title="sort ascending">Total Price</th>    <th onclick="loadPage(183688,\'Bzdb04J0pV\',1,\'varchar000\',\'A\');" class="datagrid" title="sort ascending">County</th>    <th onclick="loadPage(183688,\'Bzdb04J0pV\',1,\'varchar001\',\'A\');" class="datagrid" title="sort ascending">Nearest City</th>    <th onclick="loadPage(183688,\'Bzdb04J0pV\',1,\'text000\',\'A\');" class="datagrid" title="sort ascending">Description</th>    <th onclick="loadPage(183688,\'Bzdb04J0pV\',1,\'double003\',\'A\');" class="datagrid" title="sort ascending">MLS #</th>    <th onclick="loadPage(183688,\'Bzdb04J0pV\',1,\'text002\',\'A\');" class="datagrid" title="sort ascending">Status</th>    <th onclick="loadPage(183688,\'Bzdb04J0pV\',1,\'double006\',\'A\');" class="datagrid" title="sort ascending">Listing Agent</th> </tr> <tr class="unshaded_row"  valign="baseline" id="report183688ticket71209673" name="report183688ticket71209673">    <td class="datagrid" id="grid_varchar011_71209673"><a href="http://www.SouthTexasRanches.com/1295-Acre-Ranch-For-Sale-FM-462-Tarpley-Texas.htm"><img border="0"  title="Rotating.gif" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=71209673&col=011&vcode=Bzdb04J0pV&reportid=183688&datasetid=25403&accountid=27128&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text004_71209673"><a href="http://www.SouthTexasRanches.com/1295-Acre-Ranch-For-Sale-FM-462-Tarpley-Texas.htm" target="_blank">www.SouthTexasRanches.com</a></td>    <td class="datagrid" id="grid_double000_71209673"><div align="right" style="background: inherit;">1,295.00</div></td>    <td class="datagrid" id="grid_double001_71209673"><div align="right" style="background: inherit;">$4,325.00</div></td>    <td class="datagrid" id="grid_double002_71209673"><div align="right" style="background: inherit;">$5,600,000.00</div></td>    <td class="datagrid" id="grid_varchar000_71209673">Medina</td>    <td class="datagrid" id="grid_varchar001_71209673">Tarpley</td>    <td class="datagrid" id="grid_text000_71209673">This ranch can also be purchased as the 695 acre parcel only at the same price per acre instead of 1,295 acres.   &para; This property has amazing views for miles. Perfect place for a home on the <span class="greyital">(more...)</span></td>    <td class="datagrid" id="grid_double003_71209673"><div align="right" style="background: inherit;">802425</div></td>    <td class="datagrid" id="grid_text002_71209673">Available</td>    <td class="datagrid" id="grid_double006_71209673">Shane Anthony</td> </tr> <tr class="shaded_row"  valign="baseline" id="report183688ticket74083763" name="report183688ticket74083763">    <td class="datagrid" id="grid_varchar011_74083763"><a href="http://www.SouthTexasRanches.com/1265-Acre-Ranch-For-Sale-Live-Water-Medina-County-Texas.htm"><img border="0"  title="Rotating_Pics.gif" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=74083763&col=011&vcode=Bzdb04J0pV&reportid=183688&datasetid=25403&accountid=27128&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text004_74083763"><a href="http://www.SouthTexasRanches.com/1265-Acre-Ranch-For-Sale-Live-Water-Medina-County-Texas.htm" target="_blank">www.SouthTexasRanches.com</a></td>    <td class="datagrid" id="grid_double000_74083763"><div align="right" style="background: inherit;">1,265.00</div></td>    <td class="datagrid" id="grid_double001_74083763"><div align="right" style="background: inherit;">$5,500.00</div></td>    <td class="datagrid" id="grid_double002_74083763"><div align="right" style="background: inherit;">$6,957,500.00</div></td>    <td class="datagrid" id="grid_varchar000_74083763">Medina</td>    <td class="datagrid" id="grid_varchar001_74083763">Devine</td>    <td class="datagrid" id="grid_text000_74083763">1,265+/- acre ranch with 1+/- miles of the Hondo Creek, 3 irrigation wells and 50% of minerals conveying.  This is absolutely a MUST see ranch.</td>    <td class="datagrid" id="grid_double003_74083763"><div align="right" style="background: inherit;">834030</div></td>    <td class="datagrid" id="grid_text002_74083763">Available</td>    <td class="datagrid" id="grid_double006_74083763">Dustin Ray</td> </tr> <tr class="unshaded_row"  valign="baseline" id="report183688ticket56821555" name="report183688ticket56821555">    <td class="datagrid" id="grid_varchar011_56821555"><a href="http://www.SouthTexasRanches.com/143-Acres-FM-471-Rio-Medina-Texas-78066.htm"><img border="0"  title="0_FM_471_450.gif" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=56821555&col=011&vcode=Bzdb04J0pV&reportid=183688&datasetid=25403&accountid=27128&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text004_56821555"><a href="http://www.SouthTexasRanches.com/143-Acres-FM-471-Rio-Medina-Texas-78066.htm" target="_blank">www.SouthTexasRanches.com</a></td>    <td class="datagrid" id="grid_double000_56821555"><div align="right" style="background: inherit;">143.33</div></td>    <td class="datagrid" id="grid_double001_56821555"><div align="right" style="background: inherit;">$4,877.00</div></td>    <td class="datagrid" id="grid_double002_56821555"><div align="right" style="background: inherit;">$699,000.00</div></td>    <td class="datagrid" id="grid_varchar000_56821555">Medina</td>    <td class="datagrid" id="grid_varchar001_56821555">Rio Medina, San Antonio</td>    <td class="datagrid" id="grid_text000_56821555">Unrestricted 143.328 acres with 1.25+/- miles of FM 471 road frontage.  Yancey Water Supply line on property.</td>    <td class="datagrid" id="grid_double003_56821555"><div align="right" style="background: inherit;">784614</div></td>    <td class="datagrid" id="grid_text002_56821555">Reduced</td>    <td class="datagrid" id="grid_double006_56821555">Dustin Ray</td> </tr> <tr class="shaded_row"  valign="baseline" id="report183688ticket65208669" name="report183688ticket65208669">    <td class="datagrid" id="grid_varchar011_65208669"><a href="http://www.SouthTexasRanches.com/100-Acre-Ranch-For-Sale-Medina-County-Texas.htm"><img border="0"  title="100_acres_for_sale_medina_county_ranch_for_sale_castroville_far_for_sale_san_antonio_texas.gif" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=65208669&col=011&vcode=Bzdb04J0pV&reportid=183688&datasetid=25403&accountid=27128&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text004_65208669"><a href="http://www.SouthTexasRanches.com/100-Acre-Ranch-For-Sale-Medina-County-Texas.htm" target="_blank">www.SouthTexasRanches.com</a></td>    <td class="datagrid" id="grid_double000_65208669"><div align="right" style="background: inherit;">100.00</div></td>    <td class="datagrid" id="grid_double001_65208669"><div align="right" style="background: inherit;">$8,000.00</div></td>    <td class="datagrid" id="grid_double002_65208669"><div align="right" style="background: inherit;">$800,000.00</div></td>    <td class="datagrid" id="grid_varchar000_65208669">MEDINA</td>    <td class="datagrid" id="grid_varchar001_65208669">CASTROVILLE / SAN ANTONIO /LACOSTE / DEVINE</td>    <td class="datagrid" id="grid_text000_65208669">This ranch was engineered by Texas A&amp;M for use of the BMA irrigation canal. It consists of 100+/- acres which is completely high fenced. There are two tanks one of which is 35 feet deep.</td>    <td class="datagrid" id="grid_double003_65208669"><div align="right" style="background: inherit;">807196</div></td>    <td class="datagrid" id="grid_text002_65208669">Pulled of Market</td>    <td class="datagrid" id="grid_double006_65208669">Dustin Ray</td> </tr> <tr class="unshaded_row"  valign="baseline" id="report183688ticket76518333" name="report183688ticket76518333">    <td class="datagrid" id="grid_varchar011_76518333"><a href="http://www.SouthTexasRanches.com/69-Acres-Medina-County-Texas.htm"><img border="0"  title="Rotating_pics_for_Natalia.gif" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=76518333&col=011&vcode=Bzdb04J0pV&reportid=183688&datasetid=25403&accountid=27128&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text004_76518333"><a href="http://www.SouthTexasRanches.com/69-Acres-Medina-County-Texas.htm" target="_blank">www.SouthTexasRanches.com</a></td>    <td class="datagrid" id="grid_double000_76518333"><div align="right" style="background: inherit;">69.57</div></td>    <td class="datagrid" id="grid_double001_76518333"><div align="right" style="background: inherit;">$7,995.00</div></td>    <td class="datagrid" id="grid_double002_76518333"><div align="right" style="background: inherit;">$556,212.00</div></td>    <td class="datagrid" id="grid_varchar000_76518333">Medina</td>    <td class="datagrid" id="grid_varchar001_76518333">Natalia</td>    <td class="datagrid" id="grid_text000_76518333">69.57 acres located in Medina County loaded with hillside views, river frontage, county road access and a great combination of brush and open pasture.  This ranch has great home building sites and <span class="greyital">(more...)</span></td>    <td class="datagrid" id="grid_double003_76518333"><div align="right" style="background: inherit;">11111</div></td>    <td class="datagrid" id="grid_text002_76518333">Available</td>    <td class="datagrid" id="grid_double006_76518333">Adrian Alvarado</td> </tr> <tr class="shaded_row"  valign="baseline" id="report183688ticket76644122" name="report183688ticket76644122">    <td class="datagrid" id="grid_varchar011_76644122"><a href="http://www.SouthTexasRanches.com/1455-CR-773-Devine-Texas.htm"><img border="0"  title="picasion.com_add98d2239006893f8e06ed7208b71f8.gif" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=76644122&col=011&vcode=Bzdb04J0pV&reportid=183688&datasetid=25403&accountid=27128&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text004_76644122"><a href="http://www.SouthTexasRanches.com/1455-CR-773-Devine-Texas.htm" target="_blank">www.SouthTexasRanches.com</a></td>    <td class="datagrid" id="grid_double000_76644122"><div align="right" style="background: inherit;">5.53</div></td>    <td class="datagrid" id="grid_double001_76644122"><div align="right" style="background: inherit;"></div></td>    <td class="datagrid" id="grid_double002_76644122"><div align="right" style="background: inherit;">$83,000.00</div></td>    <td class="datagrid" id="grid_varchar000_76644122">Medina</td>    <td class="datagrid" id="grid_varchar001_76644122">Devine</td>    <td class="datagrid" id="grid_text000_76644122">This home sits comfortably on a slight hill over looking Hwy. 173 just outside of Devine, TX. Providing an easy commute to town, this peice of real estate is equiped with a set of pins perfect for FFA <span class="greyital">(more...)</span></td>    <td class="datagrid" id="grid_double003_76644122"><div align="right" style="background: inherit;">843817</div></td>    <td class="datagrid" id="grid_text002_76644122">Available</td>    <td class="datagrid" id="grid_double006_76644122">Phillip Vaughn</td> </tr> <table> <tr><td colspan="11"><span class="greyital">Showing mls #s 1 - 6 of 6.</span></td></tr> </table></p> ';
window.trackvia_content['183688-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('183688');
}

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