/*
This code was created by the New Hampshire Housing and Finance Authority. 
Use of any part of this code is prohibited without written permission.
http://www.nhhfa.org
Created: 12/2006
By: Sean Vickers
*/
function ownercost(code1,code2) {
	var okToContinue = "Yes";
    var url=null;
    xmlhttp=null;  
   
    document.getElementById("page1").style.height = '525px';
    document.getElementById("page2").style.height = '525px';
    document.getElementById("page3").style.height = '575px';
    document.getElementById("page4").style.height = '725px';
    document.getElementById("page5").style.height = '775px';
    document.getElementById("page6").style.height = '1000px';   
    document.getElementById("page7").style.height = '1000px';    
   
    document.getElementById("pwait").innerHTML = "<img src='images/wait.gif' alt='' width='150' border='0'>";
   
    url = "http://www.nhhfa.org/oppweb/xml.asp?code1=" + code1 + "&code2=" + code2 + "&code3=ownercost";
    
    /* Check for running connections */
    if (xmlhttp != null && xmlhttp.readyState != 0 && xmlhttp.readyState != 4){
       xmlhttp.abort();
    }

    // code for Mozilla, etc.
    if (window.XMLHttpRequest) { 
    	try { xmlhttp=new XMLHttpRequest(); }
    	catch(e) { xmlhttp=null; }
    }
 
    // code for IE
    else if (window.ActiveXObject) {
    	try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); }
    	catch(e) {
    	   try { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); }
    	   catch(e) { xmlhttp=null; }
    	}
    }

    if (xmlhttp) {
        xmlhttp.open("GET",url,true);
        xmlhttp.setRequestHeader('content-type', 'text/xml'); 
        xmlhttp.onreadystatechange=function () {

	    var xml=null;
	    var html=null;
	    var data=null;

	    // if xmlhttp shows "loaded"
	    if (xmlhttp.readyState==4) {
  
	       // if "OK"
               if (xmlhttp.status==200) {

try {			   
	          xml  = xmlhttp.responseXML;
              data = xml.documentElement.getElementsByTagName("CODE2");	  
} catch(e) {
	alert("There Is No Data Available For This Area!");
	okToContinue = "No";
}
if(data.length == 0) {
	alert("There Is No Data Available For This Area!");
	okToContinue = "No";
}
			  
if(okToContinue == "Yes") {
	  
		  var html3 = "<table><tr><td width='100%' valign='top'>" +
		  
		  		"<table width='725px' class='outside'><tr><td>" +
				    "<table width='100%' height='100%' class='inside'>" +
		   			"<tr><td valign='top' align='left'>" +	
					
					"<table class='data'>" +
					"<tr class='head'><td colspan='11' style='text-align:center;'>" +
					"<font size='4'>Selected Monthly Housing Cost as a Percent of 1999 Housing Income</font>" +
					"<br><font size='2'>"+code1+": "+code2+"</font></td></tr>" +
					"<tr class='head'>" +
					"<td style='width:175px;text-align:left;vertical-align:bottom;'>Percentage of Income</td>" +
					"<td style='text-align:right;vertical-align:bottom;'>Specified Owner Occ. Houseing Units</td>" +
					"<td style='text-align:right;vertical-align:bottom;'>Less than<br />$10,000</td>" +
					"<td style='text-align:right;vertical-align:bottom;'>$10,000 to<br />$19,999</td>" +
					"<td style='text-align:right;vertical-align:bottom;'>$20,000 to<br />$34,999</td>" +
					"<td style='text-align:right;vertical-align:bottom;'>$35,000 to<br />$49,999</td>" +
					"<td style='text-align:right;vertical-align:bottom;'>$50,000 to<br />$74,999</td>" +
					"<td style='text-align:right;vertical-align:bottom;'>$75,000 to<br />$99,999</td>" +
					"<td style='text-align:right;vertical-align:bottom;'>$100,000 to<br />$149,999</td>" +					
					"<td style='text-align:right;vertical-align:bottom;'>$150,000<br />or More</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +
					
					"</tr><tr class='body'>" +
					"<td style='width:175px;text-align:left;'>Total Households</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOAllHHInc")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUIncLT10k")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc10to20k")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc20to35k")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc35to40k")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc50to75k")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc75to100k")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc100to150k")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUIncGT150k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +
					
					"</tr><tr class='body'>" +
					"<td style='width:175px;text-align:left;'>Mthly Costs Less than 20% of HH Inc</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncSROHULT20Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUIncLT10kHCLT20pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc10to20kHCLT20pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc20to35kRCLT20pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc35to50kRCLT20pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc50to75kRCLT20pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc75to100kRCLT20pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc100to150kRCLT20pct")),"","") + "</td>" +			
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUIncGT150kRCLT20pct")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +
					
					"</tr><tr class='body'>" +
					"<td style='width:175px;text-align:left;'>Mthly Costs 20% to 24.9% of HH Inc</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncSROHU20to25Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUIncLT10kHC20to25pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc10to20kHC20to25pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc20to35kRC20to25pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc35to50kRC20to25pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc50to75kRC20to25pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc75to100kRC20to25pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc100to150kRC20to25pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUIncGT150kRC20to25pct")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +			
										
					"</tr><tr class='body'>" +
					"<td style='width:175px;text-align:left;'>Mthly Costs 25% to 29.9% of HH Inc</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncSROHU25to30Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUIncLT10kHC25to30pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc10to20kHC25to30pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc20to35kRC25to30pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc35to50kRC25to30pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc50to75kRC25to30pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc75to100kRC25to30pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc100to150kRC25to30pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUIncGT150kRC25to30pct")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +											
										
					"</tr><tr class='body'>" +
					"<td style='width:175px;text-align:left;'>Mthly Costs Less Than 30% of HH Inc</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncSROHULT30Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUIncLT10kHCLT30pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc10to20kHCLT30pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc20to35kRCLT30pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc35to50kRCLT30pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc50to75kRCLT30pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc75to100kRCLT30pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc100to150kRCLT30pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUIncGT150kRCLT30pct")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +								
						
					"</tr><tr class='body'>" +
					"<td style='width:175px;text-align:left;'>Mthly Costs 30% or More of HH Inc</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncSROHUGT30Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUIncLT10kHCGT30pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc10to20kHCGT30pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc20to35kRCGT30pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc35to50kRCGT30pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc50to75kRCGT30pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc75to100kRCGT30pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc100to150kRCGT30pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUIncGT150kRCGT30pct")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +								
						
					"</tr><tr class='body'>" +
					"<td style='width:175px;text-align:left;'>Mthly Costs 30% to 34.9% of HH Inc</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncSROHU30to35Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUIncLT10kHC30to35pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc10to20kHC30to35pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc20to35kRC30to35pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc35to50kRC30to35pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc50to75kRC30to35pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc75to100kRC30to35pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc100to150kRC30to35pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUIncGT150kRC30to35pct")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +		
					
					"</tr><tr class='body'>" +
					"<td style='width:175px;text-align:left;'>Mthly Costs Less Than 35% of HH Inc</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncSROHULT35Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUIncLT10kHCLT35pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc10to20kHCLT35pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc20to35kRCLT35pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc35to50kRCLT35pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc50to75kRCLT35pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc75to100kRCLT35pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc100to150kRCLT35pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUIncGT150kRCLT35pct")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +						
					
					"</tr><tr class='body'>" +
					"<td style='width:175px;text-align:left;'>Mthly Costs 35% or More of HH Inc</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncSROHUGT35Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUIncLT10kHCGT35pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc10to20kHCGT35pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc20to35kRCGT35pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc35to50kRCGT35pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc50to75kRCGT35pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc75to100kRCGT35pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc100to150kRCGT35pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUIncGT150kRCGT35pct")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +						
					
					"</tr><tr class='body'>" +
					"<td style='width:175px;text-align:left;'>Mthly Costs 50% or More of HH Inc</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncSROHUGT50Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>&nbsp;</td>" +
					"<td style='text-align:right;'>&nbsp;</td>" +
					"<td style='text-align:right;'>&nbsp;</td>" +
					"<td style='text-align:right;'>&nbsp;</td>" +
					"<td style='text-align:right;'>&nbsp;</td>" +
					"<td style='text-align:right;'>&nbsp;</td>" +
					"<td style='text-align:right;'>&nbsp;</td>" +
					"<td style='text-align:right;'>&nbsp;</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +							
					"</tr><tr class='body'>" +
					
					"<td style='width:175px;text-align:left;'>Percent Not Computed</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncSROHUPNC")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUIncLT10kHCpctNotComput")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc10to20kHCpctNotComput")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc20to35kRCpctNotComput")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc35to50kRCpctNotComput")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc50to75kRCpctNotComput")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc75to100kRCpctNotComput")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUInc100to150kRCpctNotComput")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOHUIncGT150kRCpctNotComput")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +													
									
					"</tr><tr class='head'>" +
					"<td colspan='9' style='height:35px;text-align:left;vertical-align:bottom;'>Percent of Owner Households Paying</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +							
					"</tr><tr class='body'>" +									
								
					"</tr><tr class='body'>" +
					"<td style='width:175px;text-align:left;'>Mthly Costs Less Than 30% of HH Inc</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOLT30PctHHInc")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUIncLT10kHCLT30pct")) / Math.round(data[0].getAttribute("H97SOOHUIncLT10k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc10to20kHCLT30pct")) / Math.round(data[0].getAttribute("H97SOOHUInc10to20k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc20to35kRCLT30pct")) / Math.round(data[0].getAttribute("H97SOOHUInc20to35k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc35to50kRCLT30pct")) / Math.round(data[0].getAttribute("H97SOOHUInc35to50k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc50to75kRCLT30pct")) / Math.round(data[0].getAttribute("H97SOOHUInc50to75k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc75to100kRCLT30pct")) / Math.round(data[0].getAttribute("H97SOOHUInc75to100k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc100to150kRCLT30pct")) / Math.round(data[0].getAttribute("H97SOOHUInc100to150k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUIncGT150kRCLT30pct")) / Math.round(data[0].getAttribute("H97SOOHUIncGT150k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +									
								
					"</tr><tr class='body'>" +
					"<td style='width:175px;text-align:left;'>Mthly Costs 30% or More of HH Inc</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOGT30PctHHInc")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUIncLT10kHCGT30pct")) / Math.round(data[0].getAttribute("H97SOOHUIncLT10k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc10to20kHCGT30pct")) / Math.round(data[0].getAttribute("H97SOOHUInc10to20k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc20to35kRCGT30pct")) / Math.round(data[0].getAttribute("H97SOOHUInc20to35k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc35to50kRCGT30pct")) / Math.round(data[0].getAttribute("H97SOOHUInc35to50k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc50to75kRCGT30pct")) / Math.round(data[0].getAttribute("H97SOOHUInc50to75k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc75to100kRCGT30pct")) / Math.round(data[0].getAttribute("H97SOOHUInc75to100k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc100to150kRCGT30pct")) / Math.round(data[0].getAttribute("H97SOOHUInc100to150k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUIncGT150kRCGT30pct")) / Math.round(data[0].getAttribute("H97SOOHUIncGT150k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +										
								
					"</tr><tr class='body'>" +
					"<td style='width:175px;text-align:left;'>Mthly Costs Less Than 35% of HH Inc</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOLT35PctHHInc")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUIncLT10kHCLT35pct")) / Math.round(data[0].getAttribute("H97SOOHUIncLT10k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc10to20kHCLT35pct")) / Math.round(data[0].getAttribute("H97SOOHUInc10to20k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc20to35kRCLT35pct")) / Math.round(data[0].getAttribute("H97SOOHUInc20to35k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc35to50kRCLT35pct")) / Math.round(data[0].getAttribute("H97SOOHUInc35to50k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc50to75kRCLT35pct")) / Math.round(data[0].getAttribute("H97SOOHUInc50to75k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc75to100kRCLT35pct")) / Math.round(data[0].getAttribute("H97SOOHUInc75to100k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc100to150kRCLT35pct")) / Math.round(data[0].getAttribute("H97SOOHUInc100to150k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUIncGT150kRCLT35pct")) / Math.round(data[0].getAttribute("H97SOOHUIncGT150k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +										
									
					"</tr><tr class='body'>" +
					"<td style='width:175px;text-align:left;'>Mthly Costs 35% or More of HH Inc</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOGT35PctHHInc")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUIncLT10kHCGT35pct")) / Math.round(data[0].getAttribute("H97SOOHUIncLT10k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc10to20kHCGT35pct")) / Math.round(data[0].getAttribute("H97SOOHUInc10to20k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc20to35kRCGT35pct")) / Math.round(data[0].getAttribute("H97SOOHUInc20to35k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc35to50kRCGT35pct")) / Math.round(data[0].getAttribute("H97SOOHUInc35to50k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc50to75kRCGT35pct")) / Math.round(data[0].getAttribute("H97SOOHUInc50to75k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc75to100kRCGT35pct")) / Math.round(data[0].getAttribute("H97SOOHUInc75to100k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc100to150kRCGT35pct")) / Math.round(data[0].getAttribute("H97SOOHUInc100to150k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUIncGT150kRCGT35pct")) / Math.round(data[0].getAttribute("H97SOOHUIncGT150k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +											
									
					"</tr><tr class='body'>" +
					"<td style='width:175px;text-align:left;'>Mthly Costs 50% or More of HH Inc</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOGT50PctHHInc")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>&nbsp;</td>" +
					"<td style='text-align:right;'>&nbsp;</td>" +
					"<td style='text-align:right;'>&nbsp;</td>" +
					"<td style='text-align:right;'>&nbsp;</td>" +
					"<td style='text-align:right;'>&nbsp;</td>" +
					"<td style='text-align:right;'>&nbsp;</td>" +
					"<td style='text-align:right;'>&nbsp;</td>" +
					"<td style='text-align:right;'>&nbsp;</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +	
					
					"</tr><tr class='body'>" +
					"<td style='width:175px;text-align:left;'>Percent Not Computed</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncSROHUPNC")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUIncLT10kHCpctNotComput")) / Math.round(data[0].getAttribute("H97SOOHUIncLT10k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc10to20kHCpctNotComput")) / Math.round(data[0].getAttribute("H97SOOHUInc10to20k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc20to35kRCpctNotComput")) / Math.round(data[0].getAttribute("H97SOOHUInc20to35k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc35to50kRCpctNotComput")) / Math.round(data[0].getAttribute("H97SOOHUInc35to50k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc50to75kRCpctNotComput")) / Math.round(data[0].getAttribute("H97SOOHUInc50to75k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc75to100kRCpctNotComput")) / Math.round(data[0].getAttribute("H97SOOHUInc75to100k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUInc100to150kRCpctNotComput")) / Math.round(data[0].getAttribute("H97SOOHUInc100to150k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOHUIncGT150kRCpctNotComput")) / Math.round(data[0].getAttribute("H97SOOHUIncGT150k")) * 1000) / 10,"","%") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +																
													
					"</tr></table><br />" +							
					
					"<font size='1' color='red'>Source: Census 2000, SF3, Tables H97 and H94</font><br />" +
					
					"</td></tr>" +
					"</table>" +
					"</td></tr></table>" +	
					
				"</td></tr></table>";			

		  var html5 = "<table><tr><td width='100%' valign='top'>" +
		  
		  		"<table width='725px' class='outside'><tr><td>" +
				    "<table width='100%' height='100%' class='inside'>" +
		   			"<tr><td valign='top' align='left'>" +	
					
					"<table class='data'>" +
					"<tr class='head'><td colspan='10' style='text-align:center;'>" +
					"<font size='4'>Selected Monthly Housing Costs as a Percent of 1999 Household Income by Median Family Income</font>" +
					"<br><font size='2'>"+code1+": "+code2+"</font></td></tr>" +
					"<tr class='head'>" +
					"<td style='width:200px;text-align:left;vertical-align:bottom;'>Percentage of Income</td>" +
					"<td style='text-align:right;vertical-align:bottom;'>Specified Owner Occ. Houseing Units</td>" +
					"<td style='text-align:right;vertical-align:bottom;'>Under 30% of Median Family Income</td>" +
					"<td style='text-align:right;vertical-align:bottom;'>Under 50% of Median Family Income</td>" +
					"<td style='text-align:right;vertical-align:bottom;'>Under 60% of Median Family Income</td>" +
					"<td style='text-align:right;vertical-align:bottom;'>Under 80% of Median Family Income</td>" +
					"<td style='text-align:right;vertical-align:bottom;'>Under 100% of Median Family Income</td>" +
					"<td style='text-align:right;vertical-align:bottom;'>Under 120% of Median Family Income</td>" +
					"<td style='text-align:right;vertical-align:bottom;'>Over 120% of Median Family Income</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +
					
					"</tr><tr class='body'>" +
					"<td style='width:200px;text-align:left;'>Estimated Income Threshold</td>" +
					"<td style='text-align:right;'>&nbsp;</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamInc30Pct")),"$","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamInc50Pct")),"$","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamInc60Pct")),"$","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamInc80Pct")),"$","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamInc")),"$","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamInc120Pct")),"$","") + "</td>" +
					"<td style='text-align:right;'>&nbsp;</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +					
					
					
					"</tr><tr class='body'>" +
					"<td style='width:200px;text-align:left;'>Total Households</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOAllHHInc")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT30PctAll")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT50PctAll")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT60PctAll")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT80PctAll")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT100PctAll")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT120PctAll")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncGT120PctAll")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +
					
					"</tr><tr class='body'>" +
					"<td style='width:200px;text-align:left;'>Mthly Costs Less than 20% of HH Income</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOLT20PctHHInc")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT30PctLT20Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT50PctLT20Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT60PctLT20Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT80PctLT20Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT100PctLT20Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT120PctLT20Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncGT120PctLT20Pct")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +
					
					"</tr><tr class='body'>" +
					"<td style='width:200px;text-align:left;'>Mthly Costs 20% to 24.9% of HH Income</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOO20to25pctHHInc")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT30Pct-20to25Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT50Pct-20to25Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT60Pct-20to25Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT80Pct-20to25Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT100Pct-20to25Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT120Pct-20to25Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncGT120Pct-20to25Pct")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +			
										
					"</tr><tr class='body'>" +
					"<td style='width:200px;text-align:left;'>Mthly Costs 25% to 29.9% of HH Income</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOO25to30pctHHInc")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT30Pct-25to30Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT50Pct-25to30Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT60Pct-25to30Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT80Pct-25to30Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT100Pct-25to30Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT120Pct-25to30Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncGT120Pct-25to30Pct")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +											
										
					"</tr><tr class='body'>" +
					"<td style='width:200px;text-align:left;'>Mthly Costs Less Than 30% of HH Income</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOLT30PctHHInc")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT30PctLT30Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT50PctLT30Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT60PctLT30Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT80PctLT30Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT100PctLT30Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT120PctLT30Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncGT120PctLT30Pct")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +								
						
					"</tr><tr class='body'>" +
					"<td style='width:200px;text-align:left;'>Mthly Costs 30% or More of HH Income</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOGT30PctHHInc")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT30PctGT30Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT50PctGT30Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT60PctGT30Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT80PctGT30Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT100PctGT30Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT120PctGT30Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncGT120PctGT30Pct")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +								
						
					"</tr><tr class='body'>" +
					"<td style='width:200px;text-align:left;'>Mthly Costs 30% to 34.9% of HH Income</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOO30to35pctHHInc")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT30Pct-30to35Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT50Pct-30to35Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT60Pct-30to35Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT80Pct-30to35Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT100Pct-30to35Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT120Pct-30to35Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncGT120Pct-30to35Pct")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +		
					
					"</tr><tr class='body'>" +
					"<td style='width:200px;text-align:left;'>Mthly Costs Less Than 35% of HH Income</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOLT35PctHHInc")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT30PctLT35Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT50PctLT35Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT60PctLT35Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT80PctLT35Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT100PctLT35Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT120PctLT35Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncGT120PctLT35Pct")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +						
					
					"</tr><tr class='body'>" +
					"<td style='width:200px;text-align:left;'>Mthly Costs 35% or More of HH Income</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOOGT35PctHHInc")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT30PctGT35Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT50PctGT35Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT60PctGT35Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT80PctGT35Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT100PctGT35Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT120PctGT35Pct")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncGT120PctGT35Pct")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +						
					
					"</tr><tr class='body'>" +
					"<td style='width:200px;text-align:left;'>Percent Not Computed</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H97SOONotComputHHInc")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT30PctPNC")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT50PctPNC")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT60PctPNC")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT80PctPNC")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT100PctPNC")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncLT120PctPNC")),"","") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("P77MedFamIncGT120PctPNC")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td>" +													
									
					"</tr><tr class='head'><td colspan='10' style='text-align:center;'>" +
					"<font size='3'><br /><br /><br />By Percent of 1999 Median Family Income</font>" +
					"<br><font size='2'>"+code1+": "+code2+"</font></td></tr>" +														
								
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;height:35px;vertical-align:bottom;'>Selected Monthly Housing Cost as a Percent of 1999 Household Income</td>" +
					"<td colspan='8' style='text-align:center;vertical-align:bottom;'>(Percent of Owner Housholds within Income Group)</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +									
								
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>Mthly Costs 30% or More of HH Income</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOGT30PctHHInc")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT30PctGT30Pct")) / Math.round(data[0].getAttribute("P77MedFamIncLT30PctAll")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT50PctGT30Pct")) / Math.round(data[0].getAttribute("P77MedFamIncLT50PctAll")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT60PctGT30Pct")) / Math.round(data[0].getAttribute("P77MedFamIncLT60PctAll")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT80PctGT30Pct")) / Math.round(data[0].getAttribute("P77MedFamIncLT80PctAll")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT100PctGT30Pct")) / Math.round(data[0].getAttribute("P77MedFamIncLT100PctAll")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT120PctGT30Pct")) / Math.round(data[0].getAttribute("P77MedFamIncLT120PctAll")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncGT120PctGT30Pct")) / Math.round(data[0].getAttribute("P77MedFamIncGT120PctAll")) * 1000) / 10,"","%") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +																		
									
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>Mthly Costs 35% or More of HH Income</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOGT35PctHHInc")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT30PctGT35Pct")) / Math.round(data[0].getAttribute("P77MedFamIncLT30PctAll")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT50PctGT35Pct")) / Math.round(data[0].getAttribute("P77MedFamIncLT50PctAll")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT60PctGT35Pct")) / Math.round(data[0].getAttribute("P77MedFamIncLT60PctAll")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT80PctGT35Pct")) / Math.round(data[0].getAttribute("P77MedFamIncLT80PctAll")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT100PctGT35Pct")) / Math.round(data[0].getAttribute("P77MedFamIncLT100PctAll")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT120PctGT35Pct")) / Math.round(data[0].getAttribute("P77MedFamIncLT120PctAll")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncGT120PctGT35Pct")) / Math.round(data[0].getAttribute("P77MedFamIncGT120PctAll")) * 1000) / 10,"","%") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +											
									
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;height:35px;vertical-align:bottom;'>Selected Monthly Housing Cost as a Percent of 1999 Household Income</td>" +
					"<td colspan='8' style='text-align:center;vertical-align:bottom;'>(Percent of Owner Housholds within Percent Overpayment Groups)</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +																	
								
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>Mthly Costs 30% or More of HH Income</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOGT30PctHHInc")) / Math.round(data[0].getAttribute("H97SOOGT30PctHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT30PctGT30Pct")) / Math.round(data[0].getAttribute("H97SOOGT30PctHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT50PctGT30Pct")) / Math.round(data[0].getAttribute("H97SOOGT30PctHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT60PctGT30Pct")) / Math.round(data[0].getAttribute("H97SOOGT30PctHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT80PctGT30Pct")) / Math.round(data[0].getAttribute("H97SOOGT30PctHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT100PctGT30Pct")) / Math.round(data[0].getAttribute("H97SOOGT30PctHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT120PctGT30Pct")) / Math.round(data[0].getAttribute("H97SOOGT30PctHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncGT120PctGT30Pct")) / Math.round(data[0].getAttribute("H97SOOGT30PctHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +																			
									
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>Mthly Costs 35% or More of HH Income</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOGT35PctHHInc")) / Math.round(data[0].getAttribute("H97SOOGT35PctHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT30PctGT35Pct")) / Math.round(data[0].getAttribute("H97SOOGT35PctHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT50PctGT35Pct")) / Math.round(data[0].getAttribute("H97SOOGT35PctHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT60PctGT35Pct")) / Math.round(data[0].getAttribute("H97SOOGT35PctHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT80PctGT35Pct")) / Math.round(data[0].getAttribute("H97SOOGT35PctHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT100PctGT35Pct")) / Math.round(data[0].getAttribute("H97SOOGT35PctHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT120PctGT35Pct")) / Math.round(data[0].getAttribute("H97SOOGT35PctHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncGT120PctGT35Pct")) / Math.round(data[0].getAttribute("H97SOOGT35PctHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +		
					
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;height:35px;vertical-align:bottom;'>Selected Monthly Housing Cost as a Percent of 1999 Household Income</td>" +
					"<td colspan='8' style='text-align:center;vertical-align:bottom;'>(Percent of Total Specified Owner Housholds for Area)</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +												
								
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>Total Households</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOAllHHInc")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT30PctAll")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT50PctAll")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT60PctAll")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT80PctAll")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT100PctAll")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT120PctAll")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncGT120PctAll")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +									
								
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>Mthly Costs 30% or More of HH Income</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOGT30PctHHInc")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT30PctGT30Pct")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT50PctGT30Pct")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT60PctGT30Pct")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT80PctGT30Pct")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT100PctGT30Pct")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT120PctGT30Pct")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncGT120PctGT30Pct")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +																		
									
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>Mthly Costs 35% or More of HH Income</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("H97SOOGT35PctHHInc")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT30PctGT35Pct")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT50PctGT35Pct")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT60PctGT35Pct")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT80PctGT35Pct")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT100PctGT35Pct")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncLT120PctGT35Pct")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(Math.round(data[0].getAttribute("P77MedFamIncGT120PctGT35Pct")) / Math.round(data[0].getAttribute("H97SOOAllHHInc")) * 1000) / 10,"","%") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +																
													
					"</table><br />" +							
					
					"<font size='1' color='red'>Source: Census 2000, SF3, Tables H97, "+
					"recalculated using the Median Family Income Table P77</font><br />" +
					
					"</td></tr>" +
					"</table>" +
					"</td></tr></table>" +	
					
				"</td></tr></table>";					

		  var html6 = "<table><tr><td width='100%' valign='top'>" +
		  
		  		"<table width='725px' class='outside'><tr><td>" +
				    "<table width='100%' height='100%' class='inside'>" +
		   			"<tr><td valign='top' align='left'>" +	
					
					"<table cellspacing='0' cellpadding='0'>" +
					"<tr><td width='280' valign='top'>" +
					
					"<table class='data' style='width:280px;'>" +
					"<tr class='head'><td colspan='3' style='text-align:center;'>" +
					"<font size='4'>Value of Owner Occupied Housing Units</font>" +
					"<br><font size='2'>"+code1+": "+code2+"</font></td></tr>" +
					
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>Owner Occupied Housing Units</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H84OwnerOccHU")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +											
					
					"<tr class='head'>" +
					"<td style='width:200px;text-align:left;height:35px;vertical-align:bottom;'>Value</td>" +
					"<td style='text-align:right;height:35px;vertical-align:bottom;'>Housing Units</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +
					
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>Less than $10,000</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H84AllOOHULT10k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +		
							
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$10,000 to $14,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H84AllOOHU10to15k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +																																	
										
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$15,000 to $19,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H84AllOOHU15to20k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +																				
													
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$20,000 to $24,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H84AllOOHU20to25k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +											
										
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$25,000 to $29,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H84AllOOHU25to30k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +																				
													
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$30,000 to $34,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H84AllOOHU30to35k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +	
					
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$35,000 to $39,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H84AllOOHU35to40k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +																				
													
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$40,000 to $49,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H84AllOOHU40to50k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +		
					
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$50,000 to $59,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H84AllOOHU50to60k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +																				
													
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$60,000 to $69,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H84AllOOHU60to70k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +		
					
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$70,000 to $79,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H84AllOOHU70to80k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +																				
													
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$80,000 to $89,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H84AllOOHU80to90k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +		
															
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$90,000 to $99,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H84AllOOHU90to100k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +																				
													
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$100,000 to $124,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H84AllOOHU100to125k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +	
						
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$125,000 to $149,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H84AllOOHU125to150k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +																				
													
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$150,000 to $174,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H84AllOOHU150to175k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +	
					
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$175,000 to $199,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H84AllOOHU175to200k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +																				
													
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$200,000 to $249,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H84AllOOHU200to250k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +		
					
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$250,000 to $299,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H84AllOOHU250to300k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +											
							
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$300,000 to $399,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H84AllOOHU300to400k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +		
					
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$400,000 to $499,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H84AllOOHU400to500k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +										
				
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$500,000 to $749,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H84AllOOHU500to750k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +					
				
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$750,000 to $999,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H84AllOOHU750to1000k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +					
				
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$1,000,000 or More</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H84AllOOHU1000kmore")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +						
					
					"<tr class='body'>" +
					"<td style='width:200px;height:35px;vertical-align:bottom;text-align:left;'>Median Value</td>" +
					"<td style='height:35px;vertical-align:bottom;text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H85OOHUMedVal")),"$","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +								
													
					"</table><br />" +							

					"</td><td width='445' align='center' valign='top'>" +
					
					"<br />" +
					"<font size='3'><b>Owner Occupied Housing Value Distribution</b></font><br>" +
					"<font size='2'>"+code1+": "+code2+"</font>" +
					
					"<div id='graphpage6' style='position:relative;height:600px;width:350px;padding:0px;'>" +
				    "<div id='graph4' style='position:absolute;left:75px;padding:0px;'></div>" +
					"</div>" +
					
					"</td></tr></table><br />" +
					
					"<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />" +
					"<font size='1' color='red'>Source: Census 2000, SF3, Tables H84</font><br />" +
					
					"</td></tr>" +
					"</table>" +
					"</td></tr></table>" +	
					
				"</td></tr></table>";					
				
		  var html7 = "<table><tr><td width='725px' valign='top'>" +
		  
		  		"<table width='100%' class='outside'><tr><td>" +
				    "<table width='100%' height='100%' class='inside'>" +
		   			"<tr><td valign='top' align='left'>" +	
					
					"<table cellspacing='0' cellpadding='0'>" +
					"<tr><td width='280' valign='top'>" +
					
					"<table class='data' style='width:280px;'>" +
					"<tr class='head'><td colspan='3' style='text-align:center;'>" +
					"<font size='4'>Value of Specified Owner Occupied Housing Units</font>" +
					"<br><font size='2'>"+code1+": "+code2+"</font></td></tr>" +
					
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>Specified Owner Occupied Housing Units</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H74SpecOwnerOccHU")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +											
					
					"<tr class='head'>" +
					"<td style='width:200px;text-align:left;height:35px;vertical-align:bottom;'>Value</td>" +
					"<td style='text-align:right;height:35px;vertical-align:bottom;'>Housing Units</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +
					
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>Less than $10,000</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H74OOHULT10k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +		
							
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$10,000 to $14,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H74OOHU10to15k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +																																	
										
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$15,000 to $19,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H74OOHU15to20k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +																				
													
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$20,000 to $24,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H74OOHU20to25k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +											
										
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$25,000 to $29,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H74OOHU25to30k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +																				
													
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$30,000 to $34,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H74OOHU30to35k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +	
					
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$35,000 to $39,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H74OOHU35to40k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +																				
													
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$40,000 to $49,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H74OOHU40to50k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +		
					
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$50,000 to $59,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H74OOHU50to60k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +																				
													
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$60,000 to $69,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H74OOHU60to70k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +		
					
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$70,000 to $79,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H74OOHU70to80k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +																				
													
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$80,000 to $89,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H74OOHU80to90k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +		
															
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$90,000 to $99,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H74OOHU90to100k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +																				
													
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$100,000 to $124,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H74OOHU100to125k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +	
						
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$125,000 to $149,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H74OOHU125to150k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +																				
													
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$150,000 to $174,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H74OOHU150to175k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +	
					
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$175,000 to $199,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H74OOHU175to200k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +																				
													
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$200,000 to $249,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H74OOHU200to250k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +		
					
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$250,000 to $299,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H74OOHU250to300k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +											
							
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$300,000 to $399,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H74OOHU300to400k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +		
					
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$400,000 to $499,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H74OOHU400to500k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +										
				
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$500,000 to $749,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H74OOHU500to750k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +					
				
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$750,000 to $999,999</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H74OOHU750to1000k")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +					
				
					"<tr class='body'>" +
					"<td style='width:200px;text-align:left;'>$1,000,000 or More</td>" +
					"<td style='text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H74OOHU1000kmore")),"","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +						
					
					"<tr class='body'>" +
					"<td style='width:200px;height:35px;vertical-align:bottom;text-align:left;'>Median Value</td>" +
					"<td style='height:35px;vertical-align:bottom;text-align:right;'>" + chkValue(Math.round(data[0].getAttribute("H76OOHUMedianVal")),"$","") + "</td>" +
					"<td style='width:25px;'>&nbsp;</td></tr>" +								
													
					"</table><br />" +							

					"<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />" +
					"<font size='1' color='red'>Source: Census 2000, SF3, Tables H74</font><br />" +
					"<font size='1' color='red'>Note: 'Specified Owner Occupied Housing Units' " +
					"consist primarily of single family detached housing on lots of less than 10 " +
					"acres, occupied by the owner.<br />Multi-unit " +
					"structures, mobile homes, multi-family buildings, and renter occupied housing " +
					"is excluded from this count.</font>" +					
					
					"</td><td width='445' align='center' valign='top'>" +
					
					"<font size='3'><b>Specified Owner Occupied Housing Value Distribution</b></font><br>" +
									"<font size='2'>"+code1+": "+code2+"</font>" +
					
					"<div id='graphpage7' style='position:relative;height:775px;width:350px;padding:0px;'>" +
				    "<div id='graph5' style='position:absolute;left:75px;padding:0px;'></div><br /><br />" +
 					"</div>" +
					
					"</td></tr></table><br /><br /><br />" +
					
					"</td></tr>" +
					"</table>" +
					"</td></tr></table>" +	
					
				"</td></tr></table>";							
				
	var html1 =	"<table><tr><td>" +				
				
		  			"<table width='725px' height='475px' class='outside'><tr><td>" +
				    	"<table width='100%' height='100%' class='inside'>" +
		   			"<tr><td valign='top' align='left'>" +	
					"<center><font size='4'><b>Owner Cost Overpayment at 30% of 1999 Household Income</b></font><br>" +
									"<font size='2'>"+code1+": "+code2+"</font></center>" +						
				
					"<div id='graphpage1' style='position:relative;width:650px;height:425px;padding:0px;'>" +
				    "<div id='graph1' style='position:absolute;left:75px;padding:0px;'></div>" +
					"</div>" +
					
					"</td></tr>" +
					"</table>" +
					"</td></tr></table>" +	
									
				"</td></tr></table>";
				
	var html2 =	"<table><tr><td>" +				
				
		  			"<table width='725px' height='475px' class='outside'><tr><td>" +
				    	"<table width='100%' height='100%' class='inside'>" +
		   			"<tr><td valign='top' align='left'>" +	
					"<center><font size='4'><b>Owner Cost Overpayment at 35% of 1999 Household Income</b></font><br>" +
									"<font size='2'>"+code1+": "+code2+"</font></center>" +						
				
					"<div id='graphpage2' style='position:relative;width:650px;height:425px;padding:0px;'>" +
				    "<div id='graph2' style='position:absolute;left:75px;padding:0px;'></div>" +
					"</div>" +
					
					"</td></tr>" +
					"</table>" +
					"</td></tr></table>" +	
									
				"</td></tr></table>";				
					
	var html4 =	"<table><tr><td>" +				
				
		  			"<table width='725px' height='675px' class='outside'><tr><td>" +
				    	"<table width='100%' height='100%' class='inside'>" +
		   			"<tr><td valign='top' align='left'>" +	
					"<center><font size='4'><b>Owner Cost Overpayment by Percent of 1999 Median Family Income</b></font><br>" +
									"<font size='2'>"+code1+": "+code2+"</font></center>" +						
				
					"<div id='graphpage3' style='position:relative;width:650px;height:625px;padding:0px;'>" +
				    "<div id='graph3' style='position:absolute;left:75px;padding:0px;'></div>" +
					"</div>" +
					
					"</td></tr>" +
					"</table>" +
					"</td></tr></table>" +	
									
				"</td></tr></table>";					

					
