// JavaScript Document
<!--



function openAffiliate() {
    

	window.open("", "affiliate", 'toolbar=0,location=0, scrollbars=0,width=425,height=485,resizable=1,left=350,top=50');
    
} // end of openAffiliates	

function openApts() {
window.open("", "apts", 'toolbar=0,location=0, scrollbars=0,width=430,height=300,resizable=1,left=350,top=50');
} // end of openApts	

function changeContent(p)
{
pic_808=" <img id=\"pic_sub\" src=\"images/pic_sub.jpg\" width=\"229\" height=\"141\" alt=\"\" />"
overall_808="<p1> <b>808 Schuykill, Reading PA</b><br>4BR, 1BA, Garage and BackYard<br>Rent : $650/mo<br>Taxes : $800/yr 81.67/mo<br>Property Management 10% = $60<br>Tenants Pay All Utilities<br>Priced @ 50k<br>Turnkey Operation that is Fully-Rehabbed, <br>Tenant-Occupied and Property-Managed.</p1>"
breakdown_808 ="<p1><b>Monthly Break Down</b><br>Mortgage: 45k (10%) down<br>Approx Mortgage @ 7.5=$100000.65 <br>Approx Insurance = $25<br><u>Property Management 10% = $60</u><br>Approx Monthly Expense= $399.65<br>Approx Monthly Take Home = $200.35<br>Yearly Tax Bill = $980 (tax deductible)<br><b>Property is Evertyhing that you ever wanted</b></p1>" 

pic_816=" <img id=\"pic_sub\" src=\"images/816.gif\" width=\"229\" height=\"141\" alt=\"\" />"
overall_816="<p1> <b>816 Schuykill, Reading PA</b><br>4BR, 1BA, Garage and BackYard<br>Rent : $600/mo<br>Taxes : $980/yr 81.67/mo<br>Property Management 10% = $60<br>Tenants Pay All Utilities<br>Priced @ 50k<br>Turnkey Operation that is Fully-Rehabbed, <br>Tenant-Occupied and Property-Managed. </p1> "
breakdown_816 ="<p1><b>Monthly Break Down</b><br>Mortgage: 45k (10%) down<br>Approx Mortgage @ 7.5=$314.65 <br>Approx Insurance = $25<br><u>Property Management 10% = $60</u><br>Approx Monthly Expense= $399.65<br>Approx Monthly Take Home = $200.35<br>Yearly Tax Bill = $980 (tax deductible)<br><b>Property produces a profit from the 1st day of purchase</b> </p1> " 

var props = new Array ('816','808');
var text = new Array (pic_816,overall_816,breakdown_816,pic_808,overall_808,breakdown_808);

var w=document.getElementById('table_prop').rows[p].cells

var t;

var i = 0;


 	
for ( var q = 0 ;  q < text.length - 3; q + 3) {

t=document.getElementById(props[i]);

	if (t) {
		q = q + 3;
	

	} //end inner if
i++;
	
} //end for
		
	
	//Reset q if and the end of  the array

	if ( q == text.length - 3) {
		q = 0;


	} //end if
	
		
		w[0].innerHTML=text[q];
	
	
		w[1].innerHTML=text[q + 1];
	

		w[2].innerHTML=text[q + 2];





} //end function changeContent(p,q)















//-->