var b1 = new bar_chart(8,"<font size='1'>Less than $10,000</font>|<font size='1'>$10,000 to $19,999</font>|<font size='1'>$20,000 to $34,999</font>|<font size='1'>$35,000 to $49,999</font>|<font size='1'>$50,000 to $74,999</font>|<font size='1'>$75,000 to $99,999</font>|<font size='1'>$100,000 to $149,999</font>|<font size='1'>$150,000 or More</font>");
var b2 = new bar_chart(8,"<font size='1'>Less than $10,000</font>|<font size='1'>$10,000 to $19,999</font>|<font size='1'>$20,000 to $34,999</font>|<font size='1'>$35,000 to $49,999</font>|<font size='1'>$50,000 to $74,999</font>|<font size='1'>$75,000 to $99,999</font>|<font size='1'>$100,000 to $149,999</font>|<font size='1'>$150,000 or More</font>");
var b3 = new bar_chart(7,"<font size='1'>Under 30% of Median Family Income</font>|<font size='1'>Under 50% of Median Family Income</font>|<font size='1'>Under 60% of Median Family Income</font>|<font size='1'>Under 80% of Median Family Income</font>|<font size='1'>Under 100% of Median Family Income</font>|<font size='1'>Under 120% of Median Family Income</font>|<font size='1'>Over 120% of Median Family Income</font>");
var b4 = new bar_chart(24,"<font size='1'>Less than $10,000</font>|<font size='1'>$10,000 to $14,999</font>|<font size='1'>$15,000 to $19,999</font>|<font size='1'>$20,000 to $24,999</font>|<font size='1'>$25,000 to $29,999</font>|<font size='1'>$30,000 to $34,999</font>|<font size='1'>$35,000 to $39,999</font>|<font size='1'>$40,000 to $49,999</font>|<font size='1'>$50,000 to $59,999</font>|<font size='1'>$60,000 to $69,999</font>|<font size='1'>$70,000 to $79,999</font>|<font size='1'>$80,000 to $89,999</font>|<font size='1'>$90,000 to $99,999</font>|<font size='1'>$100,000 to $124,999</font>|<font size='1'>$125,000 to $149,999</font>|<font size='1'>$150,000 to $174,999</font>|<font size='1'>$175,000 to $199,999</font>|<font size='1'>$200,000 to $249,999</font>|<font size='1'>$250,000 to $299,999</font>|<font size='1'>$300,000 to $399,999</font>|<font size='1'>$400,000 to $499,999</font>|<font size='1'>$500,000 to $749,999</font>|<font size='1'>$750,000 to $999,999</font>|<font size='1'>$1,000,000 or More</font>");
var b5 = new bar_chart(24,"<font size='1'>Less than $10,000</font>|<font size='1'>$10,000 to $14,999</font>|<font size='1'>$15,000 to $19,999</font>|<font size='1'>$20,000 to $24,999</font>|<font size='1'>$25,000 to $29,999</font>|<font size='1'>$30,000 to $34,999</font>|<font size='1'>$35,000 to $39,999</font>|<font size='1'>$40,000 to $49,999</font>|<font size='1'>$50,000 to $59,999</font>|<font size='1'>$60,000 to $69,999</font>|<font size='1'>$70,000 to $79,999</font>|<font size='1'>$80,000 to $89,999</font>|<font size='1'>$90,000 to $99,999</font>|<font size='1'>$100,000 to $124,999</font>|<font size='1'>$125,000 to $149,999</font>|<font size='1'>$150,000 to $174,999</font>|<font size='1'>$175,000 to $199,999</font>|<font size='1'>$200,000 to $249,999</font>|<font size='1'>$250,000 to $299,999</font>|<font size='1'>$300,000 to $399,999</font>|<font size='1'>$400,000 to $499,999</font>|<font size='1'>$500,000 to $749,999</font>|<font size='1'>$750,000 to $999,999</font>|<font size='1'>$1,000,000 or More</font>");


b1.add("Costs Not Computed",Math.round(data[0].getAttribute("H97SOOHUIncLT10kHCpctNotComput")),0);
b1.add("Mthly Costs 30% or More of HH Income",Math.round(data[0].getAttribute("H97SOOHUIncLT10kHCGT30pct")),0);
b1.add("Mthly Costs Less Than 30% of HH Income",Math.round(data[0].getAttribute("H97SOOHUIncLT10kHCLT30pct")),0);

b1.add("Costs Not Computed",Math.round(data[0].getAttribute("H97SOOHUInc10to20kHCpctNotComput")),1);
b1.add("Mthly Costs 30% or More of HH Income",Math.round(data[0].getAttribute("H97SOOHUInc10to20kHCGT30pct")),1);
b1.add("Mthly Costs Less Than 30% of HH Income",Math.round(data[0].getAttribute("H97SOOHUInc10to20kHCLT30pct")),1);

b1.add("Costs Not Computed",Math.round(data[0].getAttribute("H97SOOHUInc20to35kRCpctNotComput")),2);
b1.add("Mthly Costs 30% or More of HH Income",Math.round(data[0].getAttribute("H97SOOHUInc20to35kRCGT30pct")),2);
b1.add("Mthly Costs Less Than 30% of HH Income",Math.round(data[0].getAttribute("H97SOOHUInc20to35kRCLT30pct")),2);

b1.add("Costs Not Computed",Math.round(data[0].getAttribute("H97SOOHUInc35to50kRCpctNotComput")),3);
b1.add("Mthly Costs 30% or More of HH Income",Math.round(data[0].getAttribute("H97SOOHUInc35to50kRCGT30pct")),3);
b1.add("Mthly Costs Less Than 30% of HH Income",Math.round(data[0].getAttribute("H97SOOHUInc35to50kRCLT30pct")),3);

b1.add("Costs Not Computed",Math.round(data[0].getAttribute("H97SOOHUInc50to75kRCpctNotComput")),4);
b1.add("Mthly Costs 30% or More of HH Income",Math.round(data[0].getAttribute("H97SOOHUInc50to75kRCGT30pct")),4);
b1.add("Mthly Costs Less Than 30% of HH Income",Math.round(data[0].getAttribute("H97SOOHUInc50to75kRCLT30pct")),4);

b1.add("Costs Not Computed",Math.round(data[0].getAttribute("H97SOOHUInc75to100kRCpctNotComput")),5);
b1.add("Mthly Costs 30% or More of HH Income",Math.round(data[0].getAttribute("H97SOOHUInc75to100kRCGT30pct")),5);
b1.add("Mthly Costs Less Than 30% of HH Income",Math.round(data[0].getAttribute("H97SOOHUInc75to100kRCLT30pct")),5);

b1.add("Costs Not Computed",Math.round(data[0].getAttribute("H97SOOHUInc100to150kRCpctNotComput")),6);
b1.add("Mthly Costs 30% or More of HH Income",Math.round(data[0].getAttribute("H97SOOHUInc100to150kRCGT30pct")),6);
b1.add("Mthly Costs Less Than 30% of HH Income",Math.round(data[0].getAttribute("H97SOOHUInc100to150kRCLT30pct")),6);

b1.add("Costs Not Computed",Math.round(data[0].getAttribute("H97SOOHUIncGT150kRCpctNotComput")),7);
b1.add("Mthly Costs 30% or More of HH Income",Math.round(data[0].getAttribute("H97SOOHUIncGT150kRCGT30pct")),7);
b1.add("Mthly Costs Less Than 30% of HH Income",Math.round(data[0].getAttribute("H97SOOHUIncGT150kRCLT30pct")),7);



b2.add("Costs Not Computed",Math.round(data[0].getAttribute("H97SOOHUIncLT10kHCpctNotComput")),0);
b2.add("Mthly Costs 35% or More of HH Income",Math.round(data[0].getAttribute("H97SOOHUIncLT10kHCGT35pct")),0);
b2.add("Mthly Costs Less Than 35% of HH Income",Math.round(data[0].getAttribute("H97SOOHUIncLT10kHCLT35pct")),0);

b2.add("Costs Not Computed",Math.round(data[0].getAttribute("H97SOOHUInc10to20kHCpctNotComput")),1);
b2.add("Mthly Costs 35% or More of HH Income",Math.round(data[0].getAttribute("H97SOOHUInc10to20kHCGT35pct")),1);
b2.add("Mthly Costs Less Than 35% of HH Income",Math.round(data[0].getAttribute("H97SOOHUInc10to20kHCLT35pct")),1);

b2.add("Costs Not Computed",Math.round(data[0].getAttribute("H97SOOHUInc20to35kRCpctNotComput")),2);
b2.add("Mthly Costs 35% or More of HH Income",Math.round(data[0].getAttribute("H97SOOHUInc20to35kRCGT35pct")),2);
b2.add("Mthly Costs Less Than 35% of HH Income",Math.round(data[0].getAttribute("H97SOOHUInc20to35kRCLT35pct")),2);

b2.add("Costs Not Computed",Math.round(data[0].getAttribute("H97SOOHUInc35to50kRCpctNotComput")),3);
b2.add("Mthly Costs 35% or More of HH Income",Math.round(data[0].getAttribute("H97SOOHUInc35to50kRCGT35pct")),3);
b2.add("Mthly Costs Less Than 35% of HH Income",Math.round(data[0].getAttribute("H97SOOHUInc35to50kRCLT35pct")),3);

b2.add("Costs Not Computed",Math.round(data[0].getAttribute("H97SOOHUInc50to75kRCpctNotComput")),4);
b2.add("Mthly Costs 35% or More of HH Income",Math.round(data[0].getAttribute("H97SOOHUInc50to75kRCGT35pct")),4);
b2.add("Mthly Costs Less Than 35% of HH Income",Math.round(data[0].getAttribute("H97SOOHUInc50to75kRCLT35pct")),4);

b2.add("Costs Not Computed",Math.round(data[0].getAttribute("H97SOOHUInc75to100kRCpctNotComput")),5);
b2.add("Mthly Costs 35% or More of HH Income",Math.round(data[0].getAttribute("H97SOOHUInc75to100kRCGT35pct")),5);
b2.add("Mthly Costs Less Than 35% of HH Income",Math.round(data[0].getAttribute("H97SOOHUInc75to100kRCLT35pct")),5);

b2.add("Costs Not Computed",Math.round(data[0].getAttribute("H97SOOHUInc100to150kRCpctNotComput")),6);
b2.add("Mthly Costs 35% or More of HH Income",Math.round(data[0].getAttribute("H97SOOHUInc100to150kRCGT35pct")),6);
b2.add("Mthly Costs Less Than 35% of HH Income",Math.round(data[0].getAttribute("H97SOOHUInc100to150kRCLT35pct")),6);

b2.add("Costs Not Computed",Math.round(data[0].getAttribute("H97SOOHUIncGT150kRCpctNotComput")),7);
b2.add("Mthly Costs 35% or More of HH Income",Math.round(data[0].getAttribute("H97SOOHUIncGT150kRCGT35pct")),7);
b2.add("Mthly Costs Less Than 35% of HH Income",Math.round(data[0].getAttribute("H97SOOHUIncGT150kRCLT35pct")),7);



b3.add("Percent Not Computed",Math.round(data[0].getAttribute("P77MedFamIncLT30PctPNC")),0);
b3.add("Mthly Costs 30% or More of HH Income",Math.round(data[0].getAttribute("P77MedFamIncLT30PctGT30Pct")),0);
b3.add("Mthly Costs Less Than 30% of HH Income",Math.round(data[0].getAttribute("P77MedFamIncLT30PctLT30Pct")),0);

b3.add("Percent Not Computed",Math.round(data[0].getAttribute("P77MedFamIncLT50PctPNC")),1);
b3.add("Mthly Costs 30% or More of HH Income",Math.round(data[0].getAttribute("P77MedFamIncLT50PctGT30Pct")),1);
b3.add("Mthly Costs Less Than 30% of HH Income",Math.round(data[0].getAttribute("P77MedFamIncLT50PctLT30Pct")),1);

b3.add("Percent Not Computed",Math.round(data[0].getAttribute("P77MedFamIncLT60PctPNC")),2);
b3.add("Mthly Costs 30% or More of HH Income",Math.round(data[0].getAttribute("P77MedFamIncLT60PctGT30Pct")),2);
b3.add("Mthly Costs Less Than 30% of HH Income",Math.round(data[0].getAttribute("P77MedFamIncLT60PctLT30Pct")),2);

b3.add("Percent Not Computed",Math.round(data[0].getAttribute("P77MedFamIncLT80PctPNC")),3);
b3.add("Mthly Costs 30% or More of HH Income",Math.round(data[0].getAttribute("P77MedFamIncLT80PctGT30Pct")),3);
b3.add("Mthly Costs Less Than 30% of HH Income",Math.round(data[0].getAttribute("P77MedFamIncLT80PctLT30Pct")),3);

b3.add("Percent Not Computed",Math.round(data[0].getAttribute("P77MedFamIncLT100PctPNC")),4);
b3.add("Mthly Costs 30% or More of HH Income",Math.round(data[0].getAttribute("P77MedFamIncLT100PctGT30Pct")),4);
b3.add("Mthly Costs Less Than 30% of HH Income",Math.round(data[0].getAttribute("P77MedFamIncLT100PctLT30Pct")),4);

b3.add("Percent Not Computed",Math.round(data[0].getAttribute("P77MedFamIncLT120PctPNC")),5);
b3.add("Mthly Costs 30% or More of HH Income",Math.round(data[0].getAttribute("P77MedFamIncLT120PctGT30Pct")),5);
b3.add("Mthly Costs Less Than 30% of HH Income",Math.round(data[0].getAttribute("P77MedFamIncLT120PctLT30Pct")),5);
                                                             													 
b3.add("Percent Not Computed",Math.round(data[0].getAttribute("P77MedFamIncGT120PctPNC")),6);
b3.add("Mthly Costs 30% or More of HH Income",Math.round(data[0].getAttribute("P77MedFamIncGT120PctGT30Pct")),6);
b3.add("Mthly Costs Less Than 30% of HH Income",Math.round(data[0].getAttribute("P77MedFamIncGT120PctLT30Pct")),6);
  
  
  
b4.add("",Math.round(data[0].getAttribute("H84AllOOHULT10k")),0);
b4.add("",Math.round(data[0].getAttribute("H84AllOOHU10to15k")),1);
b4.add("",Math.round(data[0].getAttribute("H84AllOOHU15to20k")),2);
b4.add("",Math.round(data[0].getAttribute("H84AllOOHU20to25k")),3);
b4.add("",Math.round(data[0].getAttribute("H84AllOOHU25to30k")),4);
b4.add("",Math.round(data[0].getAttribute("H84AllOOHU30to35k")),5);   
b4.add("",Math.round(data[0].getAttribute("H84AllOOHU35to40k")),6);
b4.add("",Math.round(data[0].getAttribute("H84AllOOHU40to50k")),7);
b4.add("",Math.round(data[0].getAttribute("H84AllOOHU50to60k")),8);
b4.add("",Math.round(data[0].getAttribute("H84AllOOHU60to70k")),9);
b4.add("",Math.round(data[0].getAttribute("H84AllOOHU70to80k")),10);
b4.add("",Math.round(data[0].getAttribute("H84AllOOHU80to90k")),11);
b4.add("",Math.round(data[0].getAttribute("H84AllOOHU90to100k")),12);
b4.add("",Math.round(data[0].getAttribute("H84AllOOHU100to125k")),13);
b4.add("",Math.round(data[0].getAttribute("H84AllOOHU125to150k")),14);
b4.add("",Math.round(data[0].getAttribute("H84AllOOHU150to175k")),15);
b4.add("",Math.round(data[0].getAttribute("H84AllOOHU175to200k")),16);
b4.add("",Math.round(data[0].getAttribute("H84AllOOHU200to250k")),17);
b4.add("",Math.round(data[0].getAttribute("H84AllOOHU250to300k")),18);   
b4.add("",Math.round(data[0].getAttribute("H84AllOOHU300to400k")),19);
b4.add("",Math.round(data[0].getAttribute("H84AllOOHU400to500k")),20);
b4.add("",Math.round(data[0].getAttribute("H84AllOOHU500to750k")),21);
b4.add("",Math.round(data[0].getAttribute("H84AllOOHU750to1000k")),22);
b4.add("",Math.round(data[0].getAttribute("H84AllOOHU1000kmore")),23);  
  
  
  
b5.add("",Math.round(data[0].getAttribute("H74OOHULT10k")),0);
b5.add("",Math.round(data[0].getAttribute("H74OOHU10to15k")),1);
b5.add("",Math.round(data[0].getAttribute("H74OOHU15to20k")),2);
b5.add("",Math.round(data[0].getAttribute("H74OOHU20to25k")),3);
b5.add("",Math.round(data[0].getAttribute("H74OOHU25to30k")),4);
b5.add("",Math.round(data[0].getAttribute("H74OOHU30to35k")),5);   
b5.add("",Math.round(data[0].getAttribute("H74OOHU35to40k")),6);
b5.add("",Math.round(data[0].getAttribute("H74OOHU40to50k")),7);
b5.add("",Math.round(data[0].getAttribute("H74OOHU50to60k")),8);
b5.add("",Math.round(data[0].getAttribute("H74OOHU60to70k")),9);
b5.add("",Math.round(data[0].getAttribute("H74OOHU70to80k")),10);
b5.add("",Math.round(data[0].getAttribute("H74OOHU80to90k")),11);
b5.add("",Math.round(data[0].getAttribute("H74OOHU90to100k")),12);
b5.add("",Math.round(data[0].getAttribute("H74OOHU100to125k")),13);
b5.add("",Math.round(data[0].getAttribute("H74OOHU125to150k")),14);
b5.add("",Math.round(data[0].getAttribute("H74OOHU150to175k")),15);
b5.add("",Math.round(data[0].getAttribute("H74OOHU175to200k")),16);
b5.add("",Math.round(data[0].getAttribute("H74OOHU200to250k")),17);
b5.add("",Math.round(data[0].getAttribute("H74OOHU250to300k")),18);   
b5.add("",Math.round(data[0].getAttribute("H74OOHU300to400k")),19);
b5.add("",Math.round(data[0].getAttribute("H74OOHU400to500k")),20);
b5.add("",Math.round(data[0].getAttribute("H74OOHU500to750k")),21);
b5.add("",Math.round(data[0].getAttribute("H74OOHU750to1000k")),22);
b5.add("",Math.round(data[0].getAttribute("H74OOHU1000kmore")),23);    
  
  
		  document.getElementById("page1").innerHTML = html1;	  
		  	  b1.build("graph1","Owner Households",600,8,25); 
			  
		  document.getElementById("page2").innerHTML = html2;	
		  	  b2.build("graph2","Owner Households",600,8,25);			  
			  			  
		  document.getElementById("page3").innerHTML = html3;  
		  
		  document.getElementById("page4").innerHTML = html4;	  
		  	  b3.build("graph3","Owner Households",600,8,45); 
			  
		  document.getElementById("page5").innerHTML = html5; 			  
			  
		  document.getElementById("page6").innerHTML = html6;	  
		  	  b4.build("graph4","<br />Owner Occupied Housing Units",280,5,21,"",100); 			  
			  
		  document.getElementById("page7").innerHTML = html7;	  
		  	  b4.build("graph5","Specified Owner Occupied Housing Units",280,5,22,"",100); 				  
}			  
		  document.getElementById("pwait").innerHTML = ""; 
               }
            }
        };
        xmlhttp.send(null); 
    }
}

