function addFilters(set) {
	// Foundations
	if (set.id == 58750 || set.id == 61100) {
		var f0 = new PAttributeFilter("Foundation", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "org", PAttribute.STRING);
		var f01 = new PAttributeFilter("Foundation", ["Lincoln Financial Foundation"], PAttributeFilter.EQUALS, "Lincoln Financial Foundation", "org", PAttribute.STRING);
		var f02 = new PAttributeFilter("Foundation", ["Nonprofit Finance Fund"], PAttributeFilter.EQUALS, "Nonprofit Finance Fund", "org", PAttribute.STRING);
		var f03 = new PAttributeFilter("Foundation", ["Prudential Foundation"], PAttributeFilter.EQUALS, "Prudential Foundation", "org", PAttribute.STRING);
		var f04 = new PAttributeFilter("Foundation", ["The Philadelphia Foundation"], PAttributeFilter.EQUALS, "The Philadelphia Foundation", "org", PAttribute.STRING);
		var f05 = new PAttributeFilter("Foundation", ["Union Benevolent Association"], PAttributeFilter.EQUALS, "Union Benevolent Association", "org", PAttribute.STRING);
		var f06 = new PAttributeFilter("Foundation", ["United Way of SEPA"], PAttributeFilter.EQUALS, "United Way of SEPA", "org", PAttribute.STRING);
		var f07 = new PAttributeFilter("Foundation", ["Wachovia Regional Foundation"], PAttributeFilter.EQUALS, "Wachovia Regional Foundation", "org", PAttribute.STRING);
		var f08 = new PAttributeFilter("Foundation", ["William Penn Foundation"], PAttributeFilter.EQUALS, "William Penn Foundation", "org", PAttribute.STRING);
		var f101 = new PAttributeFilter("Type of Investment", ["Arts and Culture"], PAttributeFilter.EQUAL, "Arts and Culture", "issue", PAttribute.STRING);
		var f102 = new PAttributeFilter("Type of Investment", ["Basic Needs"], PAttributeFilter.EQUAL, "Basic Needs", "issue", PAttribute.STRING);
		var f103 = new PAttributeFilter("Type of Investment", ["Community Economic Development"], PAttributeFilter.EQUAL, "Community Economic Development", "issue", PAttribute.STRING);
		var f104 = new PAttributeFilter("Type of Investment", ["Consumer Services"], PAttributeFilter.EQUAL, "Consumer Services", "issue", PAttribute.STRING);
		var f105 = new PAttributeFilter("Type of Investment", ["Counseling and Mental Health Care"], PAttributeFilter.EQUAL, "Counseling and Mental Health Care", "issue", PAttribute.STRING);
		var f106 = new PAttributeFilter("Type of Investment", ["Disaster Preparedness"], PAttributeFilter.EQUAL, "Disaster Preparedness", "issue", PAttribute.STRING);
		var f107 = new PAttributeFilter("Type of Investment", ["Education"], PAttributeFilter.EQUAL, "Education", "issue", PAttribute.STRING);
		var f108 = new PAttributeFilter("Type of Investment", ["Employment and Employment Training"], PAttributeFilter.EQUAL, "Employment and Employment Training", "issue", PAttribute.STRING);
		var f109 = new PAttributeFilter("Type of Investment", ["Environment"], PAttributeFilter.EQUAL, "Environment", "issue", PAttribute.STRING);
		var f110 = new PAttributeFilter("Type of Investment", ["Financial Assets Management"], PAttributeFilter.EQUAL, "Financial Assets Management", "issue", PAttribute.STRING);
		var f111 = new PAttributeFilter("Type of Investment", ["Health and Health Care"], PAttributeFilter.EQUAL, "Health and Health Care", "issue", PAttribute.STRING);
		var f112 = new PAttributeFilter("Type of Investment", ["Housing"], PAttributeFilter.EQUAL, "Housing", "issue", PAttribute.STRING);
		var f113 = new PAttributeFilter("Type of Investment", ["Individual and Family Life Enrichment/Recreation"], PAttributeFilter.EQUAL, "Individual and Family Life Enrichment/Recreation", "issue", PAttribute.STRING);
		var f114 = new PAttributeFilter("Type of Investment", ["Legal System and Services"], PAttributeFilter.EQUAL, "Legal System and Services", "issue", PAttribute.STRING);
		var f115 = new PAttributeFilter("Type of Investment", ["Neighborhood Revitalization"], PAttributeFilter.EQUAL, "Neighborhood Revitalization", "issue", PAttribute.STRING);
		var f116 = new PAttributeFilter("Type of Investment", ["Other/Not Specified"], PAttributeFilter.EQUAL, "Other/Not Specified", "issue", PAttribute.STRING);
		var f201 = new PAttributeFilter("Year of Investment", ["2000"], PAttributeFilter.EQUAL, "2000", "startyear", PAttribute.STRING);
		var f202 = new PAttributeFilter("Year of Investment", ["2001"], PAttributeFilter.EQUAL, "2001", "startyear", PAttribute.STRING);
		var f203 = new PAttributeFilter("Year of Investment", ["2002"], PAttributeFilter.EQUAL, "2002", "startyear", PAttribute.STRING);
		var f204 = new PAttributeFilter("Year of Investment", ["2003"], PAttributeFilter.EQUAL, "2003", "startyear", PAttribute.STRING);
		var f205 = new PAttributeFilter("Year of Investment", ["2004"], PAttributeFilter.EQUAL, "2004", "startyear", PAttribute.STRING);
		var f206 = new PAttributeFilter("Year of Investment", ["2005"], PAttributeFilter.EQUAL, "2005", "startyear", PAttribute.STRING);
		var f207 = new PAttributeFilter("Year of Investment", ["2006"], PAttributeFilter.EQUAL, "2006", "startyear", PAttribute.STRING);
		var f208 = new PAttributeFilter("Year of Investment", ["2007"], PAttributeFilter.EQUAL, "2007", "startyear", PAttribute.STRING);
		set.setDisplayFilters([f0,f01,f02,f03,f04,f05,f06,f07,f08,f101,f102,f103,f104,f105,f106,f107,f108,f109,f110,f111,f112,f113,f114,f115,f201,f202,f203,f204,f205,f206,f207,f208]);
			
	// PA State Housing Finance Agencies
	} else if (set.id == 53550) {
		var f0 = new PAttributeFilter("Year of Expiration", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "expdte", PAttribute.STRING);
		var f1 = new PAttributeFilter("Year of Expiration", [1997,2006], PAttributeFilter.RANGE, "1997 - 2006", "expdte", PAttribute.NUMBER);
		var f2 = new PAttributeFilter("Year of Expiration", [2007,2016], PAttributeFilter.RANGE, "2007 - 2016", "expdte", PAttribute.NUMBER);
		var f3 = new PAttributeFilter("Year of Expiration", [2017,2026], PAttributeFilter.RANGE, "2017 - 2026", "expdte", PAttribute.NUMBER);
		var f4 = new PAttributeFilter("Year of Expiration", [2027,2036], PAttributeFilter.RANGE, "2027 - 2036", "expdte", PAttribute.NUMBER);
		var f201 = new PAttributeFilter("Number of Units", [0,10], PAttributeFilter.RANGE, "Less than 10", "tunt", PAttribute.NUMBER);
		var f202 = new PAttributeFilter("Number of Units", [11,50], PAttributeFilter.RANGE, "11 - 50", "tunt", PAttribute.NUMBER);
		var f203 = new PAttributeFilter("Number of Units", [51,300], PAttributeFilter.RANGE, "51 and more", "tunt", PAttribute.NUMBER);
		set.setDisplayFilters([f0,f1,f2,f3,f4,f201,f202,f203]);
	// TRF
	} else if (set.id == 84350) {
		var f0 = new PAttributeFilter("Project Type", ["Arts/Cultural"], PAttributeFilter.EQUAL, "Arts & Culture", "project_type", PAttribute.STRING);
		var f1 = new PAttributeFilter("Project Type", ["Business Services"], PAttributeFilter.EQUAL, "Business Services", "project_type", PAttribute.STRING);
		var f2 = new PAttributeFilter("Project Type", ["Charter School"], PAttributeFilter.EQUAL, "Charter School", "project_type", PAttribute.STRING);
		var f3 = new PAttributeFilter("Project Type", ["Child Care"], PAttributeFilter.EQUAL, "Child Care", "project_type", PAttribute.STRING);
		var f4 = new PAttributeFilter("Project Type", ["Contractor"], PAttributeFilter.EQUAL, "Contractor", "project_type", PAttribute.STRING);
		var f5 = new PAttributeFilter("Project Type", ["FFFI Grocery Store"], PAttributeFilter.EQUAL, "Grocery Store (FFFI)", "project_type", PAttribute.STRING);
		var f6 = new PAttributeFilter("Project Type", ["Healthcare - Other"], PAttributeFilter.EQUAL, "Healthcare (Other)", "project_type", PAttribute.STRING);
		var f7 = new PAttributeFilter("Project Type", ["Housing"], PAttributeFilter.EQUAL, "Housing", "project_type", PAttribute.STRING);
		var f8 = new PAttributeFilter("Project Type", ["Job Training"], PAttributeFilter.EQUAL, "Job Training", "project_type", PAttribute.STRING);
		var f9 = new PAttributeFilter("Project Type", ["Manufacturing"], PAttributeFilter.EQUAL, "Manufacturing", "project_type", PAttribute.STRING);
		var f10 = new PAttributeFilter("Project Type", ["Mixed Use Real Estate"], PAttributeFilter.EQUAL, "Mixed Use Real Estate", "project_type", PAttribute.STRING);
		var f11 = new PAttributeFilter("Project Type", ["Retail"], PAttributeFilter.EQUAL, "Retail", "project_type", PAttribute.STRING);
		var f12 = new PAttributeFilter("Project Type", ["Social Services - Other"], PAttributeFilter.EQUAL, "Other Social Services", "project_type", PAttribute.STRING);
		var f13 = new PAttributeFilter("Project Type", ["Other"], PAttributeFilter.EQUAL, "Other", "project_type", PAttribute.STRING);
		var f101 = new PAttributeFilter("Line Of Business", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "lineofbusiness", PAttribute.STRING);
		var f102 = new PAttributeFilter("Line Of Business", ["Commercial Real Estate"], PAttributeFilter.EQUAL, "Commercial Real Estate", "lineofbusiness", PAttribute.STRING);
		var f103 = new PAttributeFilter("Line Of Business", ["Community Facilities"], PAttributeFilter.EQUAL, "Community Facilities", "lineofbusiness", PAttribute.STRING);
		var f104 = new PAttributeFilter("Line Of Business", ["Energy"], PAttributeFilter.EQUAL, "Energy", "lineofbusiness", PAttribute.STRING);
		var f105 = new PAttributeFilter("Line Of Business", ["Energy Grant"], PAttributeFilter.EQUAL, "Energy Grant", "lineofbusiness", PAttribute.STRING);
		var f106 = new PAttributeFilter("Line Of Business", ["Housing"], PAttributeFilter.EQUAL, "Housing", "lineofbusiness", PAttribute.STRING);
		var f107 = new PAttributeFilter("Line Of Business", ["NDS Grant"], PAttributeFilter.EQUAL, "NDS Grant", "lineofbusiness", PAttribute.STRING);
		var f108 = new PAttributeFilter("Line Of Business", ["Private Equity"], PAttributeFilter.EQUAL, "Private Equity", "lineofbusiness", PAttribute.STRING);
		var f109 = new PAttributeFilter("Line Of Business", ["Small Business"], PAttributeFilter.EQUAL, "Small Business", "lineofbusiness", PAttribute.STRING);
		var f110 = new PAttributeFilter("Line Of Business", ["Supermarket Grant"], PAttributeFilter.EQUAL, "Supermarket Grant", "lineofbusiness", PAttribute.STRING);
		var f111 = new PAttributeFilter("Line Of Business", ["Workforce Grant"], PAttributeFilter.EQUAL, "Workforce Grant", "lineofbusiness", PAttribute.STRING);
		var f201 = new PAttributeFilter("Investment Amount", [0, 250000], PAttributeFilter.RANGE, "$250,000 or less", "totalloanamount", PAttribute.NUMBER);
		var f202 = new PAttributeFilter("Investment Amount", [250001,500000], PAttributeFilter.RANGE, "$250,001 - $500,000", "totalloanamount", PAttribute.NUMBER);
		var f203 = new PAttributeFilter("Investment Amount", [500001,1000000], PAttributeFilter.RANGE, "$500,001 - $1,000,000", "totalloanamount", PAttribute.NUMBER);
		var f204 = new PAttributeFilter("Investment Amount", [1000001,5000000], PAttributeFilter.RANGE, "$1,000,001 - $5,000,000", "totalloanamount", PAttribute.NUMBER);
		var f205 = new PAttributeFilter("Investment Amount", [5000001,10000000], PAttributeFilter.RANGE, "$5,000,001 - $10,000,000", "totalloanamount", PAttribute.NUMBER);
		var f206 = new PAttributeFilter("Investment Amount", [10000001,17000000], PAttributeFilter.RANGE, "Over $10,000,000", "totalloanamount", PAttribute.NUMBER);
		var f301 = new PAttributeFilter("Fiscal Year", [2000], PAttributeFilter.EQUAL, "2000", "fy", PAttribute.NUMBER);
		var f302 = new PAttributeFilter("Fiscal Year", [2001], PAttributeFilter.EQUAL, "2001", "fy", PAttribute.NUMBER);
		var f303 = new PAttributeFilter("Fiscal Year", [2002], PAttributeFilter.EQUAL, "2002", "fy", PAttribute.NUMBER);
		var f304 = new PAttributeFilter("Fiscal Year", [2003], PAttributeFilter.EQUAL, "2003", "fy", PAttribute.NUMBER);
		var f305 = new PAttributeFilter("Fiscal Year", [2004], PAttributeFilter.EQUAL, "2004", "fy", PAttribute.NUMBER);
		var f306 = new PAttributeFilter("Fiscal Year", [2005], PAttributeFilter.EQUAL, "2005", "fy", PAttribute.NUMBER);
		var f307 = new PAttributeFilter("Fiscal Year", [2006], PAttributeFilter.EQUAL, "2006", "fy", PAttribute.NUMBER);
		var f308 = new PAttributeFilter("Fiscal Year", [2007], PAttributeFilter.EQUAL, "2007", "fy", PAttribute.NUMBER);
		var f309 = new PAttributeFilter("Fiscal Year", [2008], PAttributeFilter.EQUAL, "2008", "fy", PAttribute.NUMBER);
		var f310 = new PAttributeFilter("Fiscal Year", [2009], PAttributeFilter.EQUAL, "2009", "fy", PAttribute.NUMBER);
		var f401 = new PAttributeFilter("NMTC Status", ["TRF NMTC"], PAttributeFilter.EQUAL, "TRF NMTC", "nmtc_trans", PAttribute.STRING);
		var f402 = new PAttributeFilter("NMTC Status", ["Non-TRF NMTC"], PAttributeFilter.EQUAL, "Non-TRF NMTC", "nmtc_trans", PAttribute.STRING);
		var f403 = new PAttributeFilter("NMTC Status", ["Non-NMTC", ""], PAttributeFilter.EQUAL, "Not NMTC", "nmtc_trans", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f11,f12,f13,f101,f102,f103,f104,f105,f106,f107,f108,f109,f110,f111,f201,f202,f203,f204,f205,f206,f301,f302,f303,f304,f305,f306,f307,f308,f309,f310,f401,f402,f403]);
	// GBofP of the United Methodist Church
	} else if (set.id == 80150) {
		var years = [];
		years = ["/1990","/1991","/1992","/1993","/1994","/1995","/1996","/1997","/1998","/1999","/2000"];
		var f1 = new PAttributeFilter("Date of Issuance", years, PAttributeFilter.RANGE, "1990 - 2000", "issue_date", PAttribute.STRING);
		years = ["/2001\\0", "/2002\\0", "/2003\\0", "/2004\\0"];
		var f2 = new PAttributeFilter("Date of Issuance", years, PAttributeFilter.RANGE, "2001 - 2004", "issue_date", PAttribute.STRING);
		years = [];
		for (var i=5; i<10; i++)
			years.push("/200" + i + "\\0");
		for (var i=10; i<20; i++)
			years.push("/20" + i + "\\0");
		var f3 = new PAttributeFilter("Date of Issuance", years, PAttributeFilter.RANGE, "2005 and later", "issue_date", PAttribute.STRING);
		var matyears = [];
		matyears = ["/2008\\0", "/2009\\0"];
		for (var i=10; i<16; i++)
			matyears.push("/20" + i + "\\0");
		var f101 = new PAttributeFilter("Maturity Date", matyears, PAttributeFilter.RANGE, "2008 - 2015", "mat_date", PAttribute.STRING);
		matyears = [];
		for (var i=16; i<23; i++)
			matyears.push("/20" + i + "\\0");
		var f102 = new PAttributeFilter("Maturity Date", matyears, PAttributeFilter.RANGE, "2016 - 2022", "mat_date", PAttribute.STRING);
		matyears = [];
		for (var i=23; i<29; i++)
			matyears.push("/20" + i + "\\0");
		var f103 = new PAttributeFilter("Maturity Date", matyears, PAttributeFilter.RANGE, "2023 - 2028", "mat_date", PAttribute.STRING);
		matyears = [];
		for (var i=29; i<50; i++)
			matyears.push("/20" + i + "\\0");
		var f104 = new PAttributeFilter("Maturity Date", matyears, PAttributeFilter.RANGE, "2029 and later", "mat_date", PAttribute.STRING);
		var f201 = new PAttributeFilter("Geographic Location", ["East"], PAttributeFilter.EQUAL, "East", "geo_loc", PAttribute.STRING);
		var f202 = new PAttributeFilter("Geographic Location", ["Midwest"], PAttributeFilter.EQUAL, "Midwest", "geo_loc", PAttribute.STRING);
		var f203 = new PAttributeFilter("Geographic Location", ["South"], PAttributeFilter.EQUAL, "South", "geo_loc", PAttribute.STRING);
		var f204 = new PAttributeFilter("Geographic Location", ["West"], PAttributeFilter.EQUAL, "West", "geo_loc", PAttribute.STRING);
		var f301 = new PAttributeFilter("Intermediary", ["CDT"], PAttributeFilter.EQUAL, "CDT", "intermed", PAttribute.STRING);
		var f302 = new PAttributeFilter("Intermediary", ["CIC"], PAttributeFilter.EQUAL, "CIC", "intermed", PAttribute.STRING);
		var f303 = new PAttributeFilter("Intermediary", ["CPC"], PAttributeFilter.EQUAL, "CPC", "intermed", PAttribute.STRING);
		var f304 = new PAttributeFilter("Intermediary", ["CRF"], PAttributeFilter.EQUAL, "CRF", "intermed", PAttribute.STRING);
		var f305 = new PAttributeFilter("Intermediary", ["DCIC"], PAttributeFilter.EQUAL, "DCIC", "intermed", PAttribute.STRING);
		var f306 = new PAttributeFilter("Intermediary", ["EMI"], PAttributeFilter.EQUAL, "EMI", "intermed", PAttribute.STRING);
		var f307 = new PAttributeFilter("Intermediary", ["GLCF"], PAttributeFilter.EQUAL, "GLCF", "intermed", PAttribute.STRING);
		var f308 = new PAttributeFilter("Intermediary", ["LIIF"], PAttributeFilter.EQUAL, "LIIF", "intermed", PAttribute.STRING);
		var f309 = new PAttributeFilter("Intermediary", ["MLF"], PAttributeFilter.EQUAL, "MLF", "intermed", PAttribute.STRING);
		var f310 = new PAttributeFilter("Intermediary", ["MMF"], PAttributeFilter.EQUAL, "MMF", "intermed", PAttribute.STRING);
		var f311 = new PAttributeFilter("Intermediary", ["NCBCI"], PAttributeFilter.EQUAL, "NCBCI", "intermed", PAttribute.STRING);
		var f312 = new PAttributeFilter("Intermediary", ["SFS"], PAttributeFilter.EQUAL, "SFS", "intermed", PAttribute.STRING);
		var f313 = new PAttributeFilter("Intermediary", ["TRF"], PAttributeFilter.EQUAL, "TRF", "intermed", PAttribute.STRING);
		var f401 = new PAttributeFilter("Investment Amount", [0,499999], PAttributeFilter.RANGE, "Less than $500,000", "investment_amt", PAttribute.NUMBER);
		var f402 = new PAttributeFilter("Investment Amount", [500000,999999], PAttributeFilter.RANGE, "$500,000 - $999,999", "investment_amt", PAttribute.NUMBER);
		var f403 = new PAttributeFilter("Investment Amount", [1000000,1999999], PAttributeFilter.RANGE, "$1,000,000 - $1,999,999", "investment_amt", PAttribute.NUMBER);
		var f404 = new PAttributeFilter("Investment Amount", [2000000, 100000000], PAttributeFilter.RANGE, "$2,000,000 and more", "investment_amt", PAttribute.NUMBER);
		var f501 = new PAttributeFilter("Property Type", ["Charter School"], PAttributeFilter.EQUAL, "Charter School", "prop_type", PAttribute.STRING);
		var f502 = new PAttributeFilter("Property Type", ["Commercial"], PAttributeFilter.EQUAL, "Commercial", "prop_type", PAttribute.STRING);
		var f503 = new PAttributeFilter("Property Type", ["Community Facility"], PAttributeFilter.EQUAL, "Community Facility", "prop_type", PAttribute.STRING);
		var f504 = new PAttributeFilter("Property Type", ["Multifamily"], PAttributeFilter.EQUAL, "Multifamily", "prop_type", PAttribute.STRING);
		var f505 = new PAttributeFilter("Property Type", ["Senior"], PAttributeFilter.EQUAL, "Senior", "prop_type", PAttribute.STRING);
		var f506 = new PAttributeFilter("Property Type", ["Single Family"], PAttributeFilter.EQUAL, "Single Family", "prop_type", PAttribute.STRING);
		set.setDisplayFilters([f1,f2,f3,f101,f102,f103,f104,f201,f202,f203,f204,f301,f302,f303,f304,f305,f306,f307,f308,f309,f310,f311,f312,f313,f401,f402,f403,f404,f501,f502,f503,f504,f505,f506]);
        // HUD MF
        } else if (set.id == 83000) {
		var f0 = new PAttributeFilter("Contract Status", ["Active"], PAttributeFilter.RANGE, "Active", "cstatus", PAttribute.STRING);
		var f1 = new PAttributeFilter("Contract Status", ["Executed"], PAttributeFilter.RANGE, "Executed", "cstatus", PAttribute.STRING);
		var f2 = new PAttributeFilter("Contract Status", ["Pending"], PAttributeFilter.RANGE, "Pending", "cstatus", PAttribute.STRING);
		var f3 = new PAttributeFilter("Contract Status", ["Suspended"], PAttributeFilter.RANGE, "Suspended", "cstatus", PAttribute.STRING);
		var f4 = new PAttributeFilter("Contract Status", ["Expired"], PAttributeFilter.RANGE, "Expired", "cstatus", PAttribute.STRING);
		var f5 = new PAttributeFilter("Contract Status", ["Terminated"], PAttributeFilter.RANGE, "Terminated", "cstatus", PAttribute.STRING);
		var f101 = new PAttributeFilter("Program Type", ["Other S8 New"], PAttributeFilter.RANGE, "Other Section 8 New", "cprogtype", PAttribute.STRING);
		var f102 = new PAttributeFilter("Program Type", ["Other S8 Rehab"], PAttributeFilter.RANGE, "Other Section 8 Rehab", "cprogtype", PAttribute.STRING);
		var f103 = new PAttributeFilter("Program Type", ["PAC 202/811"], PAttributeFilter.RANGE, "Project Assistance Contract (PAC)", "cprogtype", PAttribute.STRING);
		var f104 = new PAttributeFilter("Program Type", ["PRAC 202/811"], PAttributeFilter.RANGE, "202/811 Project Rental Assistance Contract (PRAC)", "cprogtype", PAttribute.STRING);
		var f105 = new PAttributeFilter("Program Type", ["Rent Supplement"], PAttributeFilter.RANGE, "Rent Supplement", "cprogtype", PAttribute.STRING);
		var f106 = new PAttributeFilter("Program Type", ["S8 FmHA"], PAttributeFilter.RANGE, "Section 8 Farmers Home Administration (FmHA)", "cprogtype", PAttribute.STRING);
		var f107 = new PAttributeFilter("Program Type", ["S8 Loan Mgmt"], PAttributeFilter.RANGE, "Section 8 Loan Management", "cprogtype", PAttribute.STRING);
		var f108 = new PAttributeFilter("Program Type", ["S8 Preservation"], PAttributeFilter.RANGE, "Section 8 Preservation", "cprogtype", PAttribute.STRING);
		var f109 = new PAttributeFilter("Program Type", ["S8 Prop. Disp."], PAttributeFilter.RANGE, "Section 8 Property Disposition", "cprogtype", PAttribute.STRING);
		var f110 = new PAttributeFilter("Program Type", ["S8 State Agency"], PAttributeFilter.RANGE, "Section 8 State Agency", "cprogtype", PAttribute.STRING);
		var f111 = new PAttributeFilter("Program Type", ["Sec. 202"], PAttributeFilter.RANGE, "Section 202", "cprogtype", PAttribute.STRING);
		var f112 = new PAttributeFilter("Program Type", ["Sec. 236 RAP"], PAttributeFilter.RANGE, "Section 236 Rental Assistance Payment (RAP)", "cprogtype", PAttribute.STRING);
		var f113 = new PAttributeFilter("Program Type", ["Service Coordinator"], PAttributeFilter.RANGE, "Service Coordinator", "cprogtype", PAttribute.STRING);
		var f201 = new PAttributeFilter("Total Units", [0,20], PAttributeFilter.RANGE, "20 or fewer", "tot_units", PAttribute.NUMBER);
		var f202 = new PAttributeFilter("Total Units", [21,50], PAttributeFilter.RANGE, "21-50", "tot_units", PAttribute.NUMBER);
		var f203 = new PAttributeFilter("Total Units", [51,100], PAttributeFilter.RANGE, "51-100", "tot_units", PAttribute.NUMBER);
		var f204 = new PAttributeFilter("Total Units", [101,5881], PAttributeFilter.RANGE, "101 or more", "tot_units", PAttribute.NUMBER);
		var f301 = new PAttributeFilter("Owner Company Type", ["Non-Profit"], PAttributeFilter.EQUAL, "Non-Profit", "owner_company_type", PAttribute.STRING);
		var f302 = new PAttributeFilter("Owner Company Type", ["Profit Motivated"], PAttributeFilter.EQUAL, "Profit Motivated", "owner_company_type", PAttribute.STRING);
		var f303 = new PAttributeFilter("Owner Company Type", ["Limited Dividend"], PAttributeFilter.EQUAL, "Limited Dividend", "owner_company_type", PAttribute.STRING);
		var f304 = new PAttributeFilter("Owner Company Type", ["Other"], PAttributeFilter.EQUAL, "Other", "owner_company_type", PAttribute.STRING);
		var years = ["/1998\\0","/1999\\0"];
		for (var i=0; i<9; i++)
		        years.push("/200" + i + "\\0");
		var f401 = new PAttributeFilter("Earliest Contract Expiration Date", years, PAttributeFilter.RANGE, "1998-2008", "propexpiry", PAttribute.STRING);
		var f402 = new PAttributeFilter("Earliest Contract Expiration Date", ["/2009\\0","/2010\\0"], PAttributeFilter.RANGE, "2009-2010", "propexpiry", PAttribute.STRING);
		var f403 = new PAttributeFilter("Earliest Contract Expiration Date", ["/2011\\0","/2012\\0","/2013\\0"], PAttributeFilter.RANGE, "2011-2013", "propexpiry", PAttribute.STRING);
		var years = [];
		for (var i=14; i<46; i++)
		        years.push("/20" + i + "\\0");
		var f404 = new PAttributeFilter("Earliest Contract Expiration Date", years, PAttributeFilter.RANGE, "2014-2045", "propexpiry", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f2,f3,f4,f5,f101,f102,f103,f104,f105,f106,f107,f108,f109,f110,f111,f112,f113,f201,f202,f203,f204,f301,f302,f303,f304,f401,f402,f403,f404]);
	// Public Housing
	} else if (set.id == 60600) {
		var f0 = new PAttributeFilter("Number of Units", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "totalunits", PAttribute.STRING);
		var f1 = new PAttributeFilter("Number of Units", [0,10], PAttributeFilter.RANGE, "Less than 10", "totalunits", PAttribute.NUMBER);
		var f2 = new PAttributeFilter("Number of Units", [11,50], PAttributeFilter.RANGE, "11 - 50", "totalunits", PAttribute.NUMBER);
		var f3 = new PAttributeFilter("Number of Units", [51,100], PAttributeFilter.RANGE, "51 - 100", "totalunits", PAttribute.NUMBER);
		var f4 = new PAttributeFilter("Number of Units", [101,200], PAttributeFilter.RANGE, "101 - 200", "totalunits", PAttribute.NUMBER);
		var f5 = new PAttributeFilter("Number of Units", [201,5000], PAttributeFilter.RANGE, "201 and more", "totalunits", PAttribute.NUMBER);
		set.setDisplayFilters([f0,f1,f2,f3,f4,f5]);
	//Stewards of Affordable Housing for the Future
	} else if (set.id == 86150) {
		var f0 = new PAttributeFilter("Number of Units", [0, 29], PAttributeFilter.RANGE, "Less than 30", "units", PAttribute.NUMBER);
		var f1 = new PAttributeFilter("Number of Units", [30, 49], PAttributeFilter.RANGE, "30 - 49", "units", PAttribute.NUMBER);
		var f2 = new PAttributeFilter("Number of Units", [50, 59], PAttributeFilter.RANGE, "50 - 59", "units", PAttribute.NUMBER);
		var f3 = new PAttributeFilter("Number of Units", [60, 99], PAttributeFilter.RANGE, "60 - 99", "units", PAttribute.NUMBER);
		var f4 = new PAttributeFilter("Number of Units", [100, 5000], PAttributeFilter.RANGE, "100 and more", "units", PAttribute.NUMBER);
		var f101 = new PAttributeFilter("Occupancy", ["Elderly","Senior","Assisted Living"], PAttributeFilter.EQUAL, "Elderly, Senior, or Assisted Living", "primaryoccupancy", PAttribute.STRING);
		var f102 = new PAttributeFilter("Occupancy", ["Family"], PAttributeFilter.EQUAL, "Family", "primaryoccupancy", PAttribute.STRING);
		var f103 = new PAttributeFilter("Occupancy", ["Special Needs"], PAttributeFilter.EQUAL, "Special Needs", "primaryoccupancy", PAttribute.STRING);
		var f104 = new PAttributeFilter("Occupancy", ["Transitional"], PAttributeFilter.EQUAL, "Transitional", "primaryoccupancy", PAttribute.STRING);
		var f201 = new PAttributeFilter("Sponsor", ["Mercy"], PAttributeFilter.EQUAL, "Mercy", "sponsor", PAttribute.STRING);
		var f202 = new PAttributeFilter("Sponsor", ["NAHT"], PAttributeFilter.EQUAL, "NAHT", "sponsor", PAttribute.STRING);
		var f203 = new PAttributeFilter("Sponsor", ["NCR"], PAttributeFilter.EQUAL, "NCR", "sponsor", PAttribute.STRING);
		var f204 = new PAttributeFilter("Sponsor", ["NHT/E"], PAttributeFilter.EQUAL, "NHT/E", "sponsor", PAttribute.STRING);
		var f205 = new PAttributeFilter("Sponsor", ["POAH"], PAttributeFilter.EQUAL, "POAH", "sponsor", PAttribute.STRING);
		var f206 = new PAttributeFilter("Sponsor", ["RHF"], PAttributeFilter.EQUAL, "RHF", "sponsor", PAttribute.STRING);
		var f207 = new PAttributeFilter("Sponsor", ["VOA"], PAttributeFilter.EQUAL, "VOA", "sponsor", PAttribute.STRING);
		var f208 = new PAttributeFilter("Sponsor", ["NHP"], PAttributeFilter.EQUAL, "NHP", "sponsor", PAttribute.STRING);
		var f209 = new PAttributeFilter("Sponsor", ["The Society"], PAttributeFilter.EQUAL, "The Society", "sponsor", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f2,f3,f4,f101,f102,f103,f104,f201,f202,f203,f204,f205,f206,f207,f208,f209]);
	//NJ Housing Mortgage Finance Agency (HMFA)
	} else if (set.id == 75200) {
		var f0 = new PAttributeFilter("Subsidy Program", ["HMFA Multifamily"], PAttributeFilter.EQUAL, "Multifamily", "fund_prog1", PAttribute.STRING);
		var f1 = new PAttributeFilter("Subsidy Program", ["LIHTC"], PAttributeFilter.EQUAL, "LIHTC", "fund_prog2", PAttribute.STRING);
		var f2 = new PAttributeFilter("Subsidy Program", ["Section 8"], PAttributeFilter.EQUAL, "Section 8", "fund_prog3", PAttribute.STRING);
		var f3 = new PAttributeFilter("Subsidy Program", ["Section 8/202"], PAttributeFilter.EQUAL, "Section 8/Section 202", "fund_prog3", PAttribute.STRING);
		var f4 = new PAttributeFilter("Subsidy Program", ["Section 8/236"], PAttributeFilter.EQUAL, "Section 8/Section 236", "fund_prog3", PAttribute.STRING);
		var f5 = new PAttributeFilter("Subsidy Program", ["Section 8/236/202"], PAttributeFilter.EQUAL, "Section 8/Section 202/Section 236", "fund_prog3", PAttribute.STRING);
		var years = [];
		for (var i=34; i<100; i++)
			years.push("/19" + i);
		for (var i=0; i<9; i++)
			years.push("/200" + i);		
		var f101 = new PAttributeFilter("Year of Expiration", years, PAttributeFilter.RANGE, "2008 or earlier", "earliestdeedexpiry", PAttribute.STRING);
		var f102 = new PAttributeFilter("Year of Expiration", [2009,2010], PAttributeFilter.RANGE, "2009 - 2010", "earliestdeedexpiry", PAttribute.STRING);
		var f103 = new PAttributeFilter("Year of Expiration", [2011,2012,2013,2014,2015], PAttributeFilter.RANGE, "2011 - 2015", "earliestdeedexpiry", PAttribute.STRING);
		var f104 = new PAttributeFilter("Year of Expiration", [2016,2017,2018,2019,2020], PAttributeFilter.RANGE, "2016 - 2020", "earliestdeedexpiry", PAttribute.STRING);
		var f105 = new PAttributeFilter("Year of Expiration", [2021,2022,2023,2024,2025], PAttributeFilter.RANGE, "2021 - 2025", "earliestdeedexpiry", PAttribute.STRING);
		var years = [];
		for (var i=26; i<48; i++)
			years.push("/20" + i);
		var f106 = new PAttributeFilter("Year of Expiration", years, PAttributeFilter.RANGE, "2026 or later", "earliestdeedexpiry", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f2,f3,f4,f5,f101,f102,f103,f104,f105,f106]);
	//Council of New Jersey Grantmakers
	} else if (set.id == 75950 || set.id == 76050) {
		var f0 = new PAttributeFilter("Health and Human Services", ["Health and Human Services"], PAttributeFilter.EQUAL, "All", "grant_cate", PAttribute.STRING);
		var f1 = new PAttributeFilter("Health and Human Services", ["Addiction"], PAttributeFilter.EQUAL, "Addiction", "g_sub_1", PAttribute.STRING);
		var f2 = new PAttributeFilter("Health and Human Services", ["Affordable Housing Development"], PAttributeFilter.EQUAL, "Affordable Housing Development", "g_sub_1", PAttribute.STRING);
		var f3 = new PAttributeFilter("Health and Human Services", ["Counseling"], PAttributeFilter.EQUAL, "Counseling", "g_sub_1", PAttribute.STRING);
		var f4 = new PAttributeFilter("Health and Human Services", ["Daycare"], PAttributeFilter.EQUAL, "Daycare", "g_sub_1", PAttribute.STRING);
		var f5 = new PAttributeFilter("Health and Human Services", ["Family Support"], PAttributeFilter.EQUAL, "Family Support", "g_sub_1", PAttribute.STRING);
		var f6 = new PAttributeFilter("Health and Human Services", ["Food Pantries"], PAttributeFilter.EQUAL, "Food Pantries", "g_sub_1", PAttribute.STRING);
		var f7 = new PAttributeFilter("Health and Human Services", ["Homelessness"], PAttributeFilter.EQUAL, "Homelessness", "g_sub_1", PAttribute.STRING);
		var f8 = new PAttributeFilter("Health and Human Services", ["Homelessness Prevention"], PAttributeFilter.EQUAL, "Homelessness Prevention", "g_sub_1", PAttribute.STRING);
		var f9 = new PAttributeFilter("Health and Human Services", ["Legal Options Counseling"], PAttributeFilter.EQUAL, "Legal Options Counseling", "g_sub_1", PAttribute.STRING);
		var f10 = new PAttributeFilter("Health and Human Services", ["Literacy"], PAttributeFilter.EQUAL, "Literacy", "g_sub_1", PAttribute.STRING);
		var f11 = new PAttributeFilter("Health and Human Services", ["Mental Health"], PAttributeFilter.EQUAL, "Mental Health", "g_sub_1", PAttribute.STRING);
		var f12 = new PAttributeFilter("Health and Human Services", ["Obesity Prevention"], PAttributeFilter.EQUAL, "Obesity Prevention", "g_sub_1", PAttribute.STRING);
		var f13 = new PAttributeFilter("Health and Human Services", ["Shelters"], PAttributeFilter.EQUAL, "Shelters", "g_sub_1", PAttribute.STRING);
		var f14 = new PAttributeFilter("Health and Human Services", ["Social Service Referral"], PAttributeFilter.EQUAL, "Social Service Referral", "g_sub_1", PAttribute.STRING);
		var f15 = new PAttributeFilter("Health and Human Services", ["Wellness"], PAttributeFilter.EQUAL, "Wellness", "g_sub_1", PAttribute.STRING);
		var f101 = new PAttributeFilter("Job/Workforce and Training", ["Job/Workforce and Training"], PAttributeFilter.EQUAL, "All", "grant_cate", PAttribute.STRING);
		var f102 = new PAttributeFilter("Job/Workforce and Training", ["Apprenticeships"], PAttributeFilter.EQUAL, "Apprenticeships", "g_sub_1", PAttribute.STRING);
		var f103 = new PAttributeFilter("Job/Workforce and Training", ["Job Development/Placement"], PAttributeFilter.EQUAL, "Job Development/Placement", "g_sub_1", PAttribute.STRING);
		var f104 = new PAttributeFilter("Job/Workforce and Training", ["Mentoring"], PAttributeFilter.EQUAL, "Mentoring", "g_sub_1", PAttribute.STRING);
		var f105 = new PAttributeFilter("Job/Workforce and Training", ["Residency"], PAttributeFilter.EQUAL, "Residency", "g_sub_1", PAttribute.STRING);
		var f106 = new PAttributeFilter("Job/Workforce and Training", ["Skill Development"], PAttributeFilter.EQUAL, "Skill Development", "g_sub_1", PAttribute.STRING);
		var f107 = new PAttributeFilter("Job/Workforce and Training", ["Summer and Fulltime Jobs"], PAttributeFilter.EQUAL, "Summer and Fulltime Jobs", "g_sub_1", PAttribute.STRING);
		var f108 = new PAttributeFilter("Job/Workforce and Training", ["Training"], PAttributeFilter.EQUAL, "Training", "g_sub_1", PAttribute.STRING);
		var f109 = new PAttributeFilter("Job/Workforce and Training", ["Transportation"], PAttributeFilter.EQUAL, "Transportation", "g_sub_1", PAttribute.STRING);
		var f110 = new PAttributeFilter("Job/Workforce and Training", ["Vocational Training"], PAttributeFilter.EQUAL, "Vocational Training", "g_sub_1", PAttribute.STRING);
		var f201 = new PAttributeFilter("Neighborhood Revitalization", ["Neighborhood Revitalization"], PAttributeFilter.EQUAL, "All", "grant_cate", PAttribute.STRING);
		var f202 = new PAttributeFilter("Neighborhood Revitalization", ["Affordable Housing"], PAttributeFilter.EQUAL, "Affordable Housing", "g_sub_1", PAttribute.STRING);
		var f203 = new PAttributeFilter("Neighborhood Revitalization", ["Affordable Housing Counseling"], PAttributeFilter.EQUAL, "Affordable Housing Counseling", "g_sub_1", PAttribute.STRING);
		var f204 = new PAttributeFilter("Neighborhood Revitalization", ["Community Building"], PAttributeFilter.EQUAL, "Community Building", "g_sub_1", PAttribute.STRING);
		var f205 = new PAttributeFilter("Neighborhood Revitalization", ["Green Space"], PAttributeFilter.EQUAL, "Green Space", "g_sub_1", PAttribute.STRING);
		var f206 = new PAttributeFilter("Neighborhood Revitalization", ["Gun Stoppers"], PAttributeFilter.EQUAL, "Gun Stoppers", "g_sub_1", PAttribute.STRING);
		var f207 = new PAttributeFilter("Neighborhood Revitalization", ["Organizing"], PAttributeFilter.EQUAL, "Organizing", "g_sub_1", PAttribute.STRING);
		var f208 = new PAttributeFilter("Neighborhood Revitalization", ["Outdoor Education"], PAttributeFilter.EQUAL, "Outdoor Education", "g_sub_1", PAttribute.STRING);
		var f209 = new PAttributeFilter("Neighborhood Revitalization", ["Parks and Recreation"], PAttributeFilter.EQUAL, "Parks and Recreation", "g_sub_1", PAttribute.STRING);
		var f210 = new PAttributeFilter("Neighborhood Revitalization", ["Toxic Site Remediation"], PAttributeFilter.EQUAL, "Toxic Site Remediation", "g_sub_1", PAttribute.STRING);
		var f211 = new PAttributeFilter("Neighborhood Revitalization", ["Urban Greening"], PAttributeFilter.EQUAL, "Urban Greening", "g_sub_1", PAttribute.STRING);
		var f212 = new PAttributeFilter("Neighborhood Revitalization", ["Urban Reinvestment"], PAttributeFilter.EQUAL, "Urban Reinvestment", "g_sub_1", PAttribute.STRING);
		var f301 = new PAttributeFilter("Youth Programs", ["Youth Programs"], PAttributeFilter.EQUAL, "All", "grant_cate", PAttribute.STRING);
		var f302 = new PAttributeFilter("Youth Programs", ["After School"], PAttributeFilter.EQUAL, "After School", "g_sub_1", PAttribute.STRING);
		var f303 = new PAttributeFilter("Youth Programs", ["Alternative High School"], PAttributeFilter.EQUAL, "Alternative High School", "g_sub_1", PAttribute.STRING);
		var f304 = new PAttributeFilter("Youth Programs", ["Arts Education"], PAttributeFilter.EQUAL, "Arts Education", "g_sub_1", PAttribute.STRING);
		var f305 = new PAttributeFilter("Youth Programs", ["Counseling"], PAttributeFilter.EQUAL, "Counseling", "g_sub_1", PAttribute.STRING);
		var f306 = new PAttributeFilter("Youth Programs", ["Financial Literacy"], PAttributeFilter.EQUAL, "Financial Literacy", "g_sub_1", PAttribute.STRING);
		var f307 = new PAttributeFilter("Youth Programs", ["Leadership Development"], PAttributeFilter.EQUAL, "Leadership Development", "g_sub_1", PAttribute.STRING);
		var f308 = new PAttributeFilter("Youth Programs", ["Leadership Development and Training"], PAttributeFilter.EQUAL, "Leadership Development and Training", "g_sub_1", PAttribute.STRING);
		var f309 = new PAttributeFilter("Youth Programs", ["Mentoring"], PAttributeFilter.EQUAL, "Mentoring", "g_sub_1", PAttribute.STRING);
		var f310 = new PAttributeFilter("Youth Programs", ["Outdoor Education"], PAttributeFilter.EQUAL, "Outdoor Education", "g_sub_1", PAttribute.STRING);
		var f311 = new PAttributeFilter("Youth Programs", ["Scholarship"], PAttributeFilter.EQUAL, "Scholarship", "g_sub_1", PAttribute.STRING);
		var f312 = new PAttributeFilter("Youth Programs", ["Summer Learning"], PAttributeFilter.EQUAL, "Summer Learning", "g_sub_1", PAttribute.STRING);
		var f313 = new PAttributeFilter("Youth Programs", ["Training"], PAttributeFilter.EQUAL, "Training", "g_sub_1", PAttribute.STRING);
		var f401 = new PAttributeFilter("Funder ID", ["61726"], PAttributeFilter.EQUAL, "61726", "f_id", PAttribute.STRING);
		var f402 = new PAttributeFilter("Funder ID", ["61734"], PAttributeFilter.EQUAL, "61734", "f_id", PAttribute.STRING);
		var f403 = new PAttributeFilter("Funder ID", ["61736"], PAttributeFilter.EQUAL, "61736", "f_id", PAttribute.STRING);
		var f404 = new PAttributeFilter("Funder ID", ["61744"], PAttributeFilter.EQUAL, "61744", "f_id", PAttribute.STRING);
		var f405 = new PAttributeFilter("Funder ID", ["61745"], PAttributeFilter.EQUAL, "61745", "f_id", PAttribute.STRING);
		var f406 = new PAttributeFilter("Funder ID", ["61747"], PAttributeFilter.EQUAL, "61747", "f_id", PAttribute.STRING);
		var f407 = new PAttributeFilter("Funder ID", ["61751"], PAttributeFilter.EQUAL, "61751", "f_id", PAttribute.STRING);
		var f408 = new PAttributeFilter("Funder ID", ["61752"], PAttributeFilter.EQUAL, "61752", "f_id", PAttribute.STRING);
		var f409 = new PAttributeFilter("Funder ID", ["61753"], PAttributeFilter.EQUAL, "61753", "f_id", PAttribute.STRING);
		var f410 = new PAttributeFilter("Funder ID", ["61754"], PAttributeFilter.EQUAL, "61754", "f_id", PAttribute.STRING);
		var f411 = new PAttributeFilter("Funder ID", ["61761"], PAttributeFilter.EQUAL, "61761", "f_id", PAttribute.STRING);
		var f412 = new PAttributeFilter("Funder ID", ["61764"], PAttributeFilter.EQUAL, "61764", "f_id", PAttribute.STRING);
		var f413 = new PAttributeFilter("Funder ID", ["61768"], PAttributeFilter.EQUAL, "61768", "f_id", PAttribute.STRING);
		var f414 = new PAttributeFilter("Funder ID", ["61777"], PAttributeFilter.EQUAL, "61777", "f_id", PAttribute.STRING);
		var f415 = new PAttributeFilter("Funder ID", ["61789"], PAttributeFilter.EQUAL, "61789", "f_id", PAttribute.STRING);
		var f416 = new PAttributeFilter("Funder ID", ["61793"], PAttributeFilter.EQUAL, "61793", "f_id", PAttribute.STRING);
		var f417 = new PAttributeFilter("Funder ID", ["61805"], PAttributeFilter.EQUAL, "61805", "f_id", PAttribute.STRING);
		var f418 = new PAttributeFilter("Funder ID", ["61810"], PAttributeFilter.EQUAL, "61810", "f_id", PAttribute.STRING);
		var f419 = new PAttributeFilter("Funder ID", ["61814"], PAttributeFilter.EQUAL, "61814", "f_id", PAttribute.STRING);
		var f420 = new PAttributeFilter("Funder ID", ["61815"], PAttributeFilter.EQUAL, "61815", "f_id", PAttribute.STRING);
		var f421 = new PAttributeFilter("Funder ID", ["61817"], PAttributeFilter.EQUAL, "61817", "f_id", PAttribute.STRING);
		var f422 = new PAttributeFilter("Funder ID", ["61823"], PAttributeFilter.EQUAL, "61823", "f_id", PAttribute.STRING);
		var f423 = new PAttributeFilter("Funder ID", ["61828"], PAttributeFilter.EQUAL, "61828", "f_id", PAttribute.STRING);
		var f424 = new PAttributeFilter("Funder ID", ["61831"], PAttributeFilter.EQUAL, "61831", "f_id", PAttribute.STRING);
		var f501 = new PAttributeFilter("Grant Amount Paid", [0,10000], PAttributeFilter.RANGE, "Less than $10,000", "grant_amt", PAttribute.NUMBER);
		var f502 = new PAttributeFilter("Grant Amount Paid", [10001,100000], PAttributeFilter.RANGE, "$10,001 - $100,000", "grant_amt", PAttribute.NUMBER);
		var f503 = new PAttributeFilter("Grant Amount Paid", [100001,50000], PAttributeFilter.RANGE, "$100,001 - $500,000", "grant_amt", PAttribute.NUMBER);
		var f504 = new PAttributeFilter("Grant Amount Paid", [500001,1000000], PAttributeFilter.RANGE, "$500,001 and up", "grant_amt", PAttribute.NUMBER);
		var f601 = new PAttributeFilter("Grant Year", [2004], PAttributeFilter.EQUAL, "2004", "grant_year", PAttribute.NUMBER);
		var f602 = new PAttributeFilter("Grant Year", [2006], PAttributeFilter.EQUAL, "2006", "grant_year", PAttribute.NUMBER);
		var f603 = new PAttributeFilter("Grant Year", [2007], PAttributeFilter.EQUAL, "2007", "grant_year", PAttribute.NUMBER);
		var f604 = new PAttributeFilter("Grant Year", [2008], PAttributeFilter.EQUAL, "2008", "grant_year", PAttribute.NUMBER);
		set.setDisplayFilters([f501,f502,f503,f504,f601,f602,f603,f604,f0,f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f11,f12,f13,f14,f15,f101,f102,f103,f104,f105,f106,f107,f108,f109,f110,f201,f202,f203,f204,f205,f206,f207,f208,f209,f210,f211,f212,f301,f302,f303,f304,f305,f306,f307,f308,f309,f310,f311,f312,f313,f401,f402,f403,f404,f405,f406,f407,f408,f409,f410,f411,f412,f413,f414,f415,f416,f417,f418,f419,f420,f421,f422,f423,f424]);
	}
	// The Wachovia Foundation
	else if (set.id == 86900 || set.id == 86950) {
		var f0 = new PAttributeFilter("Program Type", ["Implementation"], PAttributeFilter.EQUAL, "Implementation", "prog_type", PAttribute.STRING);
		var f1 = new PAttributeFilter("Program Type", ["Opportunity"], PAttributeFilter.EQUAL, "Opportunity", "prog_type", PAttribute.STRING);
		var f2 = new PAttributeFilter("Program Type", ["Planning"], PAttributeFilter.EQUAL, "Planning", "prog_type", PAttribute.STRING);
		var f201 = new PAttributeFilter("Award Amount", [0,49999], PAttributeFilter.RANGE, "less than $50,000", "awd_amt", PAttribute.NUMBER);
		var f202 = new PAttributeFilter("Award Amount", [50000,99999], PAttributeFilter.RANGE, "$50,000 - $99,999", "awd_amt", PAttribute.NUMBER);
		var f203 = new PAttributeFilter("Award Amount", [100000,499999], PAttributeFilter.RANGE, "$100,000 - $499,999", "awd_amt", PAttribute.NUMBER);
		var f204 = new PAttributeFilter("Award Amount", [500000,750000], PAttributeFilter.RANGE, "$500,000 and up", "awd_amt", PAttribute.NUMBER);
		var f301 = new PAttributeFilter("Disbursed Amount", [0,49999], PAttributeFilter.RANGE, "less than $50,000", "disb_amt", PAttribute.NUMBER);
		var f302 = new PAttributeFilter("Disbursed Amount", [50000,99999], PAttributeFilter.RANGE, "$50,000 - $99,999", "disb_amt", PAttribute.NUMBER);
		var f303 = new PAttributeFilter("Disbursed Amount", [100000,499999], PAttributeFilter.RANGE, "$100,000 - $499,999", "disb_amt", PAttribute.NUMBER);
		var f304 = new PAttributeFilter("Disbursed Amount", [500000,1000000], PAttributeFilter.RANGE, "$500,000 and up", "disb_amt", PAttribute.NUMBER);
		var f401 = new PAttributeFilter("Amount Remaining", [0], PAttributeFilter.EQUAL, "$0", "amount_rem", PAttribute.NUMBER);
		var f402 = new PAttributeFilter("Amount Remaining", [1,99999], PAttributeFilter.RANGE, "$1 - $99,999", "amount_rem", PAttribute.NUMBER);
		var f403 = new PAttributeFilter("Amount Remaining", [100000,655000], PAttributeFilter.RANGE, "$100,000 and up", "amount_rem", PAttribute.NUMBER);
		var f601 = new PAttributeFilter("Status", ["Active"], PAttributeFilter.EQUAL, "Active", "status", PAttribute.STRING);
		var f602 = new PAttributeFilter("Status", ["Closed"], PAttributeFilter.EQUAL, "Closed", "status", PAttribute.STRING);
		var f603 = new PAttributeFilter("Status", ["Withdrawn"], PAttributeFilter.EQUAL, "Withdrawn", "status", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f2,f201,f202,f203,f204,f301,f302,f303,f304,f401,f402,f403,f601,f602,f603]);
	}
	// Philadelphia Foundation
	else if (set.id == 77100) {
		var f0 = new PAttributeFilter("Amount", [0,1000], PAttributeFilter.RANGE, "$1,000 or Less", "amount", PAttribute.NUMBER);
		var f1 = new PAttributeFilter("Amount", [1001,4000], PAttributeFilter.RANGE, "$1,001 - $4,000", "amount", PAttribute.NUMBER);
		var f2 = new PAttributeFilter("Amount", [4001,10000], PAttributeFilter.RANGE, "$4,001 - $10,000", "amount", PAttribute.NUMBER);
		var f3 = new PAttributeFilter("Amount", [10001,2100000], PAttributeFilter.RANGE, "Over $10,000", "amount", PAttribute.NUMBER);
		var f101 = new PAttributeFilter("Type of Grant", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "type_of_grant", PAttribute.STRING);
		var f102 = new PAttributeFilter("Type of Grant", ["Designated"], PAttributeFilter.EQUAL, "Designated", "type_of_grant", PAttribute.STRING);
		var f103 = new PAttributeFilter("Type of Grant", ["Designated/Field of Interest"], PAttributeFilter.EQUAL, "Designated/Field of Interest", "type_of_grant", PAttribute.STRING);
		var f104 = new PAttributeFilter("Type of Grant", ["Discretionary (OE/Gen-op)"], PAttributeFilter.EQUAL, "Discretionary (OE/Gen-op)", "type_of_grant", PAttribute.STRING)
		var f105 = new PAttributeFilter("Type of Grant", ["Donor-Advised"], PAttributeFilter.EQUAL, "Donor-Advised", "type_of_grant", PAttribute.STRING);
		var f106 = new PAttributeFilter("Type of Grant", ["Fund for Children"], PAttributeFilter.EQUAL, "Fund for Children", "type_of_grant", PAttribute.STRING);
		var f107 = new PAttributeFilter("Type of Grant", ["Henrietta Tower Wurts Memorial"], PAttributeFilter.EQUAL, "Henrietta Tower Wurts Memorial", "type_of_grant", PAttribute.STRING);
		var f108 = new PAttributeFilter("Type of Grant", ["Interim/Director"], PAttributeFilter.EQUAL, "Interim/Director", "type_of_grant", PAttribute.STRING);
		var f109 = new PAttributeFilter("Type of Grant", ["Interim/Discretionary"], PAttributeFilter.EQUAL, "Interim/Discretionary", "type_of_grant", PAttribute.STRING);
		var f110 = new PAttributeFilter("Type of Grant", ["Matching Gifts"], PAttributeFilter.EQUAL, "Matching Gifts", "type_of_grant", PAttribute.STRING);
		var f111 = new PAttributeFilter("Type of Grant", ["Merrill Lynch"], PAttributeFilter.EQUAL, "Merrill Lynch", "type_of_grant", PAttribute.STRING);
		var f112 = new PAttributeFilter("Type of Grant", ["Organizational Endowment Fund"], PAttributeFilter.EQUAL, "Organizational Endowment Fund", "type_of_grant", PAttribute.STRING);
		var f113 = new PAttributeFilter("Type of Grant", ["Sustaining Grant"], PAttributeFilter.EQUAL, "Sustaining Grant", "type_of_grant", PAttribute.STRING);
		var f201 = new PAttributeFilter("Program Area", ["Advocacy/General"], PAttributeFilter.EQUAL, "Advocacy/General", "program_area", PAttribute.STRING);
		var f202 = new PAttributeFilter("Program Area", ["Arts & Culture"], PAttributeFilter.EQUAL, "Arts and Culture", "program_area", PAttribute.STRING);
		var f203 = new PAttributeFilter("Program Area", ["Basic Needs"], PAttributeFilter.EQUAL, "Basic Needs", "program_area", PAttribute.STRING);
		var f204 = new PAttributeFilter("Program Area", ["Christian"], PAttributeFilter.EQUAL, "Christian", "program_area", PAttribute.STRING);
		var f205 = new PAttributeFilter("Program Area", ["Community Economic Development"], PAttributeFilter.EQUAL, "Community Economic Development", "program_area", PAttribute.STRING);
		var f206 = new PAttributeFilter("Program Area", ["Education"], PAttributeFilter.EQUAL, "Education", "program_area", PAttribute.STRING);
		var f207 = new PAttributeFilter("Program Area", ["Environment"], PAttributeFilter.EQUAL, "Environment", "program_area", PAttribute.STRING);
		var f208 = new PAttributeFilter("Program Area", ["Federated Funds"], PAttributeFilter.EQUAL, "Federated Funds", "program_area", PAttribute.STRING);
		var f209 = new PAttributeFilter("Program Area", ["Health and Healthcare"], PAttributeFilter.EQUAL, "Health and Healthcare", "program_area", PAttribute.STRING);
		var f210 = new PAttributeFilter("Program Area", ["Human Services"], PAttributeFilter.EQUAL, "Human Services", "program_area", PAttribute.STRING);
		var f211 = new PAttributeFilter("Program Area", ["International"], PAttributeFilter.EQUAL, "International", "program_area", PAttribute.STRING);
		var f212 = new PAttributeFilter("Program Area", ["Philnthrpy/Chari"], PAttributeFilter.EQUAL, "Philanthropy/Charity", "program_area", PAttribute.STRING);
		var f213 = new PAttributeFilter("Program Area", ["Public and Community"], PAttributeFilter.EQUAL, "Public and Community", "program_area", PAttribute.STRING);
		var f214 = new PAttributeFilter("Program Area", ["Religion"], PAttributeFilter.EQUAL, "Religion", "program_area", PAttribute.STRING);
		var f215 = new PAttributeFilter("Program Area", ["United Way"], PAttributeFilter.EQUAL, "United Way", "program_area", PAttribute.STRING);
		var f301 = new PAttributeFilter("Economic Code", ["General Public/Unspecified"], PAttributeFilter.EQUAL, "General Public/Unspecified", "economic_code", PAttribute.STRING);
		var f302 = new PAttributeFilter("Economic Code", ["Homeless"], PAttributeFilter.EQUAL, "Homeless", "economic_code", PAttribute.STRING);
		var f303 = new PAttributeFilter("Economic Code", ["Low Income"], PAttributeFilter.EQUAL, "Low Income", "economic_code", PAttribute.STRING);
		var f304 = new PAttributeFilter("Economic Code", ["Low to Moderate Income"], PAttributeFilter.EQUAL, "Low to Moderate Income", "economic_code", PAttribute.STRING);
		var f305 = new PAttributeFilter("Economic Code", ["Middle Income"], PAttributeFilter.EQUAL, "Middle Income", "economic_code", PAttribute.STRING);
		var f306 = new PAttributeFilter("Economic Code", ["Upper Income"], PAttributeFilter.EQUAL, "Upper Income", "economic_code", PAttribute.STRING);
		var f401 = new PAttributeFilter("Ethnicity Code", ["African American"], PAttributeFilter.EQUAL, "African American", "ethnicity_code", PAttribute.STRING);
		var f402 = new PAttributeFilter("Ethnicity Code", ["American Indian"], PAttributeFilter.EQUAL, "American Indian", "ethnicity_code", PAttribute.STRING);
		var f403 = new PAttributeFilter("Ethnicity Code", ["Asian American"], PAttributeFilter.EQUAL, "Asian American", "ethnicity_code", PAttribute.STRING);
		var f404 = new PAttributeFilter("Ethnicity Code", ["Caucasian"], PAttributeFilter.EQUAL, "Caucasian", "ethnicity_code", PAttribute.STRING);
		var f405 = new PAttributeFilter("Ethnicity Code", ["Latino"], PAttributeFilter.EQUAL, "Latino", "ethnicity_code", PAttribute.STRING);
		var f406 = new PAttributeFilter("Ethnicity Code", ["Mixed Constituency"], PAttributeFilter.EQUAL, "Mixed Constituency", "ethnicity_code", PAttribute.STRING);
		var f407 = new PAttributeFilter("Ethnicity Code", ["People of Color"], PAttributeFilter.EQUAL, "People of Color", "ethnicity_code", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f2,f3,f101,f102,f103,f104,f105,f106,f107,f108,f109,f110,f111,f112,f113,f201,f202,f203,f204,f205,f206,f207,f208,f209,f210,f211,f212,f213,f214,f215,f301,f302,f303,f304,f305,f306,f401,f402,f403,f404,f405,f406,f407]);
	}
	// Hospitals
	else if (set.id == 77200) {
		var f0 = new PAttributeFilter("Facility Type", ["Childrens"], PAttributeFilter.EQUAL, "Childrens", "facsubtype", PAttribute.STRING);
		var f1 = new PAttributeFilter("Facility Type", ["Critical Access Hospitals"], PAttributeFilter.EQUAL, "Critical Access Hospitals", "facsubtype", PAttribute.STRING);
		var f2 = new PAttributeFilter("Facility Type", ["Long Term"], PAttributeFilter.EQUAL, "Long Term", "facsubtype", PAttribute.STRING);
		var f3 = new PAttributeFilter("Facility Type", ["Psychiatric"], PAttributeFilter.EQUAL, "Psychiatric", "facsubtype", PAttribute.STRING);
		var f4 = new PAttributeFilter("Facility Type", ["Rehabilitation"], PAttributeFilter.EQUAL, "Rehabilitation", "facsubtype", PAttribute.STRING);
		var f5 = new PAttributeFilter("Facility Type", ["Short Term"], PAttributeFilter.EQUAL, "Short Term", "facsubtype", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f2,f3,f4,f5]);
	}
	// Wachovia Foundation Grantees
	else if (set.id == 84600) {
		var f0 = new PAttributeFilter("Project Status", ["Completed"], PAttributeFilter.EQUAL, "Completed", "projstatus", PAttribute.STRING);
		var f1 = new PAttributeFilter("Project Status", ["In Construction or Development"], PAttributeFilter.EQUAL, "In Construction or Development", "projstatus", PAttribute.STRING);
		var f2 = new PAttributeFilter("Project Status", ["Planned/Proposed"], PAttributeFilter.EQUAL, "Planned/Proposed", "projstatus", PAttribute.STRING);
		var f101 = new PAttributeFilter("Total Cost", [0,99999], PAttributeFilter.RANGE, "less than $100,000", "totalcost", PAttribute.NUMBER);
		var f102 = new PAttributeFilter("Total Cost", [100000,1000000], PAttributeFilter.RANGE, "$100,000 - $1,000,000", "totalcost", PAttribute.NUMBER);
		var f103 = new PAttributeFilter("Total Cost", [1000001,100000000], PAttributeFilter.RANGE, "Over $1,000,000", "totalcost", PAttribute.NUMBER);
		var f201 = new PAttributeFilter("Location Type", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "loctype", PAttribute.STRING);
		var f202 = new PAttributeFilter("Location Type", ["Community Services"], PAttributeFilter.EQUAL, "Community Services", "loctype", PAttribute.STRING);
		var f203 = new PAttributeFilter("Location Type", ["CommSvcsOth"], PAttributeFilter.EQUAL, "Community Services Other", "loctype", PAttribute.STRING);
		var f204 = new PAttributeFilter("Location Type", ["Economic Development"], PAttributeFilter.EQUAL, "Economic Development", "loctype", PAttribute.STRING);
		var f205 = new PAttributeFilter("Location Type", ["EconDevOth"], PAttributeFilter.EQUAL, "Economic Development Other", "loctype", PAttribute.STRING);
		var f206 = new PAttributeFilter("Location Type", ["Housing"], PAttributeFilter.EQUAL, "Housing", "loctype", PAttribute.STRING);
		var f207 = new PAttributeFilter("Location Type", ["HsingInvByOth"], PAttributeFilter.EQUAL, "Housing Investments By Others", "loctype", PAttribute.STRING);
		var f208 = new PAttributeFilter("Location Type", ["Investments By Others"], PAttributeFilter.EQUAL, "Investments By Others", "loctype", PAttribute.STRING);
		var f209 = new PAttributeFilter("Location Type", ["Neighborhood Assets"], PAttributeFilter.EQUAL, "Neighborhood Assets", "loctype", PAttribute.STRING);
		var f301 = new PAttributeFilter("CDC Name", ["AchieveAbility"], PAttributeFilter.EQUAL, "AchieveAbility", "cdcname", PAttribute.STRING);
		var f302 = new PAttributeFilter("CDC Name", ["Cityworks"], PAttributeFilter.EQUAL, "Cityworks", "cdcname", PAttribute.STRING);
		var f303 = new PAttributeFilter("CDC Name", ["Cramer Hill CDC"], PAttributeFilter.EQUAL, "Cramer Hill CDC", "cdcname", PAttribute.STRING);
		var f304 = new PAttributeFilter("CDC Name", ["Crispus"], PAttributeFilter.EQUAL, "Crispus Attucks", "cdcname", PAttribute.STRING);
		var f305 = new PAttributeFilter("CDC Name", ["Fairmount Brewerytown CDC"], PAttributeFilter.EQUAL, "Fairmount Brewerytown CDC", "cdcname", PAttribute.STRING);
		var f306 = new PAttributeFilter("CDC Name", ["Hispanic Association of Contractors and Enterprise"], PAttributeFilter.EQUAL, "HACE", "cdcname", PAttribute.STRING);
		var f307 = new PAttributeFilter("CDC Name", ["Housing and Neighborhood Development Services"], PAttributeFilter.EQUAL, "HANDS", "cdcname", PAttribute.STRING);
		var f308 = new PAttributeFilter("CDC Name", ["Impact Services"], PAttributeFilter.EQUAL, "Impact Services", "cdcname", PAttribute.STRING);
		var f309 = new PAttributeFilter("CDC Name", ["Interfaith Wilmington"], PAttributeFilter.EQUAL, "Interfaith Wilmington", "cdcname", PAttribute.STRING);
		var f310 = new PAttributeFilter("CDC Name", ["Ironbound"], PAttributeFilter.EQUAL, "Ironbound", "cdcname", PAttribute.STRING);
		var f311 = new PAttributeFilter("CDC Name", ["Jewish Renaissance"], PAttributeFilter.EQUAL, "Jewish Renaissance", "cdcname", PAttribute.STRING);
		var f312 = new PAttributeFilter("CDC Name", ["Urban League"], PAttributeFilter.EQUAL, "Urban League of Essex County", "cdcname", PAttribute.STRING);
		var f313 = new PAttributeFilter("CDC Name", ["YWCA of York"], PAttributeFilter.EQUAL, "YWCA of York", "cdcname", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f2,f101,f102,f103,f201,f202,f203,f204,f205,f206,f207,f208,f209,f301,f302,f303,f304,f305,f306,f307,f308,f309,f310,f311,f312,f313]);
	}
	// CommonBond Communitites
	else if (set.id == 80200) {
		var f0 = new PAttributeFilter("Units", [0,11], PAttributeFilter.RANGE, "fewer than 12", "units", PAttribute.NUMBER);
		var f1 = new PAttributeFilter("Units", [12,30], PAttributeFilter.RANGE, "12 - 30", "units", PAttribute.NUMBER);
		var f2 = new PAttributeFilter("Units", [31,100], PAttributeFilter.RANGE, "31 - 100", "units", PAttribute.NUMBER);
		var f3 = new PAttributeFilter("Units", [101,504], PAttributeFilter.RANGE, "101 and more", "units", PAttribute.NUMBER);
		var f101 = new PAttributeFilter("Owner", ["CommonBond Communities"], PAttributeFilter.EQUAL, "CommonBond Communities", "owner", PAttribute.STRING);
		var f102 = new PAttributeFilter("Owner", ["Families Moving Forward"], PAttributeFilter.EQUAL, "Families Moving Forward", "owner", PAttribute.STRING);
		var f103 = new PAttributeFilter("Owner", ["Orchard Park LLC Jerry Kostner"], PAttributeFilter.EQUAL, "Orchard Park LLC, Jerry Kostner", "owner", PAttribute.STRING);
		var f104 = new PAttributeFilter("Owner", ["Plymouth Church Neighborhood Foundation"], PAttributeFilter.EQUAL, "Plymouth Church Neighborhood Foundation", "owner", PAttribute.STRING);
		var f105 = new PAttributeFilter("Owner", ["Sauk Centre Properties LTD, Joseph Weis"], PAttributeFilter.EQUAL, "Sauk Centre Properties LTD, Joseph Weis", "owner", PAttribute.STRING);
		var f106 = new PAttributeFilter("Owner", ["St. Anne"], PAttributeFilter.RANGE, "St. Anne's Community Development Corp", "owner", PAttribute.STRING);
		var f107 = new PAttributeFilter("Owner", ["Whittier Cooperative"], PAttributeFilter.EQUAL, "Whittier Cooperative", "owner", PAttribute.STRING);
		var f108 = new PAttributeFilter("Owner", ["Community Development Organization"], PAttributeFilter.RANGE, "Women's Community Development Organization", "owner", PAttribute.STRING);
		var f109 = new PAttributeFilter("Owner", ["Zion Originated Outreach Ministry"], PAttributeFilter.EQUAL, "Zion Originated Outreach Ministry", "owner", PAttribute.STRING);
		var f201 = new PAttributeFilter("Population Served", ["Family"], PAttributeFilter.EQUAL, "Family", "pop_served", PAttribute.STRING);
		var f202 = new PAttributeFilter("Population Served", ["Senior"], PAttributeFilter.EQUAL, "Senior", "pop_served", PAttribute.STRING);
		var f203 = new PAttributeFilter("Population Served", ["Senior/Special Needs"], PAttributeFilter.EQUAL, "Senior/Special Needs", "pop_served", PAttribute.STRING);
		var f204 = new PAttributeFilter("Population Served", ["Special Needs"], PAttributeFilter.EQUAL, "Special Needs", "pop_served", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f2,f3,f101,f102,f103,f104,f105,f106,f107,f108,f109,f201,f202,f203,f204]);
	}
	// Comcast
	else if (set.id == 80350) {
		var f0 = new PAttributeFilter("Employment Status ", ["A"], PAttributeFilter.EQUAL, "A", "empl_status", PAttribute.STRING);
		var f1 = new PAttributeFilter("Employment Status ", ["L"], PAttributeFilter.EQUAL, "L", "empl_status", PAttribute.STRING);
		var f101 = new PAttributeFilter("Sex", ["F"], PAttributeFilter.EQUAL, "Female", "sex", PAttribute.STRING);
		var f102 = new PAttributeFilter("Sex", ["M"], PAttributeFilter.EQUAL, "Male", "sex", PAttribute.STRING);
		var f201 = new PAttributeFilter("Ethnicity", ["White"], PAttributeFilter.EQUAL, "White", "ethnicity", PAttribute.STRING);
		var f202 = new PAttributeFilter("Ethnicity", ["Black or African American"], PAttributeFilter.EQUAL, "Black or African American", "ethnicity", PAttribute.STRING);
		var f203 = new PAttributeFilter("Ethnicity", ["Hispanic or Latino"], PAttributeFilter.EQUAL, "Hispanic or Latino", "ethnicity", PAttribute.STRING);
		var f204 = new PAttributeFilter("Ethnicity", ["Asian"], PAttributeFilter.EQUAL, "Asian", "ethnicity", PAttribute.STRING);
		var f205 = new PAttributeFilter("Ethnicity", ["American Indian/Alaska Native"], PAttributeFilter.EQUAL, "American Indian/Alaska Native", "ethnicity", PAttribute.STRING);
		var f206 = new PAttributeFilter("Ethnicity", ["Pac Islander/Native Hawaiian"], PAttributeFilter.EQUAL, "Pac Islander/Native Hawaiian", "ethnicity", PAttribute.STRING);
		var f207 = new PAttributeFilter("Ethnicity", ["Two or More Races"], PAttributeFilter.EQUAL, "Two or More Races", "ethnicity", PAttribute.STRING);
		var f208 = new PAttributeFilter("Ethnicity", ["Not Specified"], PAttributeFilter.EQUAL, "Not Specified", "ethnicity", PAttribute.STRING);
		var f301 = new PAttributeFilter("Age", [0,27], PAttributeFilter.RANGE, "27 or younger", "Age", PAttribute.NUMBER);
		var f302 = new PAttributeFilter("Age", [28,33], PAttributeFilter.RANGE, "28 - 33", "age", PAttribute.NUMBER);
		var f303 = new PAttributeFilter("Age", [34,39], PAttributeFilter.RANGE, "34 - 39", "age", PAttribute.NUMBER);
		var f304 = new PAttributeFilter("Age", [40,47], PAttributeFilter.RANGE, "40 - 47", "age", PAttribute.NUMBER);
		var f305 = new PAttributeFilter("Age", [48,88], PAttributeFilter.RANGE, "48 - 88", "age", PAttribute.NUMBER);
		var f401 = new PAttributeFilter("Salary", [0,26000], PAttributeFilter.RANGE, "$26,000 or less", "salary", PAttribute.NUMBER);
		var f402 = new PAttributeFilter("Salary", [26001,32000], PAttributeFilter.RANGE, "$26,001 - $32,000", "salary", PAttribute.NUMBER);
		var f403 = new PAttributeFilter("Salary", [32001,40000], PAttributeFilter.RANGE, "$32,001 - $40,000", "salary", PAttribute.NUMBER);
		var f404 = new PAttributeFilter("Salary", [40000,54000], PAttributeFilter.RANGE, "$40,001 - $54,000", "salary", PAttribute.NUMBER);
		var f405 = new PAttributeFilter("Salary", [54000,2801000], PAttributeFilter.RANGE, "Over $54,000", "salary", PAttribute.NUMBER);
		var f501 = new PAttributeFilter("Hourly Rate", [0,12.79], PAttributeFilter.RANGE, "$12.79 or Less", "hourly_rate", PAttribute.NUMBER);
		var f502 = new PAttributeFilter("Hourly Rate", [12.8,15.6], PAttributeFilter.RANGE, "$12.80 - $15.60", "hourly_rate", PAttribute.NUMBER);
		var f503 = new PAttributeFilter("Hourly Rate", [15.61,19.3], PAttributeFilter.RANGE, "$15.61 - $19.30", "hourly_rate", PAttribute.NUMBER);
		var f504 = new PAttributeFilter("Hourly Rate", [19.31,26], PAttributeFilter.RANGE, "$19.31 - $26.00", "hourly_rate", PAttribute.NUMBER);
		var f505 = new PAttributeFilter("Hourly Rate", [26,6293.5], PAttributeFilter.RANGE, "Over $26.00", "hourly_rate", PAttribute.NUMBER);
		var f601 = new PAttributeFilter("Category Description", ["Ad/Sales"], PAttributeFilter.RANGE, "Ad/Sales", "category_descr", PAttribute.STRING);
		var f602 = new PAttributeFilter("Category Description", ["Administration"], PAttributeFilter.RANGE, "Administration", "category_descr", PAttribute.STRING);
		var f603 = new PAttributeFilter("Category Description", ["Customer Service"], PAttributeFilter.RANGE, "Customer Service", "category_descr", PAttribute.STRING);
		var f604 = new PAttributeFilter("Category Description", ["Engineering"], PAttributeFilter.RANGE, "Engineering", "category_descr", PAttribute.STRING);
		var f605 = new PAttributeFilter("Category Description", ["Local Organization"], PAttributeFilter.RANGE, "Local Organization", "category_descr", PAttribute.STRING);
		var f606 = new PAttributeFilter("Category Description", ["Marketing"], PAttributeFilter.RANGE, "Marketing", "category_descr", PAttribute.STRING);
		var f607 = new PAttributeFilter("Category Description", ["Online"], PAttributeFilter.RANGE, "Online", "category_descr", PAttribute.STRING);
		var f608 = new PAttributeFilter("Category Description", ["Technical"], PAttributeFilter.RANGE, "Technical", "category_descr", PAttribute.STRING);
		var f609 = new PAttributeFilter("Category Description", ["Telephony"], PAttributeFilter.RANGE, "Telephony", "category_descr", PAttribute.STRING);
		var f701 = new PAttributeFilter("Employment Type", ["E"], PAttributeFilter.RANGE, "E", "empl_type", PAttribute.STRING);
		var f702 = new PAttributeFilter("Employment Type", ["H"], PAttributeFilter.RANGE, "H", "empl_type", PAttribute.STRING);
		var f703 = new PAttributeFilter("Employment Type", ["S"], PAttributeFilter.RANGE, "S", "empl_type", PAttribute.STRING);
		var f801 = new PAttributeFilter("Division Code", ["9CH"], PAttributeFilter.RANGE, "9CH", "division_code", PAttribute.STRING);
		var f802 = new PAttributeFilter("Division Code", ["9MS"], PAttributeFilter.RANGE, "9MS", "division_code", PAttribute.STRING);
		var f803 = new PAttributeFilter("Division Code", ["9MW"], PAttributeFilter.RANGE, "9MW", "division_code", PAttribute.STRING);
		var f804 = new PAttributeFilter("Division Code", ["9NE"], PAttributeFilter.RANGE, "9NE", "division_code", PAttribute.STRING);
		var f805 = new PAttributeFilter("Division Code", ["9NW"], PAttributeFilter.RANGE, "9NW", "division_code", PAttribute.STRING);
		var f806 = new PAttributeFilter("Division Code", ["9PL"], PAttributeFilter.RANGE, "9PL", "division_code", PAttribute.STRING);
		var f807 = new PAttributeFilter("Division Code", ["9SC"], PAttributeFilter.RANGE, "9SC", "division_code", PAttribute.STRING);
		var f808 = new PAttributeFilter("Division Code", ["9SE"], PAttributeFilter.RANGE, "9SE", "division_code", PAttribute.STRING);
		var f809 = new PAttributeFilter("Division Code", ["9SF"], PAttributeFilter.RANGE, "9SF", "division_code", PAttribute.STRING);
		var f810 = new PAttributeFilter("Division Code", ["B63"], PAttributeFilter.RANGE, "B63", "division_code", PAttribute.STRING);
		var f811 = new PAttributeFilter("Division Code", ["CAS"], PAttributeFilter.RANGE, "CAS", "division_code", PAttribute.STRING);
		var f812 = new PAttributeFilter("Division Code", ["CHN"], PAttributeFilter.RANGE, "CHN", "division_code", PAttribute.STRING);
		var f813 = new PAttributeFilter("Division Code", ["CNS"], PAttributeFilter.RANGE, "CNS", "division_code", PAttribute.STRING);
		var f814 = new PAttributeFilter("Division Code", ["CTN"], PAttributeFilter.RANGE, "CTN", "division_code", PAttribute.STRING);
		var f815 = new PAttributeFilter("Division Code", ["G47"], PAttributeFilter.RANGE, "G47", "division_code", PAttribute.STRING);
		var f816 = new PAttributeFilter("Division Code", ["GNM"], PAttributeFilter.RANGE, "GNM", "division_code", PAttribute.STRING);
		var f817 = new PAttributeFilter("Division Code", ["INT"], PAttributeFilter.RANGE, "INT", "division_code", PAttribute.STRING);
		var f818 = new PAttributeFilter("Division Code", ["M01"], PAttributeFilter.RANGE, "M01", "division_code", PAttribute.STRING);
		var f819 = new PAttributeFilter("Division Code", ["M02"], PAttributeFilter.RANGE, "M02", "division_code", PAttribute.STRING);
		var f820 = new PAttributeFilter("Division Code", ["PEK"], PAttributeFilter.RANGE, "PEK", "division_code", PAttribute.STRING);
		var f821 = new PAttributeFilter("Division Code", ["PET"], PAttributeFilter.RANGE, "PET", "division_code", PAttribute.STRING);
		var f822 = new PAttributeFilter("Division Code", ["PGM"], PAttributeFilter.RANGE, "PGM", "division_code", PAttribute.STRING);
		var f823 = new PAttributeFilter("Division Code", ["PHQ"], PAttributeFilter.RANGE, "PHQ", "division_code", PAttribute.STRING);
		var f824 = new PAttributeFilter("Division Code", ["PNO"], PAttributeFilter.RANGE, "PNO", "division_code", PAttribute.STRING);
		var f825 = new PAttributeFilter("Division Code", ["PSO"], PAttributeFilter.RANGE, "PSO", "division_code", PAttribute.STRING);
		var f826 = new PAttributeFilter("Division Code", ["PWT"], PAttributeFilter.RANGE, "PWT", "division_code", PAttribute.STRING);
		var f827 = new PAttributeFilter("Division Code", ["TGC"], PAttributeFilter.RANGE, "TGC", "division_code", PAttribute.STRING);
		var f828 = new PAttributeFilter("Division Code", ["TVG"], PAttributeFilter.RANGE, "TVG", "division_code", PAttribute.STRING);
		var f829 = new PAttributeFilter("Division Code", ["V95"], PAttributeFilter.RANGE, "V95", "division_code", PAttribute.STRING);
		var f901 = new PAttributeFilter("Division Description", ["Cable Eastern Division"], PAttributeFilter.RANGE, "Cable Eastern Division", "division_description", PAttribute.STRING);
		var f902 = new PAttributeFilter("Division Description", ["Cable Headquarters"], PAttributeFilter.RANGE, "Cable Headquarters", "division_description", PAttribute.STRING);
		var f903 = new PAttributeFilter("Division Description", ["Cable NorthCentral Division"], PAttributeFilter.RANGE, "Cable NorthCentral Division", "division_description", PAttribute.STRING);
		var f904 = new PAttributeFilter("Division Description", ["Cable Southern Division"], PAttributeFilter.RANGE, "Cable Southern Division", "division_description", PAttribute.STRING);
		var f905 = new PAttributeFilter("Division Description", ["Cable Western Division"], PAttributeFilter.RANGE, "Cable Western Division", "division_description", PAttribute.STRING);
		var f906 = new PAttributeFilter("Division Description", ["Corporate"], PAttributeFilter.RANGE, "Corporate", "division_description", PAttribute.STRING);
		var f907 = new PAttributeFilter("Division Description", ["Programming Entities"], PAttributeFilter.RANGE, "Programming Entities", "division_description", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f101,f102,f201,f202,f203,f204,f205,f206,f207,f208,f301,f302,f303,f304,f305,f401,f402,f403,f404,f405,f501,f502,f503,f504,f505,f601,f602,f603,f604,f605,f606,f607,f608,f609,f701,f702,f703,f801,f802,f803,f804,f805,f806,f807,f808,f809,f810,f811,f812,f813,f814,f815,f816,f817,f818,f819,f820,f821,f822,f823,f824,f825,f826,f827,f828,f829,f901,f902,f903,f904,f905,f906,f907]);
	}
	// GreatSchools Public
	else if (set.id == 75550) {
		var f0 = new PAttributeFilter("Type", ["public"], PAttributeFilter.EQUAL, "Public", "type", PAttribute.STRING);
		var f1 = new PAttributeFilter("Type", ["private"], PAttributeFilter.EQUAL, "Private", "type", PAttribute.STRING);
		var f2 = new PAttributeFilter("Type", ["charter"], PAttributeFilter.EQUAL, "Public Charter", "type", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f2]);
	}
	// GreatSchools Subscriber
	else if (set.id == 87150) {
		var f0 = new PAttributeFilter("GreatSchools' School Rating (0 lowest test scores in state; 10 highest test scores in state)", [1,2], PAttributeFilter.RANGE, "1 - 2", "rating", PAttribute.NUMBER);
		var f1 = new PAttributeFilter("GreatSchools' School Rating (0 lowest test scores in state; 10 highest test scores in state)", [3,4], PAttributeFilter.RANGE, "3 - 4", "rating", PAttribute.NUMBER);
		var f2 = new PAttributeFilter("GreatSchools' School Rating (0 lowest test scores in state; 10 highest test scores in state)", [5,6], PAttributeFilter.RANGE, "5 - 6", "rating", PAttribute.NUMBER);
		var f3 = new PAttributeFilter("GreatSchools' School Rating (0 lowest test scores in state; 10 highest test scores in state)", [7,8], PAttributeFilter.RANGE, "7 - 8", "rating", PAttribute.NUMBER);
		var f4 = new PAttributeFilter("GreatSchools' School Rating (0 lowest test scores in state; 10 highest test scores in state)", [9,10], PAttributeFilter.RANGE, "9 - 10", "rating", PAttribute.NUMBER);
		var f101 = new PAttributeFilter("Type", ["public"], PAttributeFilter.EQUAL, "Public", "type", PAttribute.STRING);
		var f102 = new PAttributeFilter("Type", ["private"], PAttributeFilter.EQUAL, "Private", "type", PAttribute.STRING);
		var f103 = new PAttributeFilter("Type", ["charter"], PAttributeFilter.EQUAL, "Public Charter", "type", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f2,f3,f4,f101,f102,f103]);
	}
	// Opportunity Finance Network
	else if (set.id == 80850) {
		var f0 = new PAttributeFilter("Type Of Attraction", ["Food Service"], PAttributeFilter.EQUAL, "Food Service", "type_of_attraction", PAttribute.STRING);
		var f1 = new PAttributeFilter("Type Of Attraction", ["Nonprofit"], PAttributeFilter.EQUAL, "Nonprofit", "type_of_attraction", PAttribute.STRING);
		var f2 = new PAttributeFilter("Type Of Attraction", ["Retail"], PAttributeFilter.EQUAL, "Retail", "type_of_attraction", PAttribute.STRING);
		var f3 = new PAttributeFilter("Type Of Attraction", ["Gallery/Arts"], PAttributeFilter.EQUAL, "Gallery/Arts", "type_of_attraction", PAttribute.STRING);
		var f4 = new PAttributeFilter("Type Of Attraction", ["Health"], PAttributeFilter.EQUAL, "Health", "type_of_attraction", PAttribute.STRING);
		var f5 = new PAttributeFilter("Type Of Attraction", ["Transportation"], PAttributeFilter.EQUAL, "Transportation", "type_of_attraction", PAttribute.STRING);
		var f6 = new PAttributeFilter("Type Of Attraction", ["Pueblo/Tribe"], PAttributeFilter.EQUAL, "Pueblo/Tribe", "type_of_attraction", PAttribute.STRING);
		var f7 = new PAttributeFilter("Type Of Attraction", ["Native CDC/CDFI"], PAttributeFilter.EQUAL, "Native CDC/CDFI", "type_of_attraction", PAttribute.STRING);
		var f8 = new PAttributeFilter("Type Of Attraction", ["Resort/Casino"], PAttributeFilter.EQUAL, "Resort/Casino", "type_of_attraction", PAttribute.STRING);
		var f9 = new PAttributeFilter("Type Of Attraction", ["Tribally Owned Business"], PAttributeFilter.EQUAL, "Tribally Owned Business", "type_of_attraction", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f2,f3,f4,f5,f6,f7,f8,f9]);
	}
	// Village of Arts
	else if (set.id == 81100) {
		var f0 = new PAttributeFilter("Satisfactory cleanliness", ["Agree and Strongly Agree"], PAttributeFilter.EQUAL, "Agree and Strongly Agree", "cleancode", PAttribute.STRING);
		var f1 = new PAttributeFilter("Satisfactory cleanliness", ["Disagree and Strongly Disagree"], PAttributeFilter.EQUAL, "Disagree and Strongly Disagree", "cleancode", PAttribute.STRING);
		var f101 = new PAttributeFilter("Family feels safe", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "safecode", PAttribute.STRING);
		var f102 = new PAttributeFilter("Family feels safe", ["Agree and Strongly Agree"], PAttributeFilter.EQUAL, "Agree and Strongly Agree", "safecode", PAttribute.STRING);
		var f103 = new PAttributeFilter("Family feels safe", ["Disagree and Strongly Disagree"], PAttributeFilter.EQUAL, "Disagree and Strongly Disagree", "safecode", PAttribute.STRING);
		var f201 = new PAttributeFilter("Friendly neighbors", ["Agree and Strongly Agree"], PAttributeFilter.EQUAL, "Agree and Strongly Agree", "friendlycode", PAttribute.STRING);
		var f202 = new PAttributeFilter("Friendly neighbors", ["Disagree and Strongly Disagree"], PAttributeFilter.EQUAL, "Disagree and Strongly Disagree", "friendlycode", PAttribute.STRING);
		var f301 = new PAttributeFilter("Speak regularly with neighbors", ["0"], PAttributeFilter.EQUAL, "0", "speaking", PAttribute.STRING);
		var f302 = new PAttributeFilter("Speak regularly with neighbors", ["1 - 3"], PAttributeFilter.EQUAL, "1 - 3", "speaking", PAttribute.STRING);
		var f303 = new PAttributeFilter("Speak regularly with neighbors", ["4 - 6"], PAttributeFilter.EQUAL, "4 - 6", "speaking", PAttribute.STRING);
		var f304 = new PAttributeFilter("Speak regularly with neighbors", ["7 - 9"], PAttributeFilter.EQUAL, "7 - 9", "speaking", PAttribute.STRING);
		var f305 = new PAttributeFilter("Speak regularly with neighbors", ["10 or more"], PAttributeFilter.EQUAL, "10 or more", "speaking", PAttribute.STRING);
		var f401 = new PAttributeFilter("Own or rent home", ["Own"], PAttributeFilter.EQUAL, "Own", "rentown", PAttribute.STRING);
		var f402 = new PAttributeFilter("Own or rent home", ["Rent"], PAttributeFilter.EQUAL, "Rent", "rentown", PAttribute.STRING);
		var f403 = new PAttributeFilter("Own or rent home", ["Neither"], PAttributeFilter.EQUAL, "Neither", "rentown", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f101,f102,f103,f201,f202,f301,f302,f303,f304,f305,f401,f402,f403]);
	}
	// Ironbound Community Corporation
	else if (set.id == 81150) {
		var f0 = new PAttributeFilter("Pre-foreclosure Year", [2005], PAttributeFilter.EQUAL, "2005", "pre_forecl", PAttribute.NUMBER);
		var f1 = new PAttributeFilter("Pre-foreclosure Year", [2006], PAttributeFilter.EQUAL, "2006", "pre_forecl", PAttribute.NUMBER);
		var f2 = new PAttributeFilter("Pre-foreclosure Year", [2007], PAttributeFilter.EQUAL, "2007", "pre_forecl", PAttribute.NUMBER);
		var f3 = new PAttributeFilter("Pre-foreclosure Year", [2008], PAttributeFilter.EQUAL, "2008", "pre_forecl", PAttribute.NUMBER);
		var f101 = new PAttributeFilter("Tax Foreclosure", ["yes"], PAttributeFilter.EQUAL, "yes", "tax_forecl", PAttribute.STRING);
		var f102 = new PAttributeFilter("Tax Foreclosure", ["no"], PAttributeFilter.EQUAL, "no", "tax_forecl", PAttribute.STRING);
		var f201 = new PAttributeFilter("Complaint Filed Date", ["/2005"], PAttributeFilter.RANGE, "2005", "complaintfileddt", PAttribute.STRING);
		var f202 = new PAttributeFilter("Complaint Filed Date", ["/2006"], PAttributeFilter.RANGE, "2006", "complaintfileddt", PAttribute.STRING);
		var f203 = new PAttributeFilter("Complaint Filed Date", ["/2007"], PAttributeFilter.RANGE, "2007", "complaintfileddt", PAttribute.STRING);
		var f204 = new PAttributeFilter("Complaint Filed Date", ["/2008"], PAttributeFilter.RANGE, "2008", "complaintfileddt", PAttribute.STRING);
		var f301 = new PAttributeFilter("Loan Origination Year", [1995,1999], PAttributeFilter.RANGE, "1995 - 1999", "loan_origyr", PAttribute.NUMBER);
		var f302 = new PAttributeFilter("Loan Origination Year", [2000,2004], PAttributeFilter.RANGE, "2000 - 2004", "loan_origyr", PAttribute.NUMBER);
		var f303 = new PAttributeFilter("Loan Origination Year", [2005,2008], PAttributeFilter.RANGE, "2005 - 2008", "loan_origyr", PAttribute.NUMBER);
		var f401 = new PAttributeFilter("Matched", ["yes"], PAttributeFilter.EQUAL, "yes", "matched", PAttribute.STRING);
		var f402 = new PAttributeFilter("Matched", ["no"], PAttributeFilter.EQUAL, "no", "matched", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f2,f3,f101,f102,f201,f202,f203,f204,f301,f302,f303,f401,f402]);
	}
	// St. Lawrence County
	else if (set.id == 81200) {
		var f0 = new PAttributeFilter("Property Type", ["Single Family"], PAttributeFilter.EQUAL, "Single Family", "housing_type_code", PAttribute.STRING);
		var f1 = new PAttributeFilter("Property Type", ["Vacation/Seasonal"], PAttributeFilter.RANGE, "Vacation/Seasonal", "housing_type_code", PAttribute.STRING);
		var f2 = new PAttributeFilter("Property Type", ["Single Wide Trailer"], PAttributeFilter.RANGE, "Single Wide Trailer", "housing_type_code", PAttribute.STRING);
		var f3 = new PAttributeFilter("Property Type", ["Vacant Lot"], PAttributeFilter.EQUAL, "Vacant Lot", "housing_type_code", PAttribute.STRING);
		var f4 = new PAttributeFilter("Property Type", ["Double Wide Trailer"], PAttributeFilter.RANGE, "Double Wide Trailer", "housing_type_code", PAttribute.STRING);
		var f5 = new PAttributeFilter("Property Type", ["Log Cabin"], PAttributeFilter.EQUAL, "Log Cabin", "housing_type_code", PAttribute.STRING);
		var f6 = new PAttributeFilter("Property Type", ["Commercial"], PAttributeFilter.EQUAL, "Commercial", "housing_type_code", PAttribute.STRING);
		var f7 = new PAttributeFilter("Property Type", ["Under Construction"], PAttributeFilter.RANGE, "Under Construction", "housing_type_code", PAttribute.STRING);
		var f8 = new PAttributeFilter("Property Type", ["Agricultural"], PAttributeFilter.EQUAL, "Agricultural", "housing_type_code", PAttribute.STRING);
		var f101 = new PAttributeFilter("Overall Condition", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "overall_condition", PAttribute.STRING);
		var f102 = new PAttributeFilter("Overall Condition", ["Critical"], PAttributeFilter.EQUAL, "Critical", "overall_condition", PAttribute.STRING);
		var f103 = new PAttributeFilter("Overall Condition", ["Poor"], PAttributeFilter.EQUAL, "Poor", "overall_condition", PAttribute.STRING);
		var f104 = new PAttributeFilter("Overall Condition", ["Fair"], PAttributeFilter.EQUAL, "Fair", "overall_condition", PAttribute.STRING);
		var f105 = new PAttributeFilter("Overall Condition", ["Good"], PAttributeFilter.EQUAL, "Good", "overall_condition", PAttribute.STRING);
		var f106 = new PAttributeFilter("Overall Condition", ["Very Good"], PAttributeFilter.EQUAL, "Very Good", "overall_condition", PAttribute.STRING);
		var f201 = new PAttributeFilter("Roof Condition", ["Critical"], PAttributeFilter.EQUAL, "Critical", "roof", PAttribute.STRING);
		var f202 = new PAttributeFilter("Roof Condition", ["Poor"], PAttributeFilter.EQUAL, "Poor", "roof", PAttribute.STRING);
		var f203 = new PAttributeFilter("Roof Condition", ["Fair"], PAttributeFilter.EQUAL, "Fair", "roof", PAttribute.STRING);
		var f204 = new PAttributeFilter("Roof Condition", ["Good"], PAttributeFilter.EQUAL, "Good", "roof", PAttribute.STRING);
		var f205 = new PAttributeFilter("Roof Condition", ["Very Good"], PAttributeFilter.EQUAL, "Very Good", "roof", PAttribute.STRING);
		var f301 = new PAttributeFilter("Foundation Condition", ["Critical"], PAttributeFilter.EQUAL, "Critical", "foundation", PAttribute.STRING);
		var f302 = new PAttributeFilter("Foundation Condition", ["Poor"], PAttributeFilter.EQUAL, "Poor", "foundation", PAttribute.STRING);
		var f303 = new PAttributeFilter("Foundation Condition", ["Fair"], PAttributeFilter.EQUAL, "Fair", "foundation", PAttribute.STRING);
		var f304 = new PAttributeFilter("Foundation Condition", ["Good"], PAttributeFilter.EQUAL, "Good", "foundation", PAttribute.STRING);
		var f305 = new PAttributeFilter("Foundation Condition", ["Very Good"], PAttributeFilter.EQUAL, "Very Good", "foundation", PAttribute.STRING);
		var f401 = new PAttributeFilter("Yard Condition", ["Critical"], PAttributeFilter.EQUAL, "Critical", "yard", PAttribute.STRING);
		var f402 = new PAttributeFilter("Yard Condition", ["Poor"], PAttributeFilter.EQUAL, "Poor", "yard", PAttribute.STRING);
		var f403 = new PAttributeFilter("Yard Condition", ["Fair"], PAttributeFilter.EQUAL, "Fair", "yard", PAttribute.STRING);
		var f404 = new PAttributeFilter("Yard Condition", ["Good"], PAttributeFilter.EQUAL, "Good", "yard", PAttribute.STRING);
		var f405 = new PAttributeFilter("Yard Condition", ["Very Good"], PAttributeFilter.EQUAL, "Very Good", "yard", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f2,f3,f4,f5,f6,f7,f8,f101,f102,f103,f104,f105,f106,f201,f202,f203,f204,f205,f301,f302,f303,f304,f305,f401,f402,f403,f404,f405]);
	}
	// CDT
	else if (set.id == 82050) {
		var f0 = new PAttributeFilter("Investment Type", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "investment_type", PAttribute.STRING);
		var f1 = new PAttributeFilter("Investment Type", ["D"], PAttributeFilter.EQUAL, "Debt", "investment_type", PAttribute.STRING);
		var f2 = new PAttributeFilter("Investment Type", ["E"], PAttributeFilter.EQUAL, "Equity", "investment_type", PAttribute.STRING);
		var f101 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["AmSouth"], PAttributeFilter.EQUAL, "AmSouth", "correspond", PAttribute.STRING);
		var f102 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["Apollo Housing Capital"], PAttributeFilter.EQUAL, "Apollo Housing Capital", "correspond", PAttribute.STRING);
		var f103 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["Bank One"], PAttributeFilter.EQUAL, "Bank One", "correspond", PAttribute.STRING);
		var f104 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["BofA"], PAttributeFilter.EQUAL, "BofA", "correspond", PAttribute.STRING);
		var f105 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["Bonneville"], PAttributeFilter.EQUAL, "Bonneville", "correspond", PAttribute.STRING);
		var f106 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["Cambridge Management"], PAttributeFilter.EQUAL, "Cambridge Management", "correspond", PAttribute.STRING);
		var f107 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["CCRC"], PAttributeFilter.EQUAL, "CCRC", "correspond", PAttribute.STRING);
		var f108 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["Column"], PAttributeFilter.EQUAL, "Column", "correspond", PAttribute.STRING);
		var f109 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["Domain Communities"], PAttributeFilter.EQUAL, "Domain Communities", "correspond", PAttribute.STRING);
		var f110 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["Evergreen Partners"], PAttributeFilter.EQUAL, "Evergreen Partners", "correspond", PAttribute.STRING);
		var f111 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["Fifth Third Bank"], PAttributeFilter.EQUAL, "Fifth Third Bank", "correspond", PAttribute.STRING);
		var f112 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["Hallkeen"], PAttributeFilter.EQUAL, "Hallkeen", "correspond", PAttribute.STRING);
		var f113 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["JPMC"], PAttributeFilter.EQUAL, "JPMC", "correspond", PAttribute.STRING);
		var f114 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["Juniper Investment Group"], PAttributeFilter.EQUAL, "Juniper Investment Group", "correspond", PAttribute.STRING);
		var f115 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["Key Bank"], PAttributeFilter.EQUAL, "Key Bank", "correspond", PAttribute.STRING);
		var f116 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["LISC"], PAttributeFilter.EQUAL, "LISC", "correspond", PAttribute.STRING);
		var f117 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["MMA"], PAttributeFilter.EQUAL, "MMA", "correspond", PAttribute.STRING);
		var f118 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["NEF"], PAttributeFilter.EQUAL, "NEF", "correspond", PAttribute.STRING);
		var f119 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["NEFMAC"], PAttributeFilter.EQUAL, "NEFMAC", "correspond", PAttribute.STRING);
		var f120 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["NLP"], PAttributeFilter.EQUAL, "NLP", "correspond", PAttribute.STRING);
		var f121 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["Southport Financial"], PAttributeFilter.EQUAL, "Southport Financial", "correspond", PAttribute.STRING);
		var f122 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["Spear Management Group"], PAttributeFilter.EQUAL, "Spear Management Group", "correspond", PAttribute.STRING);
		var f123 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["Stearns Bank"], PAttributeFilter.EQUAL, "Stearns Bank", "correspond", PAttribute.STRING);
		var f124 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["The Carabetta Organization"], PAttributeFilter.EQUAL, "The Carabetta Organization", "correspond", PAttribute.STRING);
		var f125 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["The Lynd Company"], PAttributeFilter.EQUAL, "The Lynd Company", "correspond", PAttribute.STRING);
		var f126 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["TRF"], PAttributeFilter.EQUAL, "TRF", "correspond", PAttribute.STRING);
		var f127 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["TSAHC"], PAttributeFilter.EQUAL, "TSAHC", "correspond", PAttribute.STRING);
		var f128 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["Wachovia"], PAttributeFilter.EQUAL, "Wachovia", "correspond", PAttribute.STRING);
		var f129 = new PAttributeFilter("Correspondent (D) / Partner (E)", ["WHEDA"], PAttributeFilter.EQUAL, "WHEDA", "correspond", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f2,f101,f102,f103,f104,f105,f106,f107,f108,f109,f110,f111,f112,f113,f114,f115,f116,f117,f118,f119,f120,f121,f122,f123,f124,f125,f126,f127,f128,f129]);
	}
	// St. Joseph's Carpenter Society
	else if (set.id == 82950) {
		var f0 = new PAttributeFilter("Adjusted Acquisition Price", [0,9999], PAttributeFilter.RANGE, "less than $10,000", "adj_acq_pr", PAttribute.NUMBER);
		var f1 = new PAttributeFilter("Adjusted Acquisition Price", [10000,20000], PAttributeFilter.RANGE, "$10,000 to $20,000", "adj_acq_pr", PAttribute.NUMBER);
		var f2 = new PAttributeFilter("Adjusted Acquisition Price", [20001,35000], PAttributeFilter.RANGE, "$20,001 to $35,000", "adj_acq_pr", PAttribute.NUMBER);
		var f3 = new PAttributeFilter("Adjusted Acquisition Price", [35001,63000], PAttributeFilter.RANGE, "more than $35,000", "adj_acq_pr", PAttribute.NUMBER);
		var years = [];
		for (var i=87; i<96; i++)
			years.push("/19" + i + "\\0");
		var f101 = new PAttributeFilter("Acquisition Date", years, PAttributeFilter.RANGE, "before 1995", "acq_date", PAttribute.STRING);
		var years = [];
		for (var i=95; i<100; i++)
			years.push("/19" + i + "\\0");
		years.push("/2000\\0");
		var f102 = new PAttributeFilter("Acquisition Date", years, PAttributeFilter.RANGE, "1995-2000", "acq_date", PAttribute.STRING);
		var years = [];
		for (var i=1; i<7; i++)
			years.push("/200" + i + "\\0");
		var f103 = new PAttributeFilter("Acquisition Date", years, PAttributeFilter.RANGE, "after 2001", "acq_date", PAttribute.STRING);
		var f201 = new PAttributeFilter("Sales Price", [0,29999], PAttributeFilter.RANGE, "less than $30,000", "sales_pric", PAttribute.NUMBER);
		var f202 = new PAttributeFilter("Sales Price", [30000,45000], PAttributeFilter.RANGE, "$30,000 to $45,000", "sales_pric", PAttribute.NUMBER);
		var f203 = new PAttributeFilter("Sales Price", [45001,65000], PAttributeFilter.RANGE, "$45,001 to $65,000", "sales_pric", PAttribute.NUMBER);
		var f204 = new PAttributeFilter("Sales Price", [65001,90000], PAttributeFilter.RANGE, "more than $65,000", "sales_pric", PAttribute.NUMBER);
		var years = [];
		for (var i=88; i<96; i++)
			years.push("/19" + i + "\\0");
		var f301 = new PAttributeFilter("Sales Closing Date", years, PAttributeFilter.RANGE, "before 1995", "sales_clos", PAttribute.STRING);
		var years = [];
		for (var i=95; i<100; i++)
			years.push("/19" + i + "\\0");
		years.push("/2000\\0");
		var f302 = new PAttributeFilter("Sales Closing Date", years, PAttributeFilter.RANGE, "1995-2000", "sales_clos", PAttribute.STRING);
		var years = []
		for (var i=1; i<7; i++)
			years.push("/200" + i + "\\0");
		var f303 = new PAttributeFilter("Sales Closing Date", years, PAttributeFilter.RANGE, "after 2001", "sales_clos", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f2,f3,f101,f102,f103,f201,f202,f203,f204,f301,f302,f303]);
	}
	// Kansas Housing Corporation KEEP
	else if (set.id == 83550) {
		var f0 = new PAttributeFilter("Agency", ["Sunflower"], PAttributeFilter.EQUAL, "Sunflower", "agency", PAttribute.STRING);
		var f1 = new PAttributeFilter("Agency", ["Midwest Energy"], PAttributeFilter.EQUAL, "Midwest Energy", "agency", PAttribute.STRING);
		var f101 = new PAttributeFilter("Total Loan Amount", [0,3000], PAttributeFilter.RANGE, "$3,000 or less", "totalloanamount", PAttribute.STRING);
		var f102 = new PAttributeFilter("Total Loan Amount", [3001,5000], PAttributeFilter.RANGE, "$3,001 to $5,000", "totalloanamount", PAttribute.NUMBER);
		var f103 = new PAttributeFilter("Total Loan Amount", [5001,7000], PAttributeFilter.RANGE, "$5,001 to $7,000", "totalloanamount", PAttribute.NUMBER);
		var f104 = new PAttributeFilter("Total Loan Amount", [7001,11000], PAttributeFilter.RANGE, "$7,001 to $11,000", "totalloanamount", PAttribute.NUMBER);
		var f105 = new PAttributeFilter("Total Loan Amount", [11001,65000], PAttributeFilter.RANGE, "Over $11,000", "totalloanamount", PAttribute.NUMBER);
		var f201 = new PAttributeFilter("Total KEEP Amount", [0,1500], PAttributeFilter.RANGE, "$1,500 or less", "totalkeepamount", PAttribute.NUMBER);
		var f202 = new PAttributeFilter("Total KEEP Amount", [1501,2500], PAttributeFilter.RANGE, "$1,501 to $2,500", "totalkeepamount", PAttribute.NUMBER);
		var f203 = new PAttributeFilter("Total KEEP Amount", [2501,3500], PAttributeFilter.RANGE, "$2,501 to $3,500", "totalkeepamount", PAttribute.NUMBER);
		var f204 = new PAttributeFilter("Total KEEP Amount", [3501,5000], PAttributeFilter.RANGE, "$3,501 to $5,000", "totalkeepamount", PAttribute.NUMBER);
		var f205 = new PAttributeFilter("Total KEEP Amount", [5001,10000], PAttributeFilter.RANGE, "Over $5,000", "totalkeepamount", PAttribute.NUMBER);
		set.setDisplayFilters([f0,f1,f101,f102,f103,f104,f105,f201,f202,f203,f204,f205]);
	}
	// Kansas Housing Corporation KEEP
	else if (set.id == 83500) {
		var f0 = new PAttributeFilter("Subsidy", [0,10000], PAttributeFilter.RANGE, "$10,000 or Less", "subsidy", PAttribute.NUMBER);
		var f1 = new PAttributeFilter("Subsidy", [10001,14000], PAttributeFilter.RANGE, "$10,001 to $14,000", "subsidy", PAttribute.NUMBER);
		var f2 = new PAttributeFilter("Subsidy", [14001,17000], PAttributeFilter.RANGE, "$14,001 to $17,000", "subsidy", PAttribute.NUMBER);
		var f3 = new PAttributeFilter("Subsidy", [17000,20400], PAttributeFilter.RANGE, "Over $17,000", "subsidy", PAttribute.NUMBER);
		var f101 = new PAttributeFilter("Percent of State Median Income", [0,30], PAttributeFilter.RANGE, "0% to 30%", "percentstatemedinc", PAttribute.NUMBER);
		var f102 = new PAttributeFilter("Percent of State Median Income", [31,50], PAttributeFilter.RANGE, "31% to 50%", "percentstatemedinc", PAttribute.NUMBER);
		var f103 = new PAttributeFilter("Percent of State Median Income", [51,60], PAttributeFilter.RANGE, "51% to 60%", "percentstatemedinc", PAttribute.NUMBER);
		var f104 = new PAttributeFilter("Percent of State Median Income", [61,80], PAttributeFilter.RANGE, "61% to 80%", "percentstatemedinc", PAttribute.NUMBER);
		set.setDisplayFilters([f0,f1,f2,f3,f101,f102,f103,f104]);
	}
	// Kansas Housing Corporation Weatherization Assistance Program
	else if (set.id == 83600) {
		var f0 = new PAttributeFilter("Subgrantee Name", ["COMMUNITY ACTION OF TOPEKA"], PAttributeFilter.EQUAL, "Community Action of Topeka", "subgranteename", PAttribute.STRING);
		var f1 = new PAttributeFilter("Subgrantee Name", ["EAST CENTRAL KS ECON OPPT CORP"], PAttributeFilter.EQUAL, "East Central Kansas Economic Opportunity Corporation", "subgranteename", PAttribute.STRING);
		var f2 = new PAttributeFilter("Subgrantee Name", ["HARVEST AMERICA CORPORATION-SW"], PAttributeFilter.EQUAL, "Harvest America Corporation - SW", "subgranteename", PAttribute.STRING);
		var f3 = new PAttributeFilter("Subgrantee Name", ["HARVEST AMERICA CORPORATION-WY"], PAttributeFilter.EQUAL, "Harvest America Corporation - WY", "subgranteename", PAttribute.STRING);
		var f4 = new PAttributeFilter("Subgrantee Name", ["JOHNSON COUNTY HUMAN RES/AGING"], PAttributeFilter.EQUAL, "Johnson County Human Services & Aging", "subgranteename", PAttribute.STRING);
		var f5 = new PAttributeFilter("Subgrantee Name", ["NORTH CENTRAL REGIONAL PLN COM"], PAttributeFilter.EQUAL, "North Central Regional Planning Committee", "subgranteename", PAttribute.STRING);
		var f6 = new PAttributeFilter("Subgrantee Name", ["NORTHEAST KS COMM ACTION PRGM"], PAttributeFilter.EQUAL, "Northeast Kansas Community Action Program", "subgranteename", PAttribute.STRING);
		var f7 = new PAttributeFilter("Subgrantee Name", ["SOUTH CENTRAL KS ECON DEV DIST"], PAttributeFilter.EQUAL, "South Central Kansas Economic Development District", "subgranteename", PAttribute.STRING);
		var f8 = new PAttributeFilter("Subgrantee Name", ["SOUTHEAST KS COMM ACTION PRGM"], PAttributeFilter.EQUAL, "Southeast Kansas Community Action Program", "subgranteename", PAttribute.STRING);
		var f101 = new PAttributeFilter("Fund", ["DOE07"], PAttributeFilter.EQUAL, "DOE07", "fund", PAttribute.STRING);
		var f102 = new PAttributeFilter("Fund", ["DOE08"], PAttributeFilter.EQUAL, "DOE08", "fund", PAttribute.STRING);
		var f103 = new PAttributeFilter("Fund", ["KS07"], PAttributeFilter.EQUAL, "KS07", "fund", PAttribute.STRING);
		var f104 = new PAttributeFilter("Fund", ["LP07"], PAttributeFilter.EQUAL, "LP07", "fund", PAttribute.STRING);
		var f105 = new PAttributeFilter("Fund", ["LP08"], PAttributeFilter.EQUAL, "LP08", "fund", PAttribute.STRING);
		var f201 = new PAttributeFilter("Completion Date", ["2006"], PAttributeFilter.RANGE, "2006", "completiondate", PAttribute.STRING);
		var f202 = new PAttributeFilter("Completion Date", ["2007"], PAttributeFilter.RANGE, "2007", "completiondate", PAttribute.STRING);
		var f203 = new PAttributeFilter("Completion Date", ["2008"], PAttributeFilter.RANGE, "2008", "completiondate", PAttribute.STRING);
		var f301 = new PAttributeFilter("Total Cost", [0,800], PAttributeFilter.RANGE, "$800 or less", "jobtotal", PAttribute.NUMBER);
		var f302 = new PAttributeFilter("Total Cost", [801,1500], PAttributeFilter.RANGE, "$801 - $1,500", "jobtotal", PAttribute.NUMBER);
		var f303 = new PAttributeFilter("Total Cost", [1501,3000], PAttributeFilter.RANGE, "$1,501 - $3,000", "jobtotal", PAttribute.NUMBER);
		var f304 = new PAttributeFilter("Total Cost", [3001,8254], PAttributeFilter.RANGE, "Over $3,000", "jobtotal", PAttribute.NUMBER);
		var f401 = new PAttributeFilter("Funding Source", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "fund", PAttribute.STRING);
		var f402 = new PAttributeFilter("Funding Source", ["DOE"], PAttributeFilter.RANGE, "DOE", "fund", PAttribute.STRING);
		var f403 = new PAttributeFilter("Funding Source", ["LP"], PAttributeFilter.RANGE, "LP", "fund", PAttribute.STRING);
		var f404 = new PAttributeFilter("Funding Source", ["KS"], PAttributeFilter.RANGE, "KS", "fund", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f2,f3,f4,f5,f6,f7,f8,f101,f102,f103,f104,f105,f201,f202,f203,f301,f302,f303,f304,f401,f402,f403,f404]);
	}
	// 93150 - IFF (subscriber)
	// 93200 - IFF public
	else if (set.id == 93150 || set.id == 93200) {
		if (set.id == 93150)
			set.colorcodes = [square_blue,square_grey,square,square_purple];
		else if (set.id == 93200)
			set.colorcodes = [circle_blue,circle_grey,circle,circle_purple];

		var f = [];
		f.push( new PAttributeFilter("IFF Client Type", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "iffclienttype", PAttribute.STRING) );
		f.push( new PAttributeFilter("IFF Client Type", ["Loan"], PAttributeFilter.EQUAL, "Loan", "iffclienttype", PAttribute.STRING) );
		f.push( new PAttributeFilter("IFF Client Type", ["Consulting"], PAttributeFilter.EQUAL, "Real Estate Services Consulting", "iffclienttype", PAttribute.STRING) );
		f.push( new PAttributeFilter("IFF Client Type", ["Consulting/Development"], PAttributeFilter.EQUAL, "Real Estate Services Consulting/Development", "iffclienttype", PAttribute.STRING) );
		f.push( new PAttributeFilter("IFF Client Type", ["Development"], PAttributeFilter.EQUAL, "Real Estate Services Development", "iffclienttype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Service Type", ["Administration"], PAttributeFilter.EQUAL, "Administration", "siteservicetype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Service Type", ["Affordable Housing"], PAttributeFilter.EQUAL, "Affordable Housing", "siteservicetype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Service Type", ["Arts and Culture"], PAttributeFilter.EQUAL, "Arts and Culture", "siteservicetype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Service Type", ["Charter School"], PAttributeFilter.EQUAL, "Charter School", "siteservicetype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Service Type", ["Child Care"], PAttributeFilter.EQUAL, "Child Care", "siteservicetype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Service Type", ["Community Development"], PAttributeFilter.EQUAL, "Community Development", "siteservicetype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Service Type", ["Education"], PAttributeFilter.EQUAL, "Education", "siteservicetype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Service Type", ["Health Care"], PAttributeFilter.EQUAL, "Health Care", "siteservicetype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Service Type", ["Job Training"], PAttributeFilter.EQUAL, "Job Training", "siteservicetype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Service Type", ["Senior Services"], PAttributeFilter.EQUAL, "Senior Services", "siteservicetype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Service Type", ["Special Needs Services"], PAttributeFilter.EQUAL, "Special Needs Services", "siteservicetype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Service Type", ["Substance Abuse"], PAttributeFilter.EQUAL, "Substance Abuse", "siteservicetype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Service Type", ["Supportive Housing/Homeless Services"], PAttributeFilter.EQUAL, "Supportive Housing/Homeless Services", "siteservicetype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Service Type", ["Youth Services"], PAttributeFilter.EQUAL, "Youth Services", "siteservicetype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Service Type", ["Multi-Service"], PAttributeFilter.EQUAL, "Multi-Service", "siteservicetype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Service Type", ["Other"], PAttributeFilter.EQUAL, "Other", "siteservicetype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Year", [1985,2004], PAttributeFilter.RANGE, "pre-2005", "year_filter", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Year", [2005], PAttributeFilter.EQUAL, "2005", "year_filter", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Year", [2006], PAttributeFilter.EQUAL, "2006", "year_filter", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Year", [2007], PAttributeFilter.EQUAL, "2007", "year_filter", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Year", [2008], PAttributeFilter.EQUAL, "2008", "year_filter", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Year", [2009], PAttributeFilter.EQUAL, "2009", "year_filter", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Loan Amount", [0,250000], PAttributeFilter.RANGE, "$250,000 or less", "closingamount", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Loan Amount", [250001,500000], PAttributeFilter.RANGE, "$250,001 to $500,000", "closingamount", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Loan Amount", [500001,750000], PAttributeFilter.RANGE, "$500,001 to $750,000", "closingamount", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Loan Amount", [750001,1000000], PAttributeFilter.RANGE, "$750,001 to $1,000,000", "closingamount", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Loan Amount", [1000001,4545000], PAttributeFilter.RANGE, "More than $1,000,000", "closingamount", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("State", ["IA"], PAttributeFilter.EQUAL, "Iowa", "state", PAttribute.STRING) );
		f.push( new PAttributeFilter("State", ["IL"], PAttributeFilter.EQUAL, "Illinois", "state", PAttribute.STRING) );
		f.push( new PAttributeFilter("State", ["IN"], PAttributeFilter.EQUAL, "Indiana", "state", PAttribute.STRING) );
		f.push( new PAttributeFilter("State", ["MO"], PAttributeFilter.EQUAL, "Missouri", "state", PAttribute.STRING) );
		f.push( new PAttributeFilter("State", ["OH"], PAttributeFilter.EQUAL, "Ohio", "state", PAttribute.STRING) );
		f.push( new PAttributeFilter("State", ["WI"], PAttributeFilter.EQUAL, "Wisconsin", "state", PAttribute.STRING) );
		set.setDisplayFilters(f);
	}
	// LA Neighborhood Housing Services
	else if (set.id == 84050) {
		var f0 = new PAttributeFilter("Ethnicity", ["Hispanic or Latino"], PAttributeFilter.EQUAL, "Hispanic or Latino", "ethnicity", PAttribute.STRING);
		var f1 = new PAttributeFilter("Ethnicity", ["Not Hispanic or Latino"], PAttributeFilter.EQUAL, "Not Hispanic or Latino", "ethnicity", PAttribute.STRING);
		var f2 = new PAttributeFilter("Ethnicity", ["Information not Provided"], PAttributeFilter.EQUAL, "Information not Provided", "ethnicity", PAttribute.STRING);
		var f101 = new PAttributeFilter("Race", ["American Indian or Alaskan Native"], PAttributeFilter.EQUAL, "American Indian or Alaskan Native", "race", PAttribute.STRING);
		var f102 = new PAttributeFilter("Race", ["American Indian or Alaskan Native and Black or African American"], PAttributeFilter.EQUAL, "Amer Indian or Alaskan Native and Black or Af Amer", "race", PAttribute.STRING);
		var f103 = new PAttributeFilter("Race", ["American Indian or Alaskan Native and White"], PAttributeFilter.EQUAL, "Amer Indian or Alaskan Native and White", "race", PAttribute.STRING);
		var f104 = new PAttributeFilter("Race", ["Asian"], PAttributeFilter.EQUAL, "Asian", "race", PAttribute.STRING);
		var f105 = new PAttributeFilter("Race", ["Asian and White"], PAttributeFilter.EQUAL, "Asian and White", "race", PAttribute.STRING);
		var f106 = new PAttributeFilter("Race", ["Black or African American"], PAttributeFilter.EQUAL, "Black or African American", "race", PAttribute.STRING);
		var f107 = new PAttributeFilter("Race", ["Black or African American and White"], PAttributeFilter.EQUAL, "Black or African American and White", "race", PAttribute.STRING);
		var f108 = new PAttributeFilter("Race", ["Native Hawaiian or Other Pacific Islander"], PAttributeFilter.EQUAL, "Native Hawaiian or Other Pacific Islander", "race", PAttribute.STRING);
		var f109 = new PAttributeFilter("Race", ["Native Hawaiian or Other Pacific Islander and White"], PAttributeFilter.EQUAL, "Native Hawaiian or Other Pacific Islander and White", "race", PAttribute.STRING);
		var f110 = new PAttributeFilter("Race", ["White"], PAttributeFilter.EQUAL, "White", "race", PAttribute.STRING);
		var f111 = new PAttributeFilter("Race", ["Information not Provided"], PAttributeFilter.EQUAL, "Information not Provided", "race", PAttribute.STRING);
		var f201 = new PAttributeFilter("Gender", ["Female"], PAttributeFilter.EQUAL, "Female", "gender", PAttribute.STRING);
		var f202 = new PAttributeFilter("Gender", ["Male"], PAttributeFilter.EQUAL, "Male", "gender", PAttribute.STRING);
		var f203 = new PAttributeFilter("Gender", ["Unspecified"], PAttributeFilter.EQUAL, "Unspecified", "gender", PAttribute.STRING);
		var f301 = new PAttributeFilter("AMI %", [1,24], PAttributeFilter.RANGE, "less than 25", "ami", PAttribute.NUMBER);
		var f302 = new PAttributeFilter("AMI %", [25,50], PAttributeFilter.RANGE, "25-50", "ami", PAttribute.NUMBER);
		var f303 = new PAttributeFilter("AMI %", [51,75], PAttributeFilter.RANGE, "51-75", "ami", PAttribute.NUMBER);
		var f304 = new PAttributeFilter("AMI %", [76,100], PAttributeFilter.RANGE, "76-100", "ami", PAttribute.NUMBER);
		var f305 = new PAttributeFilter("AMI %", [101,125], PAttributeFilter.RANGE, "101-125", "ami", PAttribute.NUMBER);
		var f306 = new PAttributeFilter("AMI %", [126,150], PAttributeFilter.RANGE, "126-150", "ami", PAttribute.NUMBER);
		var f307 = new PAttributeFilter("AMI %", [151,175], PAttributeFilter.RANGE, "151-175", "ami", PAttribute.NUMBER);
		var f308 = new PAttributeFilter("AMI %", [176,200], PAttributeFilter.RANGE, "176-200", "ami", PAttribute.NUMBER);
		set.setDisplayFilters([f0,f1,f2,f101,f102,f103,f104,f105,f106,f107,f108,f109,f110,f111,f201,f202,f203,f301,f302,f303,f304,f305,f306,f307,f308]);
	}
	// Cooper University Hospital
	else if (set.id == 84200) {
		var f0 = new PAttributeFilter("Property Type", ["Commercial"], PAttributeFilter.EQUAL, "Commercial", "property_type", PAttribute.STRING);
		var f1 = new PAttributeFilter("Property Type", ["Commercial/Res Mixed-Use"], PAttributeFilter.EQUAL, "Commercial/Res Mixed-Use", "property_type", PAttribute.STRING);
		var f2 = new PAttributeFilter("Property Type", ["Multi-Unit/Apt/Condo Bldg"], PAttributeFilter.EQUAL, "Multi-Unit/Apt/Condo Bldg", "property_type", PAttribute.STRING);
		var f3 = new PAttributeFilter("Property Type", ["Row Home"], PAttributeFilter.EQUAL, "Row Home", "property_type", PAttribute.STRING);
		var f4 = new PAttributeFilter("Property Type", ["Vacant Land"], PAttributeFilter.EQUAL, "Vacant Land", "property_type", PAttribute.STRING);
		var f101 = new PAttributeFilter("Redevelopment Plan", ["Cooper Plaza"], PAttributeFilter.EQUAL, "Cooper Plaza", "redev", PAttribute.STRING);
		var f102 = new PAttributeFilter("Redevelopment Plan", ["Lanning Square"], PAttributeFilter.EQUAL, "Lanning Square", "redev", PAttribute.STRING);
		var f201 = new PAttributeFilter("Redevelopment Plan Status", ["Already Owned by ABC"], PAttributeFilter.EQUAL, "Already Owned by ABC", "redev_status", PAttribute.STRING);
		var f202 = new PAttributeFilter("Redevelopment Plan Status", ["Already Owned by City/CRA"], PAttributeFilter.EQUAL, "Already Owned by City/CRA", "redev_status", PAttribute.STRING);
		var f203 = new PAttributeFilter("Redevelopment Plan Status", ["May Be Acquired"], PAttributeFilter.EQUAL, "May Be Acquired", "redev_status", PAttribute.STRING);
		var f204 = new PAttributeFilter("Redevelopment Plan Status", ["Not To Be Acquired"], PAttributeFilter.EQUAL, "Not To Be Acquired", "redev_status", PAttribute.STRING);
		var f205 = new PAttributeFilter("Redevelopment Plan Status", ["To Be Acquired"], PAttributeFilter.EQUAL, "To Be Acquired", "redev_status", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f2,f3,f4,f101,f102,f201,f202,f203,f204,f205]);
	}
	// Swarthmore College Chester Business Locations
	else if (set.id == 84250) {
		var f0 = new PAttributeFilter("Type of Organization", ["After-School Program"], PAttributeFilter.EQUAL, "After-School Program", "type_of_org", PAttribute.STRING);
		var f1 = new PAttributeFilter("Type of Organization", ["Business Proprietor"], PAttributeFilter.EQUAL, "Business Proprietor", "type_of_org", PAttribute.STRING);
		var f2 = new PAttributeFilter("Type of Organization", ["Catholic School"], PAttributeFilter.EQUAL, "Catholic School", "type_of_org", PAttribute.STRING);
		var f3 = new PAttributeFilter("Type of Organization", ["Charter School"], PAttributeFilter.EQUAL, "Charter School", "type_of_org", PAttribute.STRING);
		var f4 = new PAttributeFilter("Type of Organization", ["City Services"], PAttributeFilter.EQUAL, "City Services", "type_of_org", PAttribute.STRING);
		var f5 = new PAttributeFilter("Type of Organization", ["College/University"], PAttributeFilter.EQUAL, "College/University", "type_of_org", PAttribute.STRING);
		var f6 = new PAttributeFilter("Type of Organization", ["Community Supportive Services"], PAttributeFilter.EQUAL, "Community Supportive Services", "type_of_org", PAttribute.STRING);
		var f7 = new PAttributeFilter("Type of Organization", ["Criminal Justice"], PAttributeFilter.EQUAL, "Criminal Justice", "type_of_org", PAttribute.STRING);
		var f8 = new PAttributeFilter("Type of Organization", ["Cultural & Fine Arts"], PAttributeFilter.EQUAL, "Cultural & Fine Arts", "type_of_org", PAttribute.STRING);
		var f9 = new PAttributeFilter("Type of Organization", ["Economic"], PAttributeFilter.EQUAL, "Economic", "type_of_org", PAttribute.STRING);
		var f10 = new PAttributeFilter("Type of Organization", ["Faith-Based Institutions"], PAttributeFilter.EQUAL, "Faith-Based Institutions", "type_of_org", PAttribute.STRING);
		var f11 = new PAttributeFilter("Type of Organization", ["Financial & Banking"], PAttributeFilter.EQUAL, "Financial & Banking", "type_of_org", PAttribute.STRING);
		var f12 = new PAttributeFilter("Type of Organization", ["Fraternal"], PAttributeFilter.EQUAL, "Fraternal", "type_of_org", PAttribute.STRING);
		var f13 = new PAttributeFilter("Type of Organization", ["Funeral Home"], PAttributeFilter.EQUAL, "Funeral Home", "type_of_org", PAttribute.STRING);
		var f14 = new PAttributeFilter("Type of Organization", ["Health & Medical"], PAttributeFilter.EQUAL, "Health & Medical", "type_of_org", PAttribute.STRING);
		var f15 = new PAttributeFilter("Type of Organization", ["High School"], PAttributeFilter.EQUAL, "High School", "type_of_org", PAttribute.STRING);
		var f16 = new PAttributeFilter("Type of Organization", ["Law Organization"], PAttributeFilter.EQUAL, "Law Organization", "type_of_org", PAttribute.STRING);
		var f17 = new PAttributeFilter("Type of Organization", ["Local Government"], PAttributeFilter.EQUAL, "Local Government", "type_of_org", PAttribute.STRING);
		var f18 = new PAttributeFilter("Type of Organization", ["Lottery"], PAttributeFilter.EQUAL, "Lottery", "type_of_org", PAttribute.STRING);
		var f19 = new PAttributeFilter("Type of Organization", ["Middle School"], PAttributeFilter.EQUAL, "Middle School", "type_of_org", PAttribute.STRING);
		var f20 = new PAttributeFilter("Type of Organization", ["Pool"], PAttributeFilter.EQUAL, "Pool", "type_of_org", PAttribute.STRING);
		var f21 = new PAttributeFilter("Type of Organization", ["Pre-School"], PAttributeFilter.EQUAL, "Pre-School", "type_of_org", PAttribute.STRING);
		var f22 = new PAttributeFilter("Type of Organization", ["Public Housing"], PAttributeFilter.EQUAL, "Public Housing", "type_of_org", PAttribute.STRING);
		var f23 = new PAttributeFilter("Type of Organization", ["School Administration"], PAttributeFilter.EQUAL, "School Administration", "type_of_org", PAttribute.STRING);
		var f24 = new PAttributeFilter("Type of Organization", ["Senior Housing & Supportive Services"], PAttributeFilter.EQUAL, "Senior Housing & Supportive Services", "type_of_org", PAttribute.STRING);
		var f25 = new PAttributeFilter("Type of Organization", [""], PAttributeFilter.EQUAL, "", "type_of_org", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f11,f12,f13,f14,f15,f16,f17,f18,f19,f20,f21,f22,f23,f24,f25]);
	}
	// Swarthmore College Hope VI Individuals
	else if (set.id == 84300) {
		var f0 = new PAttributeFilter("Age", [0,5], PAttributeFilter.RANGE, "under 5", "age", PAttribute.NUMBER);
		var f1 = new PAttributeFilter("Age", [6,18], PAttributeFilter.RANGE, "6 to 18", "age", PAttribute.NUMBER);
		var f2 = new PAttributeFilter("Age", [19,30], PAttributeFilter.RANGE, "19 to 30", "age", PAttribute.NUMBER);
		var f3 = new PAttributeFilter("Age", [31,55], PAttributeFilter.RANGE, "31 to 55", "age", PAttribute.NUMBER);
		var f4 = new PAttributeFilter("Age", [56,65], PAttributeFilter.RANGE, "56 to 65", "age", PAttribute.NUMBER);
		var f5 = new PAttributeFilter("Age", [66,75], PAttributeFilter.RANGE, "66 to 75", "age", PAttribute.NUMBER);
		var f6 = new PAttributeFilter("Age", [76,95], PAttributeFilter.RANGE, "76 and older", "age", PAttribute.NUMBER);
		set.setDisplayFilters([f0,f1,f2,f3,f4,f5,f6]);
	}
	// DoubleStar Inc.
	else if (set.id == 84500) {
		var years = [];
		for (var i=1933; i<1990; i++)
			years.push("/" + i + "\\0");
		var f0 = new PAttributeFilter("Date 1", years, PAttributeFilter.RANGE, "Before 1990", "date_1", PAttribute.STRING);
		years = [];
		for (var i=1990; i<2000; i++)
			years.push("/" + i + "\\0");
		var f1 = new PAttributeFilter("Date 1", years, PAttributeFilter.RANGE, "Between 1990 and 2000", "date_1", PAttribute.STRING);
		years = [];
		for (var i=2000; i<2008; i++)
			years.push("/" + i + "\\0");
		var f2 = new PAttributeFilter("Date 1", years, PAttributeFilter.RANGE, "Since 2000", "date_1", PAttribute.STRING);
		var f101 = new PAttributeFilter("Date 2", ["/2008\\0"], PAttributeFilter.RANGE, "2008", "date_2", PAttribute.STRING);
		var f102 = new PAttributeFilter("Date 2", ["/2009\\0"], PAttributeFilter.RANGE, "2009", "date_2", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f2,f101,f102]);
	}
	// Bank Of America Grantmaking
	else if (set.id == 84850) {
		var f0 = new PAttributeFilter("Category", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "maincat", PAttribute.STRING);
		var f1 = new PAttributeFilter("Category", ["Arts"], PAttributeFilter.EQUAL, "Arts", "maincat", PAttribute.STRING);
		var f2 = new PAttributeFilter("Category", ["Community Development"], PAttributeFilter.EQUAL, "Community Development", "maincat", PAttribute.STRING);
		var f3 = new PAttributeFilter("Category", ["Education"], PAttributeFilter.EQUAL, "Education", "maincat", PAttribute.STRING);
		var f4 = new PAttributeFilter("Category", ["Environment"], PAttributeFilter.EQUAL, "Environment", "maincat", PAttribute.STRING);
		var f5 = new PAttributeFilter("Category", ["Health"], PAttributeFilter.EQUAL, "Health", "maincat", PAttribute.STRING);
		var f101 = new PAttributeFilter("Total Amount", [500,5000], PAttributeFilter.RANGE, "$5,000 or Less", "total", PAttribute.NUMBER);
		var f102 = new PAttributeFilter("Total Amount", [5001,10000], PAttributeFilter.RANGE, "$5,001 - $10,000", "total", PAttribute.NUMBER);
		var f103 = new PAttributeFilter("Total Amount", [10001,25000], PAttributeFilter.RANGE, "$10,001 - $25,000", "total", PAttribute.NUMBER);
		var f104 = new PAttributeFilter("Total Amount", [25001,50000], PAttributeFilter.RANGE, "$25,001 - $50,000", "total", PAttribute.NUMBER);
		var f105 = new PAttributeFilter("Total Amount", [50001,1400000], PAttributeFilter.RANGE, "Over $50,000", "total", PAttribute.NUMBER);
		set.setDisplayFilters([f0,f1,f2,f3,f4,f5,f101,f102,f103,f104,f105]);
	}
	// Coopers Ferry Parking
	else if (set.id == 85050) {
		// This set contains polygons, so the custom color icon order must be set for those too (in polycolorcodes).
		// colorcodes must still be set even if the set only contains polygons.
		set.colorcodes = [polyicon,poly_purple,poly_grey,poly_drkgreen,poly_green,poly_drkblue,poly_blue,poly_white];
		set.polycolorcodes = [polyicon,poly_purple,poly_grey,poly_drkgreen,poly_green,poly_drkblue,poly_blue,poly_white];
		var f0 = new PAttributeFilter("Type", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "type", PAttribute.STRING);
		var f1 = new PAttributeFilter("Type", ["Main"], PAttributeFilter.EQUAL, "Main", "type", PAttribute.STRING);
		var f2 = new PAttributeFilter("Type", ["Remote"], PAttributeFilter.EQUAL, "Remote", "type", PAttribute.STRING);
		var f3 = new PAttributeFilter("Type", ["DRPA"], PAttributeFilter.EQUAL, "DRPA", "type", PAttribute.STRING);
		var f4 = new PAttributeFilter("Type", ["Hargrove"], PAttributeFilter.EQUAL, "Hargrove", "type", PAttribute.STRING);
		var f5 = new PAttributeFilter("Type", ["L3 Comm."], PAttributeFilter.EQUAL, "L3 Comm.", "type", PAttribute.STRING);
		var f6 = new PAttributeFilter("Type", ["Port"], PAttributeFilter.EQUAL, "Port", "type", PAttribute.STRING);
		var f7 = new PAttributeFilter("Type", ["Riversharks"], PAttributeFilter.EQUAL, "Riversharks", "type", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f2,f3,f4,f5,f6,f7]);
        }
	// AchieveAbility
	else if (set.id == 85000) {
		// custom order of colors for this dataset
		set.colorcodes = [triangle_purple,triangle_grey,triangle_blue,triangle_green,triangle,triangle_red,triangle_yellow,triangle_white,triangle_pink,triangle_black];
		var f0 = new PAttributeFilter("Property Type", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "property_type", PAttribute.STRING);
		var f1 = new PAttributeFilter("Property Type", ["Avondale"], PAttributeFilter.EQUAL, "Avondale", "property_type", PAttribute.STRING);
		var f2 = new PAttributeFilter("Property Type", ["Cecil Housing"], PAttributeFilter.EQUAL, "Cecil Housing", "property_type", PAttribute.STRING);
		var f3 = new PAttributeFilter("Property Type", ["Dewey Housing"], PAttributeFilter.EQUAL, "Dewey Housing", "property_type", PAttribute.STRING);
		var f4 = new PAttributeFilter("Property Type", ["Haddington"], PAttributeFilter.EQUAL, "Haddington", "property_type", PAttribute.STRING);
		var f5 = new PAttributeFilter("Property Type", ["Haddington II"], PAttributeFilter.EQUAL, "Haddington II", "property_type", PAttribute.STRING);
		var f6 = new PAttributeFilter("Property Type", ["Ruby Housing"], PAttributeFilter.EQUAL, "Ruby Housing", "property_type", PAttribute.STRING);
		var f7 = new PAttributeFilter("Property Type", ["Von Louhr"], PAttributeFilter.EQUAL, "Von Louhr", "property_type", PAttribute.STRING);
		var f8 = new PAttributeFilter("Property Type", ["Woodcrest Housing"], PAttributeFilter.EQUAL, "Woodcrest Housing", "property_type", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f2,f3,f4,f5,f6,f7,f8]);
	}
	// Camden Tax Liens
	else if (set.id == 85300) {
		var f0 = new PAttributeFilter("Total Due", [0,1000], PAttributeFilter.RANGE, "less than $1,000", "total_due", PAttribute.NUMBER);
		var f1 = new PAttributeFilter("Total Due", [1001,10000], PAttributeFilter.RANGE, "$1,001-$10,000", "total_due", PAttribute.NUMBER);
		var f2 = new PAttributeFilter("Total Due", [10001,50000], PAttributeFilter.RANGE, "$10,001-$50,000", "total_due", PAttribute.NUMBER);
		var f3 = new PAttributeFilter("Total Due", [50001,100000], PAttributeFilter.RANGE, "$50,001-$100,000", "total_due", PAttribute.NUMBER);
		var f4 = new PAttributeFilter("Total Due", [100001,1326005], PAttributeFilter.RANGE, "more than $100,000", "total_due", PAttribute.NUMBER);
		var f101 = new PAttributeFilter("Minimum Accepted", [0,500], PAttributeFilter.RANGE, "less than $500", "minimum_accepted", PAttribute.NUMBER);
		var f102 = new PAttributeFilter("Minimum Accepted", [501,5000], PAttributeFilter.RANGE, "$500-$5,000", "minimum_accepted", PAttribute.NUMBER);
		var f103 = new PAttributeFilter("Minimum Accepted", [5001,10000], PAttributeFilter.RANGE, "$5,001-$10,000", "minimum_accepted", PAttribute.NUMBER);
		var f104 = new PAttributeFilter("Minimum Accepted", [10001,58612], PAttributeFilter.RANGE, "more than $10,000", "minimum_accepted", PAttribute.NUMBER);
		set.setDisplayFilters([f0,f1,f2,f3,f4,f101,f102,f103,f104]);
	}
	// SIAP Nonprofit Cultural Providers
	else if (set.id == 85450) {
		var f0 = new PAttributeFilter("Size", ["Under $100,000"], PAttributeFilter.EQUAL, "Under $100,000", "size5", PAttribute.STRING);
		var f1 = new PAttributeFilter("Size", ["$100,000-500,000"], PAttributeFilter.EQUAL, "$100,000-500,000", "size5", PAttribute.STRING);
		var f2 = new PAttributeFilter("Size", ["$500,000-1,000,000"], PAttributeFilter.EQUAL, "$500,000-1,000,000", "size5", PAttribute.STRING);
		var f3 = new PAttributeFilter("Size", ["$1-2 million"], PAttributeFilter.EQUAL, "$1-2 million", "size5", PAttribute.STRING);
		var f4 = new PAttributeFilter("Size", ["Over $2 million"], PAttributeFilter.EQUAL, "Over $2 million", "size5", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f2,f3,f4]);
	}
	// Partnership CDC
	else if (set.id == 85750) {
		var f0 = new PAttributeFilter("Date Client Created", ["2008"], PAttributeFilter.RANGE, "2008", "dateclientcreated", PAttribute.STRING);
		var f1 = new PAttributeFilter("Date Client Created", ["2009"], PAttributeFilter.RANGE, "2009", "dateclientcreated", PAttribute.STRING);
		var f101 = new PAttributeFilter("Conference Date", ["2008"], PAttributeFilter.RANGE, "2008", "conferencedate", PAttribute.STRING);
		var f102 = new PAttributeFilter("Conference Date", ["2009"], PAttributeFilter.RANGE, "2009", "conferencedate", PAttribute.STRING);
		var f201 = new PAttributeFilter("Service Type", ["Foreclosure Outreach"], PAttributeFilter.EQUAL, "Foreclosure Outreach", "servicetype", PAttribute.STRING);
		var f202 = new PAttributeFilter("Service Type", ["Mortgage Default/Early Delinquency"], PAttributeFilter.EQUAL, "Mortgage Default/Early Delinquency", "servicetype", PAttribute.STRING);
		var f301 = new PAttributeFilter("Mortgage Lender", ["AURORA LOAN SERVICES LLC"], PAttributeFilter.EQUAL, "Aurora Loan Services, LLC", "mortgagelendercategory", PAttribute.STRING);
		var f302 = new PAttributeFilter("Mortgage Lender", ["BANK OF AMERICA NATIONAL ASSOCIATION"], PAttributeFilter.EQUAL, "Bank of America National Association", "mortgagelendercategory", PAttribute.STRING);
		var f303 = new PAttributeFilter("Mortgage Lender", ["CHASE HOME FINANCE LLC"], PAttributeFilter.EQUAL, "Chase Home Finance, LLC", "mortgagelendercategory", PAttribute.STRING);
		var f304 = new PAttributeFilter("Mortgage Lender", ["CITIMORTGAGE INCORPORATED"], PAttributeFilter.EQUAL, "Citimortgage Incorporated", "mortgagelendercategory", PAttribute.STRING);
		var f305 = new PAttributeFilter("Mortgage Lender", ["DEUTSCHE BANK NATIONAL TRUST COMPANY"], PAttributeFilter.EQUAL, "Deutsche Bank National Trust Company", "mortgagelendercategory", PAttribute.STRING);
		var f306 = new PAttributeFilter("Mortgage Lender", ["GMAC MORTGAGE LLC"], PAttributeFilter.EQUAL, "GMAC Mortgage LLC", "mortgagelendercategory", PAttribute.STRING);
		var f307 = new PAttributeFilter("Mortgage Lender", ["HSBC BANK USA NATIONAL ASSOCIATION"], PAttributeFilter.EQUAL, "HSBC Bank USA National Association", "mortgagelendercategory", PAttribute.STRING);
		var f308 = new PAttributeFilter("Mortgage Lender", ["LASALLE BANK NATIONAL ASSOCIATION"], PAttributeFilter.EQUAL, "LaSalle Bank National Association", "mortgagelendercategory", PAttribute.STRING);
		var f309 = new PAttributeFilter("Mortgage Lender", ["MORTGAGE ELECTRONIC REGISTRATION SYSTEM"], PAttributeFilter.EQUAL, "Mortgage Electronic Registration System", "mortgagelendercategory", PAttribute.STRING);
		var f310 = new PAttributeFilter("Mortgage Lender", ["THE BANK OF NEW YORK MELLON TRUST COMPANY"], PAttributeFilter.EQUAL, "The Bank of New York Mellon Trust Company", "mortgagelendercategory", PAttribute.STRING);
		var f311 = new PAttributeFilter("Mortgage Lender", ["US BANK NATIONAL ASSOCIATION"], PAttributeFilter.EQUAL, "US Bank National Association", "mortgagelendercategory", PAttribute.STRING);
		var f312 = new PAttributeFilter("Mortgage Lender", ["WELLS FARGO BANK NATIONAL ASSOCIATION"], PAttributeFilter.EQUAL, "Wells Fargo Bank National Association", "mortgagelendercategory", PAttribute.STRING);
		var f401 = new PAttributeFilter("Outreach Worker", ["Heng, Samol"], PAttributeFilter.EQUAL, "Samol Heng", "outreachworker", PAttribute.STRING);
		var f402 = new PAttributeFilter("Outreach Worker", ["McGeth, Shawn"], PAttributeFilter.EQUAL, "Shawn McGeth", "outreachworker", PAttribute.STRING);
		var f403 = new PAttributeFilter("Outreach Worker", ["Muhammad, Iliyaas"], PAttributeFilter.EQUAL, "Illiyaas Muhammad", "outreachworker", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f101,f102,f201,f202,f301,f302,f303,f304,f305,f306,f307,f308,f309,f310,f311,f312,f401,f402,f403]);
	}	
	// Crispus Attucks Residential Properties
	else if (set.id == 85800) {
		var f0 = new PAttributeFilter("Apartment Size", [0], PAttributeFilter.EQUAL, "0", "apts", PAttribute.NUMBER);
		var f1 = new PAttributeFilter("Apartment Size", [1], PAttributeFilter.EQUAL, "1", "apts", PAttribute.NUMBER);
		var f2 = new PAttributeFilter("Apartment Size", [2], PAttributeFilter.EQUAL, "2", "apts", PAttribute.NUMBER);
		var f3 = new PAttributeFilter("Apartment Size", [3], PAttributeFilter.EQUAL, "3", "apts", PAttribute.NUMBER);
		var f4 = new PAttributeFilter("Apartment Size", [4], PAttributeFilter.EQUAL, "4", "apts", PAttribute.NUMBER);
		var f5 = new PAttributeFilter("Apartment Size", [5], PAttributeFilter.EQUAL, "5", "apts", PAttribute.NUMBER);
		var f6 = new PAttributeFilter("Apartment Size", [6], PAttributeFilter.EQUAL, "6", "apts", PAttribute.NUMBER);
		var f101 = new PAttributeFilter("Commercial", ["yes"], PAttributeFilter.EQUAL, "yes", "commercial", PAttribute.STRING);
		var f102 = new PAttributeFilter("Commercial", ["no"], PAttributeFilter.EQUAL, "no", "commercial", PAttribute.STRING);
		var f201 = new PAttributeFilter("Project Type", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "org", PAttribute.STRING);
		var f202 = new PAttributeFilter("Project Type", ["400SGP"], PAttributeFilter.EQUAL, "400SGP", "project", PAttribute.STRING);
		var f203 = new PAttributeFilter("Project Type", ["CAA"], PAttributeFilter.EQUAL, "CAA", "project", PAttribute.STRING);
		var f204 = new PAttributeFilter("Project Type", ["SEN"], PAttributeFilter.EQUAL, "SEN", "project", PAttribute.STRING);
		var f205 = new PAttributeFilter("Project Type", ["SKW"], PAttributeFilter.EQUAL, "SKW", "project", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f2,f3,f4,f5,f6,f101,f102,f201,f202,f203,f204,f205]);
	}
	// Department of Transportation (DE, NJ, PA)
	else if (set.id == 85850) {
		var f0 = new PAttributeFilter("Type", ["Transportation Enhancement","Betterment"], PAttributeFilter.EQUAL, "Transportation Enhancement, Betterment", "typology", PAttribute.STRING);
		var f1 = new PAttributeFilter("Type", ["Bridge Preservation", "Bridge Preservation, Resurfacing, Safety", "Bridge Rehabilitation", "Bridge Replacement Bridge Preservation", "Bridge Restoration", "Resurfacing, Bridge Preservation", "Resurfacing, Bridge Rehabilitation"], PAttributeFilter.EQUAL, "Bridge Preservation, Rehab, Restoration", "typology", PAttribute.STRING);
		var f2 = new PAttributeFilter("Type", ["Bridge Removal", "Bridge Replacement", "Bridge Replacement Bridge Preservation"], PAttributeFilter.EQUAL, "Bridge Removal, Replacement", "typology", PAttribute.STRING);
		var f3 = new PAttributeFilter("Type", ["Highway Reconstruction", "Highway Restoration"], PAttributeFilter.EQUAL, "Highway Reconstruction, Restoration", "typology", PAttribute.STRING);
		var f4 = new PAttributeFilter("Type", ["Interchange Improvements", "New Ramps"], PAttributeFilter.EQUAL, "Interchange, Ramp Improvements", "typology", PAttribute.STRING);
		var f5 = new PAttributeFilter("Type", ["ITS", "ITS Installation"], PAttributeFilter.EQUAL, "ITS", "typology", PAttribute.STRING);
		var f6 = new PAttributeFilter("Type", ["Pavement Restoration", "Preservation", "Preservation, Safety", "Restoration", "Resurfacing", "Resurfacing, Bridge Preservation", "Resurfacing, Bridge Rehabilitation", "Resurfacing, Safety", "Roadway Rehabilitation", "Roads, Bridges, Pedestrian and Bicycle Projects"], PAttributeFilter.EQUAL, "Roadway/Pavement Restoration/Resurfacing", "typology", PAttribute.STRING);
		var f7 = new PAttributeFilter("Type", ["Safety", "Resurfacing, Safety", "Bridge Preservation, Resurfacing, Safety", "Preservation, Safety"], PAttributeFilter.EQUAL, "Safety", "typology", PAttribute.STRING);
		var f8 = new PAttributeFilter("Type", ["Shoulder Improvements", "Slope Repair", "Tunnel Rehabilitation"], PAttributeFilter.EQUAL, "Shoulder, Slope and Tunnel Rehabilitation", "typology", PAttribute.STRING);
		var f9 = new PAttributeFilter("Type", ["Preservation", "Preservation, Safety", "Restoration"], PAttributeFilter.EQUAL, "Preservation, Restoration", "typology", PAttribute.STRING);
		var f10 = new PAttributeFilter("Type", ["Transit"], PAttributeFilter.EQUAL, "Transit", "typology", PAttribute.STRING);
		var f101 = new PAttributeFilter("Amount", [0,1000000], PAttributeFilter.RANGE, "less than $1,000,000", "amount", PAttribute.NUMBER);
		var f102 = new PAttributeFilter("Amount", [1000001,2500000], PAttributeFilter.RANGE, "$1,000,001 to $2,500,000", "amount", PAttribute.NUMBER);
		var f103 = new PAttributeFilter("Amount", [2500001,4000000], PAttributeFilter.RANGE, "$2,500,001 to $4,000,000", "amount", PAttribute.NUMBER);
		var f104 = new PAttributeFilter("Amount", [4000001,6000000], PAttributeFilter.RANGE, "$4,000,001 to $6,000,000", "amount", PAttribute.NUMBER);
		var f105 = new PAttributeFilter("Amount", [6000001,10000000], PAttributeFilter.RANGE, "$6,000,001 to $10,000,000", "amount", PAttribute.NUMBER);
		var f106 = new PAttributeFilter("Amount", [10000001,80000000], PAttributeFilter.RANGE, "more than $10,000,000", "amount", PAttribute.NUMBER);
		set.setDisplayFilters([f0,f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f101,f102,f103,f104,f105,f106]);
	}
	// Nonprofit Finance Fund Child Care Investments
	else if (set.id == 85950) {
		var f0 = new PAttributeFilter("Grant Award", [0,25000], PAttributeFilter.RANGE, "$25,000 or Less", "grant_award", PAttribute.NUMBER);
		var f1 = new PAttributeFilter("Grant Award", [25001,40000], PAttributeFilter.RANGE, "$25,000 or Less", "grant_award", PAttribute.NUMBER);
		var f2 = new PAttributeFilter("Grant Award", [40000,50000], PAttributeFilter.RANGE, "Over $40,000", "grant_award", PAttribute.NUMBER);
		var f101 = new PAttributeFilter("Award Date", ["/2004","/2003"], PAttributeFilter.RANGE, "2004 or earlier", "award_date", PAttribute.STRING);
		var f102 = new PAttributeFilter("Award Date", ["/2005"], PAttributeFilter.EQUAL, "2005", "award_date", PAttribute.STRING);
		var f103 = new PAttributeFilter("Award Date", ["/2006"], PAttributeFilter.EQUAL, "2006", "award_date", PAttribute.STRING);
		var f104 = new PAttributeFilter("Award Date", ["/2007"], PAttributeFilter.EQUAL, "2007", "award_date", PAttribute.STRING);
		var f105 = new PAttributeFilter("Award Date", ["/2008"], PAttributeFilter.EQUAL, "2008", "award_date", PAttribute.STRING);
		var f106 = new PAttributeFilter("Award Date", ["/2009"], PAttributeFilter.EQUAL, "2009", "award_date", PAttribute.STRING);
		var f201 = new PAttributeFilter("Total Project Amount", [0,3500], PAttributeFilter.EQUAL, "$3500 or Less", "total_project", PAttribute.NUMBER);
		var f202 = new PAttributeFilter("Total Project Amount", [3501,50000], PAttributeFilter.EQUAL, "$3,501 to $50,000", "total_project", PAttribute.NUMBER);
		var f203 = new PAttributeFilter("Total Project Amount", [50001,75000], PAttributeFilter.EQUAL, "$50,001 to $75,000", "total_project", PAttribute.NUMBER);
		var f204 = new PAttributeFilter("Total Project Amount", [75001,100000], PAttributeFilter.EQUAL, "$75,001 to $100,000", "total_project", PAttribute.NUMBER);
		var f205 = new PAttributeFilter("Total Project Amount", [100000,1386000], PAttributeFilter.EQUAL, "Over $100,000", "total_project", PAttribute.NUMBER);
		set.setDisplayFilters([f0,f1,f2,f101,f102,f103,f104,f105,f106,f201,f202,f203,f204,f205]);
	}
	// Nonprofit Finance Fund Loans
	else if (set.id == 86050) {
		var f0 = new PAttributeFilter("NTEE Sector", ["Agriculture, Food, Nutrition"], PAttributeFilter.EQUAL, "Agriculture, Food, Nutrition", "ntee_sector", PAttribute.STRING);
		var f1 = new PAttributeFilter("NTEE Sector", ["Animal related"], PAttributeFilter.EQUAL, "Animal related", "ntee_sector", PAttribute.STRING);
		var f2 = new PAttributeFilter("NTEE Sector", ["Arts, Culture, and Humanities"], PAttributeFilter.EQUAL, "Arts, Culture, and Humanities", "ntee_sector", PAttribute.STRING);
		var f3 = new PAttributeFilter("NTEE Sector", ["Civil Rights, Social Action, Advocacy"], PAttributeFilter.EQUAL, "Civil Rights, Social Action, Advocacy", "ntee_sector", PAttribute.STRING);
		var f4 = new PAttributeFilter("NTEE Sector", ["Community Improvement, Capacity Building"], PAttributeFilter.EQUAL, "Community Improvement, Capacity Building", "ntee_sector", PAttribute.STRING);
		var f5 = new PAttributeFilter("NTEE Sector", ["Crime, Legal Related"], PAttributeFilter.EQUAL, "Crime, Legal Related", "ntee_sector", PAttribute.STRING);
		var f6 = new PAttributeFilter("NTEE Sector", ["Disease, Disorders, Medical Disciplines"], PAttributeFilter.EQUAL, "Disease, Disorders, Medical Disciplines", "ntee_sector", PAttribute.STRING);
		var f7 = new PAttributeFilter("NTEE Sector", ["Educational Institutions"], PAttributeFilter.EQUAL, "Educational Institutions", "ntee_sector", PAttribute.STRING);
		var f8 = new PAttributeFilter("NTEE Sector", ["Employment, Job Related"], PAttributeFilter.EQUAL, "Employment, Job Related", "ntee_sector", PAttribute.STRING);
		var f9 = new PAttributeFilter("NTEE Sector", ["Environmental Quality Protection, Beautification"], PAttributeFilter.EQUAL, "Environmental Quality Protection, Beautification", "ntee_sector", PAttribute.STRING);
		var f10 = new PAttributeFilter("NTEE Sector", ["Health: General & Rehabilitative"], PAttributeFilter.EQUAL, "Health: General & Rehabilitative", "ntee_sector", PAttribute.STRING);
		var f11 = new PAttributeFilter("NTEE Sector", ["Housing, Shelter"], PAttributeFilter.EQUAL, "Housing, Shelter", "ntee_sector", PAttribute.STRING);
		var f12 = new PAttributeFilter("NTEE Sector", ["Human Services"], PAttributeFilter.EQUAL, "Human Services", "ntee_sector", PAttribute.STRING);
		var f13 = new PAttributeFilter("NTEE Sector", ["International, Foreign Affairs, and National Security"], PAttributeFilter.EQUAL, "International, Foreign Affairs, and National Security", "ntee_sector", PAttribute.STRING);
		var f14 = new PAttributeFilter("NTEE Sector", ["Medical Research"], PAttributeFilter.EQUAL, "Medical Research", "ntee_sector", PAttribute.STRING);
		var f15 = new PAttributeFilter("NTEE Sector", ["Mental Health, Crisis Intervention"], PAttributeFilter.EQUAL, "Mental Health, Crisis Intervention", "ntee_sector", PAttribute.STRING);
		var f16 = new PAttributeFilter("NTEE Sector", ["Philanthropy, Voluntarism, and Grantmaking"], PAttributeFilter.EQUAL, "Philanthropy, Voluntarism, and Grantmaking", "ntee_sector", PAttribute.STRING);
		var f17 = new PAttributeFilter("NTEE Sector", ["Public, Society Benefit"], PAttributeFilter.EQUAL, "Public, Society Benefit", "ntee_sector", PAttribute.STRING);
		var f18 = new PAttributeFilter("NTEE Sector", ["Recreation, Sports, Leisure, Athletics"], PAttributeFilter.EQUAL, "Recreation, Sports, Leisure, Athletics", "ntee_sector", PAttribute.STRING);
		var f19 = new PAttributeFilter("NTEE Sector", ["Religion, Spiritual Development"], PAttributeFilter.EQUAL, "Religion, Spiritual Development", "ntee_sector", PAttribute.STRING);
		var f20 = new PAttributeFilter("NTEE Sector", ["Youth Development"], PAttributeFilter.EQUAL, "Youth Development", "ntee_sector", PAttribute.STRING);
		var years = [];
		for (var i=1981; i<2004; i++)
			years.push("/" + i);
		var f101 = new PAttributeFilter("Closing Date", years, PAttributeFilter.RANGE, "2003 or earlier", "closed_date", PAttribute.STRING);
		var f102 = new PAttributeFilter("Closing Date", ["/2004"], PAttributeFilter.EQUAL, "2004", "closed_date", PAttribute.STRING);
		var f103 = new PAttributeFilter("Closing Date", ["/2005"], PAttributeFilter.EQUAL, "2005", "closed_date", PAttribute.STRING);
		var f104 = new PAttributeFilter("Closing Date", ["/2006"], PAttributeFilter.EQUAL, "2006", "closed_date", PAttribute.STRING);
		var f105 = new PAttributeFilter("Closing Date", ["/2007"], PAttributeFilter.EQUAL, "2007", "closed_date", PAttribute.STRING);
		var f106 = new PAttributeFilter("Closing Date", ["/2008"], PAttributeFilter.EQUAL, "2008", "closed_date", PAttribute.STRING);
		var f107 = new PAttributeFilter("Closing Date", ["/2009"], PAttributeFilter.EQUAL, "2009", "closed_date", PAttribute.STRING);
		var f201 = new PAttributeFilter("Closing Amount", [0,45000], PAttributeFilter.RANGE, "$45,000 or Less", "closed_amount", PAttribute.NUMBER);
		var f202 = new PAttributeFilter("Closing Amount", [45001,100000], PAttributeFilter.RANGE, "$45,001 to $100,000", "closed_amount", PAttribute.NUMBER);
		var f203 = new PAttributeFilter("Closing Amount", [100001,250000], PAttributeFilter.RANGE, "$100,001 to $250,000", "closed_amount", PAttribute.NUMBER);
		var f204 = new PAttributeFilter("Closing Amount", [250001,500000], PAttributeFilter.RANGE, "$250,001 to $500,000", "closed_amount", PAttribute.NUMBER);
		var f205 = new PAttributeFilter("Closing Amount", [500001,9000000], PAttributeFilter.RANGE, "Over $500,000", "closed_amount", PAttribute.NUMBER);
		set.setDisplayFilters([f0,f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f11,f12,f13,f14,f15,f16,f17,f18,f19,f20,f101,f102,f103,f104,f105,f106,f107,f201,f202,f203,f204,f205]);
	}
	// Nonprofit Finance Fund Planning Grants
	else if (set.id == 86100) {
		var f0 = new PAttributeFilter("NTEE Sector", ["Arts, Culture, and Humanities"], PAttributeFilter.EQUAL, "Arts, Culture, and Humanities", "ntee_sector", PAttribute.STRING);
		var f1 = new PAttributeFilter("NTEE Sector", ["Civil Rights, Social Action, Advocacy"], PAttributeFilter.EQUAL, "Civil Rights, Social Action, Advocacy", "ntee_sector", PAttribute.STRING);
		var f2 = new PAttributeFilter("NTEE Sector", ["Community Improvement, Capacity Building"], PAttributeFilter.EQUAL, "Community Improvement, Capacity Building", "ntee_sector", PAttribute.STRING);
		var f3 = new PAttributeFilter("NTEE Sector", ["Educational Institutions"], PAttributeFilter.EQUAL, "Educational Institutions", "ntee_sector", PAttribute.STRING);
		var f4 = new PAttributeFilter("NTEE Sector", ["Environmental Quality Protection, Beautification"], PAttributeFilter.EQUAL, "Environmental Quality Protection, Beautification", "ntee_sector", PAttribute.STRING);
		var f5 = new PAttributeFilter("NTEE Sector", ["Health: General & Rehabilitative"], PAttributeFilter.EQUAL, "Health: General & Rehabilitative", "ntee_sector", PAttribute.STRING);
		var f6 = new PAttributeFilter("NTEE Sector", ["Housing, Shelter"], PAttributeFilter.EQUAL, "Housing, Shelter", "ntee_sector", PAttribute.STRING);
		var f7 = new PAttributeFilter("NTEE Sector", ["Human Services"], PAttributeFilter.EQUAL, "Human Services", "ntee_sector", PAttribute.STRING);
		var f8 = new PAttributeFilter("NTEE Sector", ["International, Foreign Affairs, and National Security"], PAttributeFilter.EQUAL, "International, Foreign Affairs, and National Security", "ntee_sector", PAttribute.STRING);
		var f9 = new PAttributeFilter("NTEE Sector", ["Mental Health, Crisis Intervention"], PAttributeFilter.EQUAL, "Mental Health, Crisis Intervention", "ntee_sector", PAttribute.STRING);
		var f10 = new PAttributeFilter("NTEE Sector", ["Philanthropy, Voluntarism, and Grantmaking"], PAttributeFilter.EQUAL, "Philanthropy, Voluntarism, and Grantmaking", "ntee_sector", PAttribute.STRING);
		var f11 = new PAttributeFilter("NTEE Sector", ["Recreation, Sports, Leisure, Athletics"], PAttributeFilter.EQUAL, "Recreation, Sports, Leisure, Athletics", "ntee_sector", PAttribute.STRING);
		var f12 = new PAttributeFilter("NTEE Sector", ["Youth Development"], PAttributeFilter.EQUAL, "Youth Development", "ntee_sector", PAttribute.STRING);
		var years = [];
		for (var i=1995; i<2004; i++)
			years.push("/" + i);
		var f101 = new PAttributeFilter("Closing Date", years, PAttributeFilter.RANGE, "2003 or earlier", "closed_date", PAttribute.STRING);
		var f102 = new PAttributeFilter("Closing Date", ["/2004"], PAttributeFilter.EQUAL, "2004", "closed_date", PAttribute.STRING);
		var f103 = new PAttributeFilter("Closing Date", ["/2005"], PAttributeFilter.EQUAL, "2005", "closed_date", PAttribute.STRING);
		var f104 = new PAttributeFilter("Closing Date", ["/2006"], PAttributeFilter.EQUAL, "2006", "closed_date", PAttribute.STRING);
		var f105 = new PAttributeFilter("Closing Date", ["/2007"], PAttributeFilter.EQUAL, "2007", "closed_date", PAttribute.STRING);
		var f106 = new PAttributeFilter("Closing Date", ["/2008"], PAttributeFilter.EQUAL, "2008", "closed_date", PAttribute.STRING);
		var f107 = new PAttributeFilter("Closing Date", ["/2009"], PAttributeFilter.EQUAL, "2009", "closed_date", PAttribute.STRING);
		var f201 = new PAttributeFilter("Closing Amount", [0,5000], PAttributeFilter.RANGE, "$5,000 or Less", "closed_amount", PAttribute.NUMBER);
		var f202 = new PAttributeFilter("Closing Amount", [5001,10000], PAttributeFilter.RANGE, "$5,001 to $10,000", "closed_amount", PAttribute.NUMBER);
		var f203 = new PAttributeFilter("Closing Amount", [10001,20000], PAttributeFilter.RANGE, "$10,001 to $20,000", "closed_amount", PAttribute.NUMBER);
		var f204 = new PAttributeFilter("Closing Amount", [20001,500000], PAttributeFilter.RANGE, "Over $20,000", "closed_amount", PAttribute.NUMBER);
		set.setDisplayFilters([f0,f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f11,f12,f101,f102,f103,f104,f105,f106,f107,f201,f202,f203,f204]);
	}
	// Kansas Housing Corporation Residential Appliance Replacement Program (RAR)
	else if (set.id == 86650) {
		var f0 = new PAttributeFilter("Furnace", ["yes"], PAttributeFilter.EQUAL, "Furnace Replaced", "furnace", PAttribute.STRING);
		var f101 = new PAttributeFilter("Refrigerator", ["yes"], PAttributeFilter.EQUAL, "Refrigerator Replaced", "refrigerator", PAttribute.STRING);
		var f201 = new PAttributeFilter("Window Air Conditioner", ["yes"], PAttributeFilter.EQUAL, "Window Air Conditioner Replaced", "windowac", PAttribute.STRING);
		var f301 = new PAttributeFilter("Central Air Conditioner", ["yes"], PAttributeFilter.EQUAL, "Central Air Conditioner Replaced", "centralac", PAttribute.STRING);
		var f401 = new PAttributeFilter("Tankless Water Heater", ["yes"], PAttributeFilter.EQUAL, "Water Heater Replaced", "tanklesswaterheater", PAttribute.STRING);
		var f501 = new PAttributeFilter("Total Items per Address", [1], PAttributeFilter.EQUAL, "1", "totalitems", PAttribute.NUMBER);
		var f502 = new PAttributeFilter("Total Items per Address", [2], PAttributeFilter.EQUAL, "2", "totalitems", PAttribute.NUMBER);
		var f503 = new PAttributeFilter("Total Items per Address", [3], PAttributeFilter.EQUAL, "3", "totalitems", PAttribute.NUMBER);
		var f504 = new PAttributeFilter("Total Items per Address", [4], PAttributeFilter.EQUAL, "4", "totalitems", PAttribute.NUMBER);
		var f601 = new PAttributeFilter("Sum of Vouchers per Address", [0,499], PAttributeFilter.RANGE, "Less than $500", "totaldollars", PAttribute.NUMBER);
		var f602 = new PAttributeFilter("Sum of Vouchers per Address", [500,999], PAttributeFilter.RANGE, "$500 - $999", "totaldollars", PAttribute.NUMBER);
		var f603 = new PAttributeFilter("Sum of Vouchers per Address", [1000,2999], PAttributeFilter.RANGE, "$1,000 - $2,999", "totaldollars", PAttribute.NUMBER);
		var f604 = new PAttributeFilter("Sum of Vouchers per Address", [3000,4999], PAttributeFilter.RANGE, "$3,000 - $4,999", "totaldollars", PAttribute.NUMBER);
		var f605 = new PAttributeFilter("Sum of Vouchers per Address", [5000,9999], PAttributeFilter.RANGE, "$5,000 - $9,999", "totaldollars", PAttribute.NUMBER);
		var f606 = new PAttributeFilter("Sum of Vouchers per Address", [10000,11955], PAttributeFilter.RANGE, "$10,000 or More", "totaldollars", PAttribute.NUMBER);
		set.setDisplayFilters([f0,f101,f201,f301,f401,f501,f502,f503,f504,f601,f602,f603,f604,f605,f606]);
	}
	// National Center for Charitable Statistics Nonprofit Locations
	else if (set.id == 86500) {
		var f0 = new PAttributeFilter("Net Assets - Beginning of Year", [-561929954,9999], PAttributeFilter.RANGE, "less than $10,000", "neta_boy", PAttribute.NUMBER);
		var f1 = new PAttributeFilter("Net Assets - Beginning of Year", [10000,200000], PAttributeFilter.RANGE, "between $10,000 and $200,000", "neta_boy", PAttribute.NUMBER);
		var f2 = new PAttributeFilter("Net Assets - Beginning of Year", [200001,34849753000], PAttributeFilter.RANGE, "more than $200,000", "neta_boy", PAttribute.NUMBER);
		var f101 = new PAttributeFilter("Fund Balance - End of Year", [-554768138,19999], PAttributeFilter.RANGE, "less than $20,000", "fundbal", PAttribute.NUMBER);
		var f102 = new PAttributeFilter("Fund Balance - End of Year", [20000,500000], PAttributeFilter.RANGE, "between $20,000 and $500,000", "fundbal", PAttribute.NUMBER);
		var f103 = new PAttributeFilter("Fund Balance - End of Year", [500001,41728788000], PAttributeFilter.RANGE, "more than $500,000", "fundbal", PAttribute.NUMBER);
		var f201 = new PAttributeFilter("Total Revenue", [-55131031,49999], PAttributeFilter.RANGE, "less than $50,000", "totrev", PAttribute.NUMBER);
		var f202 = new PAttributeFilter("Total Revenue", [50000,250000], PAttributeFilter.RANGE, "between $50,000 and $250,000", "totrev", PAttribute.NUMBER);
		var f203 = new PAttributeFilter("Total Revenue", [250001,29683156041], PAttributeFilter.RANGE, "more than $250,000", "totrev", PAttribute.NUMBER);
		var f301 = new PAttributeFilter("Total Expenses", [-7196708,49999], PAttributeFilter.RANGE, "less than $50,000", "exps", PAttribute.NUMBER);
		var f302 = new PAttributeFilter("Total Expenses", [50000,500000], PAttributeFilter.RANGE, "between $50,000 and $500,000", "exps", PAttribute.NUMBER);
		var f303 = new PAttributeFilter("Total Expenses", [500001,29177207044], PAttributeFilter.RANGE, "more than $500,000", "exps", PAttribute.NUMBER);
		var f401 = new PAttributeFilter("Fiscal Year", [2005], PAttributeFilter.EQUAL, "2005", "fisyr", PAttribute.NUMBER);
		var f402 = new PAttributeFilter("Fiscal Year", [2006], PAttributeFilter.EQUAL, "2006", "fisyr", PAttribute.NUMBER);
		var f403 = new PAttributeFilter("Fiscal Year", [2007], PAttributeFilter.EQUAL, "2007", "fisyr", PAttribute.NUMBER);
		var f404 = new PAttributeFilter("Fiscal Year", [2008], PAttributeFilter.EQUAL, "2008", "fisyr", PAttribute.NUMBER);
		var f501 = new PAttributeFilter("Public Support", [-7178605,999], PAttributeFilter.RANGE, "less than $1,000", "cont", PAttribute.NUMBER);
		var f502 = new PAttributeFilter("Public Support", [1000,10000], PAttributeFilter.RANGE, "$1,000-$10,000", "cont", PAttribute.NUMBER);
		var f503 = new PAttributeFilter("Public Support", [10001,4599289210], PAttributeFilter.RANGE, "more than $10,000", "cont", PAttribute.NUMBER);
		var f601 = new PAttributeFilter("Reason for 501(c)(3) Status", ["All Organizations Except 501(c)(3)"], PAttributeFilter.EQUAL, "All Organizations Except 501(c)(3)", "fndncd", PAttribute.STRING);
		var f602 = new PAttributeFilter("Reason for 501(c)(3) Status", ["Private Operating Foundation Exempt"], PAttributeFilter.EQUAL, "Private Operating Foundation Exempt", "fndncd", PAttribute.STRING);
		var f603 = new PAttributeFilter("Reason for 501(c)(3) Status", ["Private Operating Foundation Other"], PAttributeFilter.EQUAL, "Private Operating Foundation Other", "fndncd", PAttribute.STRING);
		var f604 = new PAttributeFilter("Reason for 501(c)(3) Status", ["Private Nonoperating Foundation"], PAttributeFilter.EQUAL, "Private Nonoperating Foundation", "fndncd", PAttribute.STRING);
		var f605 = new PAttributeFilter("Reason for 501(c)(3) Status", ["Suspense"], PAttributeFilter.EQUAL, "Suspense", "fndncd", PAttribute.STRING);
		var f606 = new PAttributeFilter("Reason for 501(c)(3) Status", ["Church"], PAttributeFilter.EQUAL, "Church", "fndncd", PAttribute.STRING);
		var f607 = new PAttributeFilter("Reason for 501(c)(3) Status", ["School"], PAttributeFilter.EQUAL, "School", "fndncd", PAttribute.STRING);
		var f608 = new PAttributeFilter("Reason for 501(c)(3) Status", ["Hospital or Medical Research Organization"], PAttributeFilter.EQUAL, "Hospital or Medical Research Organization", "fndncd", PAttribute.STRING);
		var f609 = new PAttributeFilter("Reason for 501(c)(3) Status", ["Organization Operated for a Public College or University"], PAttributeFilter.EQUAL, "Organization Operated for a Public College or University", "fndncd", PAttribute.STRING);
		var f610 = new PAttributeFilter("Reason for 501(c)(3) Status", ["Governmental Unit"], PAttributeFilter.EQUAL, "Governmental Unit", "fndncd", PAttribute.STRING);
		var f611 = new PAttributeFilter("Reason for 501(c)(3) Status", ["Organization with Substantial Support from Governmental Unit or Public"], PAttributeFilter.EQUAL, "Organization with Substantial Support from Governmental Unit or Public", "fndncd", PAttribute.STRING);
		var f612 = new PAttributeFilter("Reason for 501(c)(3) Status", ["Organization Meeting Income and Donation Guidelines"], PAttributeFilter.EQUAL, "Organization Meeting Income and Donation Guidelines", "fndncd", PAttribute.STRING);
		var f613 = new PAttributeFilter("Reason for 501(c)(3) Status", ["Organization Operated for a Church, School, Hospital, University, Government, or Other Org Meeting Income Guidelines"], PAttributeFilter.EQUAL, "Organization Operated for a Church, School, Hospital, University, Government, or Other Org Meeting Income Guidelines", "fndncd", PAttribute.STRING);
		var f614 = new PAttributeFilter("Reason for 501(c)(3) Status", ["Organization to Test for Public Safety"], PAttributeFilter.EQUAL, "Organization to Test for Public Safety", "fndncd", PAttribute.STRING);
		var f701 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["Arts, Culture and Humanities"], PAttributeFilter.EQUAL, "Arts, Culture and Humanities", "ntee1", PAttribute.STRING);
		var f702 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["Education"], PAttributeFilter.EQUAL, "Education", "ntee1", PAttribute.STRING);
		var f703 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["Environmental Quality, Protection, and Beautification"], PAttributeFilter.EQUAL, "Environmental Quality, Protection, and Beautification", "ntee1", PAttribute.STRING);
		var f704 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["Animal-Related"], PAttributeFilter.EQUAL, "Animal-Related", "ntee1", PAttribute.STRING);
		var f705 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["Health"], PAttributeFilter.EQUAL, "Health", "ntee1", PAttribute.STRING);
		var f706 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["Mental Health, Crisis Intervention"], PAttributeFilter.EQUAL, "Mental Health, Crisis Intervention", "ntee1", PAttribute.STRING);
		var f707 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["Diseases, Disorders, Medical Disciplines"], PAttributeFilter.EQUAL, "Diseases, Disorders, Medical Disciplines", "ntee1", PAttribute.STRING);
		var f708 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["Medical Research"], PAttributeFilter.EQUAL, "Medical Research", "ntee1", PAttribute.STRING);
		var f709 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["Crime, Legal Related"], PAttributeFilter.EQUAL, "Crime, Legal Related", "ntee1", PAttribute.STRING);
		var f710 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["Employment, Job Related"], PAttributeFilter.EQUAL, "Employment, Job Related", "ntee1", PAttribute.STRING);
		var f711 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["Food, Agriculture, and Nutrition"], PAttributeFilter.EQUAL, "Food, Agriculture, and Nutrition", "ntee1", PAttribute.STRING);
		var f712 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["Housing, Shelter"], PAttributeFilter.EQUAL, "Housing, Shelter", "ntee1", PAttribute.STRING);
		var f713 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["Public Safety"], PAttributeFilter.EQUAL, "Public Safety", "ntee1", PAttribute.STRING);
		var f714 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["Recreation, Sports, Leisure, Athletics"], PAttributeFilter.EQUAL, "Recreation, Sports, Leisure, Athletics", "ntee1", PAttribute.STRING);
		var f715 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["Youth Development"], PAttributeFilter.EQUAL, "Youth Development", "ntee1", PAttribute.STRING);
		var f716 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["Human Services - Multipurpose and Other"], PAttributeFilter.EQUAL, "Human Services - Multipurpose and Other", "ntee1", PAttribute.STRING);
		var f717 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["International, Foreign Affairs, and National Security"], PAttributeFilter.EQUAL, "International, Foreign Affairs, and National Security", "ntee1", PAttribute.STRING);
		var f718 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["Civil Rights, Social Action, Advocacy"], PAttributeFilter.EQUAL, "Civil Rights, Social Action, Advocacy", "ntee1", PAttribute.STRING);
		var f719 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["Community Improvement, Capacity Building"], PAttributeFilter.EQUAL, "Community Improvement, Capacity Building", "ntee1", PAttribute.STRING);
		var f720 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["Philanthropy, Voluntarism, and Grantmaking Foundations"], PAttributeFilter.EQUAL, "Philanthropy, Voluntarism, and Grantmaking Foundations", "ntee1", PAttribute.STRING);
		var f721 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["Science and Technology Research Institutes, Services"], PAttributeFilter.EQUAL, "Science and Technology Research Institutes, Services", "ntee1", PAttribute.STRING);
		var f722 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["Social Science Research Institutes, Services"], PAttributeFilter.EQUAL, "Social Science Research Institutes, Services", "ntee1", PAttribute.STRING);
		var f723 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["Public, Society Benefit - Multipurpose and Other"], PAttributeFilter.EQUAL, "Public, Society Benefit - Multipurpose and Other", "ntee1", PAttribute.STRING);
		var f724 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["Religion Related, Spiritual Development"], PAttributeFilter.EQUAL, "Religion Related, Spiritual Development", "ntee1", PAttribute.STRING);
		var f725 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["Mutual/Membership Benefit Organizations, Other"], PAttributeFilter.EQUAL, "Mutual/Membership Benefit Organizations, Other", "ntee1", PAttribute.STRING);
		var f726 = new PAttributeFilter("Natl Taxonomy of Exempt Entities Group", ["Unknown"], PAttributeFilter.EQUAL, "Unknown", "ntee1", PAttribute.STRING);
		set.setDisplayFilters([f0,f1,f2,f101,f102,f103,f201,f202,f203,f301,f302,f303,f401,f402,f403,f404,f501,f502,f503,f601,f602,f603,f604,f605,f606,f607,f608,f609,f610,f611,f612,f613,f614,f701,f702,f703,f704,f705,f706,f707,f708,f709,f710,f711,f712,f713,f714,f715,f716,f717,f718,f719,f720,f721,f722,f723,f724,f725,f726]);
	}
	//Crispus Attucks Direct Service Programs
	else if (set.id == 87050) {
		var f0 = new PAttributeFilter("Program", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "program", PAttribute.STRING);
		var f1 = new PAttributeFilter("Program", ["ALC"], PAttributeFilter.EQUAL, "ALC", "program", PAttribute.STRING);
		var f2 = new PAttributeFilter("Program", ["CAYBCS"], PAttributeFilter.EQUAL, "CAYBCS", "program", PAttribute.STRING);
		var f3 = new PAttributeFilter("Program", ["ELC"], PAttributeFilter.EQUAL, "ELC", "program", PAttribute.STRING);
		var f4 = new PAttributeFilter("Program", ["STARS"], PAttributeFilter.EQUAL, "STARS", "program", PAttribute.STRING);
		var f101 = new PAttributeFilter("Ethnicity", ["Black"], PAttributeFilter.EQUAL, "Black", "ethnicity", PAttribute.STRING);
		var f102 = new PAttributeFilter("Ethnicity", ["Hispanic"], PAttributeFilter.EQUAL, "Hispanic", "ethnicity", PAttribute.STRING);
		var f103 = new PAttributeFilter("Ethnicity", ["Other"], PAttributeFilter.EQUAL, "Other", "ethnicity", PAttribute.STRING);
		var f104 = new PAttributeFilter("Ethnicity", ["White"], PAttributeFilter.EQUAL, "White", "ethnicity", PAttribute.STRING);
		var f201 = new PAttributeFilter("Number in Program", [1], PAttributeFilter.EQUAL, "1", "in_program", PAttribute.NUMBER);
		var f202 = new PAttributeFilter("Number in Program", [2], PAttributeFilter.EQUAL, "2", "in_program", PAttribute.NUMBER);
		var f203 = new PAttributeFilter("Number in Program", [3], PAttributeFilter.EQUAL, "3", "in_program", PAttribute.NUMBER);
		var f204 = new PAttributeFilter("Number in Program", [4,8], PAttributeFilter.RANGE, "4 or more", "in_program", PAttribute.NUMBER);
		var f301 = new PAttributeFilter("Family Size", [0,2], PAttributeFilter.RANGE, "less than 3", "family_siz", PAttribute.NUMBER);
		var f302 = new PAttributeFilter("Family Size", [3,4], PAttributeFilter.RANGE, "3 - 4", "family_siz", PAttribute.NUMBER);
		var f303 = new PAttributeFilter("Family Size", [5,11], PAttributeFilter.RANGE, "5 or more", "family_siz", PAttribute.NUMBER);
		set.setDisplayFilters([f0,f1,f2,f3,f4,f101,f102,f103,f104,f201,f202,f203,f204,f301,f302,f303]);
	}
	//Wachovia Regional Foundation Grant Applicants
	else if (set.id == 87200) {
		var f = [];
		f[0] = new PAttributeFilter("Program Type", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "page", PAttribute.STRING);
		f[1] = new PAttributeFilter("Program Type", ["Area Investment by Others"], PAttributeFilter.EQUAL, "Area Investment by Others", "page", PAttribute.STRING);
		f[2] = new PAttributeFilter("Program Type", ["Community Services"], PAttributeFilter.EQUAL, "Community Services", "page", PAttribute.STRING);
		f[3] = new PAttributeFilter("Program Type", ["Economic Development"], PAttributeFilter.EQUAL, "Economic Development", "page", PAttribute.STRING);
		f[4] = new PAttributeFilter("Program Type", ["Housing"], PAttributeFilter.EQUAL, "Housing", "page", PAttribute.STRING);
		f[5] = new PAttributeFilter("Program Type", ["Neighborhood Assets"], PAttributeFilter.EQUAL, "Neighborhood Assets", "page", PAttribute.STRING);
		var years = [];
		for (var i=1982; i<1996; i++)
		        years.push(i);
		f[6] = new PAttributeFilter("Start Date", years, PAttributeFilter.RANGE, "Before 1995", "date_start", PAttribute.NUMBER);
		var years = [];
		for (var i=1996; i<2001; i++)
		        years.push(i);
		f[7] = new PAttributeFilter("Start Date", years, PAttributeFilter.RANGE, "1996-2000", "date_start", PAttribute.NUMBER);
		var years = [];
		for (var i=2001; i<2006; i++)
		        years.push(i);
		f[8] = new PAttributeFilter("Start Date", years, PAttributeFilter.RANGE, "2000-2005", "date_start", PAttribute.NUMBER);
		var years = [];
		for (var i=1905; i<2000; i++)
		        years.push(i);
		f[9] = new PAttributeFilter("Completion Date", years, PAttributeFilter.RANGE, "Before 2000", "date_compl", PAttribute.NUMBER);
		var years = [];
		for (var i=2000; i<2006; i++)
		        years.push(i);
		f[10] = new PAttributeFilter("Completion Date", years, PAttributeFilter.RANGE, "2000-2005", "date_compl", PAttribute.NUMBER);
		var years = [];
		for (var i=2006; i<2010; i++)
		        years.push(i);
		f[11] = new PAttributeFilter("Completion Date", years, PAttributeFilter.RANGE, "2006-2009", "date_compl", PAttribute.NUMBER);
		var years = [];
		for (var i=2010; i<2012; i++)
		        years.push(i);
		f[12] = new PAttributeFilter("Completion Date", years, PAttributeFilter.RANGE, "2010-2011", "date_compl", PAttribute.NUMBER);
		//f[13] = new PAttributeFilter("Completion Date", ["Ongoing"], PAttributeFilter.RANGE, "Ongoing", "date_compl", PAttribute.NUMBER);
		f[13] = new PAttributeFilter("Rehab or New", ["New Construction"], PAttributeFilter.EQUAL, "New Construction", "rehab_new", PAttribute.STRING);
		f[14] = new PAttributeFilter("Rehab or New", ["New/Rehab"], PAttributeFilter.EQUAL, "New/Rehab", "rehab_new", PAttribute.STRING);
		f[15] = new PAttributeFilter("Rehab or New", ["Rehab"], PAttributeFilter.EQUAL, "Rehab", "rehab_new", PAttribute.STRING);
		f[16] = new PAttributeFilter("Organization", ["Ahome"], PAttributeFilter.EQUAL, "Ahome", "org", PAttribute.STRING);
		f[17] = new PAttributeFilter("Organization", ["Bucks City"], PAttributeFilter.EQUAL, "Bucks City", "org", PAttribute.STRING);
		f[18] = new PAttributeFilter("Organization", ["CACLV"], PAttributeFilter.EQUAL, "CACLV", "org", PAttribute.STRING);
		f[19] = new PAttributeFilter("Organization", ["Cramer Hill"], PAttributeFilter.EQUAL, "Cramer Hill", "org", PAttribute.STRING);
		f[20] = new PAttributeFilter("Organization", ["UNCNEPA"], PAttributeFilter.EQUAL, "UNCNEPA", "org", PAttribute.STRING);
		f[21] = new PAttributeFilter("Total Project Cost", [0,19999], PAttributeFilter.RANGE, "<$20,000", "total_proj", PAttribute.NUMBER);
		f[22] = new PAttributeFilter("Total Project Cost", [20000,100000], PAttributeFilter.RANGE, "$20,000-$100,000", "total_proj", PAttribute.NUMBER);
		f[23] = new PAttributeFilter("Total Project Cost", [100001,1000000], PAttributeFilter.RANGE, "$100,001-$1,000,000", "total_proj", PAttribute.NUMBER);
		f[24] = new PAttributeFilter("Total Project Cost", [1000001,10000000], PAttributeFilter.RANGE, "$1,000,001-$10,000,000", "total_proj", PAttribute.NUMBER);
		f[25] = new PAttributeFilter("Total Project Cost", [10000001,54000000], PAttributeFilter.RANGE, ">$10,000,000", "total_proj", PAttribute.NUMBER);
		f[26] = new PAttributeFilter("Developer", ["Allentown Art Museum"], PAttributeFilter.EQUAL, "Allentown Art Museum", "developer", PAttribute.STRING);
		f[27] = new PAttributeFilter("Developer", ["Allentown Salvation Army"], PAttributeFilter.EQUAL, "Allentown Salvation Army", "developer", PAttribute.STRING);
		f[28] = new PAttributeFilter("Developer", ["Allentown Symphony"], PAttributeFilter.EQUAL, "Allentown Symphony", "developer", PAttribute.STRING);
		f[29] = new PAttributeFilter("Developer", ["ASGPO"], PAttributeFilter.EQUAL, "ASGPO", "developer", PAttribute.STRING);
		f[30] = new PAttributeFilter("Developer", ["Baum School of Art"], PAttributeFilter.EQUAL, "Baum School of Art", "developer", PAttribute.STRING);
		f[31] = new PAttributeFilter("Developer", ["Camden County Council on Economic Opportunity"], PAttributeFilter.EQUAL, "Camden County Council on Economic Opportunity", "developer", PAttribute.STRING);
		f[32] = new PAttributeFilter("Developer", ["Camden Redevelopment Agency"], PAttributeFilter.EQUAL, "Camden Redevelopment Agency", "developer", PAttribute.STRING);
		f[33] = new PAttributeFilter("Developer", ["City of Allentown"], PAttributeFilter.EQUAL, "City of Allentown", "developer", PAttribute.STRING);
		f[34] = new PAttributeFilter("Developer", ["City of Allentown, LANTA"], PAttributeFilter.EQUAL, "City of Allentown, LANTA", "developer", PAttribute.STRING);
		f[35] = new PAttributeFilter("Developer", ["HADC"], PAttributeFilter.EQUAL, "HADC", "developer", PAttribute.STRING);
		f[36] = new PAttributeFilter("Developer", ["Hope Charter School"], PAttributeFilter.EQUAL, "Hope Charter School", "developer", PAttribute.STRING);
		f[37] = new PAttributeFilter("Developer", ["Lackawanna Neighbors"], PAttributeFilter.EQUAL, "Lackawanna Neighbors", "developer", PAttribute.STRING);
		f[38] = new PAttributeFilter("Developer", ["Michael's Development"], PAttributeFilter.EQUAL, "Michael's Development", "developer", PAttribute.STRING);
		f[39] = new PAttributeFilter("Developer", ["Morning Call"], PAttributeFilter.EQUAL, "Morning Call", "developer", PAttribute.STRING);
		f[40] = new PAttributeFilter("Developer", ["Sacred Heart Hospital"], PAttributeFilter.EQUAL, "Sacred Heart Hospital", "developer", PAttribute.STRING);
		f[41] = new PAttributeFilter("Developer", ["Salvation Army"], PAttributeFilter.EQUAL, "Salvation Army", "developer", PAttribute.STRING);
		set.setDisplayFilters(f);
	}
	// US EPA Brownfields
	else if (set.id == 87650) {
		var f = [];
		f[0] = new PAttributeFilter("Level of Assessment/Activity", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "gpa_label", PAttribute.STRING);
		f[1] = new PAttributeFilter("Level of Assessment/Activity", ["Cleanup Activity"], PAttributeFilter.EQUAL, "Cleanup Activity", "gpa_label", PAttribute.STRING);
		f[2] = new PAttributeFilter("Level of Assessment/Activity", ["Phase I Environmental Assessment"], PAttributeFilter.EQUAL, "Phase I Environmental Assessment", "gpa_label", PAttribute.STRING);
		f[3] = new PAttributeFilter("Level of Assessment/Activity", ["Phase II Environmental Assessment"], PAttributeFilter.EQUAL, "Phase II Environmental Assessment", "gpa_label", PAttribute.STRING);
		f[4] = new PAttributeFilter("Level of Assessment/Activity", ["Phase III Environmental Assessment"], PAttributeFilter.EQUAL, "Phase III Environmental Assessment", "gpa_label", PAttribute.STRING);
		var years = [];
		for (var i=1933; i<2000; i++)
			years.push("/" + i + "\\0");
		f[5] = new PAttributeFilter("Date of Reported Assessment/Activity", [years], PAttributeFilter.RANGE, "before 2000", "gpa_date", PAttribute.STRING);
		var years = [];
		for (var i=2000; i<2005; i++)
			years.push("/" + i + "\\0");
		f[6] = new PAttributeFilter("Date of Reported Assessment/Activity", [years], PAttributeFilter.RANGE, "2000-2004", "gpa_date", PAttribute.STRING);
		var years = [];
		for (var i=2005; i<2010; i++)
			years.push("/" + i + "\\0");
		f[7] = new PAttributeFilter("Date of Reported Assessment/Activity", [years], PAttributeFilter.RANGE, "2005 and later", "gpa_date", PAttribute.STRING);
		set.setDisplayFilters(f);
	}
	// Vermont
	else if (set.id == 87700 || set.id == 87750) {
		var f = [];
		f[0] = new PAttributeFilter("Work Type Filter", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "wotypedisp", PAttribute.STRING);
		f[1] = new PAttributeFilter("Work Type Filter", ["Paving"], PAttributeFilter.EQUAL, "Paving", "wotypedisp", PAttribute.STRING);
		f[2] = new PAttributeFilter("Work Type Filter", ["Resurfacing"], PAttributeFilter.EQUAL, "Resurfacing", "wotypedisp", PAttribute.STRING);
		f[3] = new PAttributeFilter("Work Type Filter", ["Town Bridge"], PAttributeFilter.EQUAL, "Town Bridge", "wotypedisp", PAttribute.STRING);
		f[4] = new PAttributeFilter("Work Type Filter", ["Other"], PAttributeFilter.EQUAL, "Other", "wotypedisp", PAttribute.STRING);
		f[5] = new PAttributeFilter("PolicyMap Project Type", ["Bridge Rehabilitation"], PAttributeFilter.EQUAL, "Bridge Rehabilitation", "pmtype", PAttribute.STRING);
		f[6] = new PAttributeFilter("PolicyMap Project Type", ["Bridge Replacement"], PAttributeFilter.EQUAL, "Bridge Replacement", "pmtype", PAttribute.STRING);
		f[7] = new PAttributeFilter("PolicyMap Project Type", ["Highway Improvements"], PAttributeFilter.EQUAL, "Highway Improvements", "pmtype", PAttribute.STRING);
		f[8] = new PAttributeFilter("PolicyMap Project Type", ["Resurfacing"], PAttributeFilter.EQUAL, "Resurfacing", "pmtype", PAttribute.STRING);
		f[9] = new PAttributeFilter("PolicyMap Project Type", ["Transportation Enhancement"], PAttributeFilter.EQUAL, "Transportation Enhancement", "pmtype", PAttribute.STRING);
		f[10] = new PAttributeFilter("Project Phase", [1], PAttributeFilter.EQUAL, "1", "phase", PAttribute.NUMBER);
		f[11] = new PAttributeFilter("Project Phase", [2], PAttributeFilter.EQUAL, "2", "phase", PAttribute.NUMBER);
		f[12] = new PAttributeFilter("Est. Total Project Cost", [0,999999], PAttributeFilter.RANGE, "Less than $1,000,000", "esttotal", PAttribute.NUMBER);
		f[13] = new PAttributeFilter("Est. Total Project Cost", [1000000,5000000], PAttributeFilter.RANGE, "$1,000,000 - $5,000,000", "esttotal", PAttribute.NUMBER);
		f[14] = new PAttributeFilter("Est. Total Project Cost", [5000001,9300000], PAttributeFilter.RANGE, "More than $5,000,000", "esttotal", PAttribute.NUMBER);
		f[15] = new PAttributeFilter("ARRA Funding", [0,999999], PAttributeFilter.RANGE, "Less than $1,000,000", "arraamt", PAttribute.NUMBER);
		f[16] = new PAttributeFilter("ARRA Funding", [1000000,5000000], PAttributeFilter.RANGE, "$1,000,000 - $5,000,000", "arraamt", PAttribute.NUMBER);
		f[17] = new PAttributeFilter("ARRA Funding", [5000001,9300000], PAttributeFilter.RANGE, "More than $5,000,000", "arraamt", PAttribute.NUMBER);
		set.setDisplayFilters(f);
	}
	// Maryland
	else if (set.id == 87800 || set.id == 87850) {
		var f = [];
		f[0] = new PAttributeFilter("Project Category", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "category", PAttribute.STRING);
		f[1] = new PAttributeFilter("Project Category", ["Highway"], PAttributeFilter.EQUAL, "Highway", "category", PAttribute.STRING);
		f[2] = new PAttributeFilter("Project Category", ["Transit"], PAttributeFilter.EQUAL, "Transit", "category", PAttribute.STRING);
		f[3] = new PAttributeFilter("PolicyMap Project Type", ["Bridge Rehabilitation"], PAttributeFilter.EQUAL, "Bridge Rehabilitation", "pmtype", PAttribute.STRING);
		f[4] = new PAttributeFilter("PolicyMap Project Type", ["Highway Improvements"], PAttributeFilter.EQUAL, "Highway Improvements", "pmtype", PAttribute.STRING);
		f[5] = new PAttributeFilter("PolicyMap Project Type", ["Landscaping"], PAttributeFilter.EQUAL, "Landscaping", "pmtype", PAttribute.STRING);
		f[6] = new PAttributeFilter("PolicyMap Project Type", ["Resurfacing"], PAttributeFilter.EQUAL, "Resurfacing", "pmtype", PAttribute.STRING);
		f[7] = new PAttributeFilter("PolicyMap Project Type", ["Safety"], PAttributeFilter.EQUAL, "Safety", "pmtype", PAttribute.STRING);
		f[8] = new PAttributeFilter("PolicyMap Project Type", ["Signing"], PAttributeFilter.EQUAL, "Signing", "pmtype", PAttribute.STRING);
		f[9] = new PAttributeFilter("PolicyMap Project Type", ["Traffic Signal Improvements"], PAttributeFilter.EQUAL, "Traffic Signal Improvements", "pmtype", PAttribute.STRING);
		f[10] = new PAttributeFilter("PolicyMap Project Type", ["Transit"], PAttributeFilter.EQUAL, "Transit", "pmtype", PAttribute.STRING);
		f[11] = new PAttributeFilter("Congressional District", ["1"], PAttributeFilter.EQUAL, "1", "congdist", PAttribute.STRING);
		f[12] = new PAttributeFilter("Congressional District", ["2"], PAttributeFilter.EQUAL, "2", "congdist", PAttribute.STRING);
		f[13] = new PAttributeFilter("Congressional District", ["3"], PAttributeFilter.EQUAL, "3", "congdist", PAttribute.STRING);
		f[14] = new PAttributeFilter("Congressional District", ["4"], PAttributeFilter.EQUAL, "4", "congdist", PAttribute.STRING);
		f[15] = new PAttributeFilter("Congressional District", ["5"], PAttributeFilter.EQUAL, "5", "congdist", PAttribute.STRING);
		f[16] = new PAttributeFilter("Congressional District", ["6"], PAttributeFilter.EQUAL, "6", "congdist", PAttribute.STRING);
		f[17] = new PAttributeFilter("Congressional District", ["7"], PAttributeFilter.EQUAL, "7", "congdist", PAttribute.STRING);
		f[18] = new PAttributeFilter("Congressional District", ["8"], PAttributeFilter.EQUAL, "8", "congdist", PAttribute.STRING);
		f[19] = new PAttributeFilter("Total Cost Estimate", [0,9999], PAttributeFilter.RANGE, "Less than $10,000", "amount", PAttribute.NUMBER);
		f[20] = new PAttributeFilter("Total Cost Estimate", [10000,1000000], PAttributeFilter.RANGE, "$10,000 - $1,000,000", "amount", PAttribute.NUMBER);
		f[21] = new PAttributeFilter("Total Cost Estimate", [1000001,10000000], PAttributeFilter.RANGE, "$1,000,000-$10,000,000", "amount", PAttribute.NUMBER);
		f[22] = new PAttributeFilter("Total Cost Estimate", [10000001,19500000], PAttributeFilter.RANGE, "More than $10,000,000", "amount", PAttribute.NUMBER);
		f[23] = new PAttributeFilter("Per Site Cost Estimate", [0,9999], PAttributeFilter.RANGE, "Less than $10,000", "amount_per", PAttribute.NUMBER);
		f[24] = new PAttributeFilter("Per Site Cost Estimate", [10000,1000000], PAttributeFilter.RANGE, "$10,000 - $1,000,000", "amount_per", PAttribute.NUMBER);
		f[25] = new PAttributeFilter("Per Site Cost Estimate", [1000001,10000000], PAttributeFilter.RANGE, "$1,000,000 - $10,000,000", "amount_per", PAttribute.NUMBER);
		f[26] = new PAttributeFilter("Per Site Cost Estimate", [10000001,11900000], PAttributeFilter.RANGE, "More than $10,000,000", "amount_per", PAttribute.NUMBER);
		set.setDisplayFilters(f);
	}
	// connecticut
	else if (set.id == 87900 || set.id == 87950) {
		var f = [];
		f[0] = new PAttributeFilter("Project Category", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "category", PAttribute.STRING);
		f[1] = new PAttributeFilter("Project Category", ["Highway"], PAttributeFilter.EQUAL, "Highway", "category", PAttribute.STRING);
		f[2] = new PAttributeFilter("Project Category", ["Rail and Transit"], PAttributeFilter.EQUAL, "Rail and Transit", "category", PAttribute.STRING);
		f[3] = new PAttributeFilter("Project Category", ["Enhancement Project"], PAttributeFilter.EQUAL, "Enhancement Project", "category", PAttribute.STRING);
		f[4] = new PAttributeFilter("PolicyMap Project Type", ["Bridge Rehabilitation"], PAttributeFilter.EQUAL, "Bridge Rehabilitation", "pmtype", PAttribute.STRING);
		f[5] = new PAttributeFilter("PolicyMap Project Type", ["Resurfacing"], PAttributeFilter.EQUAL, "Resurfacing", "pmtype", PAttribute.STRING);
		f[6] = new PAttributeFilter("PolicyMap Project Type", ["Safety"], PAttributeFilter.EQUAL, "Safety", "pmtype", PAttribute.STRING);
		f[7] = new PAttributeFilter("PolicyMap Project Type", ["Signing"], PAttributeFilter.EQUAL, "Signing", "pmtype", PAttribute.STRING);
		f[8] = new PAttributeFilter("PolicyMap Project Type", ["Traffic Signal Improvements"], PAttributeFilter.EQUAL, "Traffic Signal Improvements", "pmtype", PAttribute.STRING);
		f[9] = new PAttributeFilter("PolicyMap Project Type", ["Transit"], PAttributeFilter.EQUAL, "Transit", "pmtype", PAttribute.STRING);
		f[10] = new PAttributeFilter("PolicyMap Project Type", ["Transportation Enhancement"], PAttributeFilter.EQUAL, "Transportation Enhancement", "pmtype", PAttribute.STRING);
		f[11] = new PAttributeFilter("PolicyMap Project Type", ["Multiple Types"], PAttributeFilter.EQUAL, "Multiple Types", "pmtype", PAttribute.STRING);
		f[12] = new PAttributeFilter("Project", ["Provides for the Replacement of Failing Expansion Joints of Various Bridges on State Highways in District 4"], PAttributeFilter.EQUAL, "Provides for the Replacement of Failing Expansion Joints of Various Bridges on State Highways in District 4", "projectfil", PAttribute.STRING);
		f[13] = new PAttributeFilter("Project", ["Traffic Control signal installations and revisions at STC Locations"], PAttributeFilter.EQUAL, "Traffic Control signal installations and revisions at STC Locations", "projectfil", PAttribute.STRING);
		f[14] = new PAttributeFilter("Project", ["Traffic Control signal installations as approved by the STC"], PAttributeFilter.EQUAL, "Traffic Control signal installations as approved by the STC", "projectfil", PAttribute.STRING);
		f[15] = new PAttributeFilter("Project", ["Repair/Replace deficient overhead sign supports"], PAttributeFilter.EQUAL, "Repair/Replace deficient overhead sign supports", "projectfil", PAttribute.STRING);
		f[16] = new PAttributeFilter("Project", ["Other"], PAttributeFilter.EQUAL, "Other", "projectfil", PAttribute.STRING);
		f[17] = new PAttributeFilter("Total Allotment", [0,999999], PAttributeFilter.RANGE, "Less than $1,000,000", "amount", PAttribute.NUMBER);
		f[18] = new PAttributeFilter("Total Allotment", [1000000,5000000], PAttributeFilter.RANGE, "$1,000,000 to $5,000,000", "amount", PAttribute.NUMBER);
		f[19] = new PAttributeFilter("Total Allotment", [5000001,10000000], PAttributeFilter.RANGE, "$5,000,001 to $10,000,000", "amount", PAttribute.NUMBER);
		f[20] = new PAttributeFilter("Total Allotment", [10000001,73000000], PAttributeFilter.RANGE, "More than $10,000,000", "amount", PAttribute.NUMBER);
		f[21] = new PAttributeFilter("Est. Per Project Site Allotment", [0,199999], PAttributeFilter.RANGE, "Less than $200,000", "amtpersite", PAttribute.NUMBER);
		f[22] = new PAttributeFilter("Est. Per Project Site Allotment", [200000,1000000], PAttributeFilter.RANGE, "$200,000 to $1,000,000", "amtpersite", PAttribute.NUMBER);
		f[23] = new PAttributeFilter("Est. Per Project Site Allotment", [1000001,10000000], PAttributeFilter.RANGE, "$1,000,000 to $10,000,000", "amtpersite", PAttribute.NUMBER);
		f[24] = new PAttributeFilter("Est. Per Project Site Allotment", [10000001,73000000], PAttributeFilter.RANGE, "More than $10,000,000", "amtpersite", PAttribute.NUMBER);
		set.setDisplayFilters(f);
	}
	// new york
	else if (set.id == 88000 || set.id == 88050) {
		var f = [];
		f[0] = new PAttributeFilter("Project Category", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "category", PAttribute.STRING);
		f[1] = new PAttributeFilter("Project Category", ["Bridge Maintenance, Repair, Construction and Replacement"], PAttributeFilter.EQUAL, "Bridge Maintenance, Repair, Construction and Replacement", "category", PAttribute.STRING);
		f[2] = new PAttributeFilter("Project Category", ["Resurfacing; Pavement Repair and Maintenance"], PAttributeFilter.EQUAL, "Resurfacing; Pavement Repair and Maintenance", "category", PAttribute.STRING);
		f[3] = new PAttributeFilter("Project Category", ["Sidewalks and Pedestrian Improvements"], PAttributeFilter.EQUAL, "Sidewalks and Pedestrian Improvements", "category", PAttribute.STRING);
		f[4] = new PAttributeFilter("Project Category", ["Sign and Signal Replacement"], PAttributeFilter.EQUAL, "Sign and Signal Replacement", "category", PAttribute.STRING);
		f[5] = new PAttributeFilter("Project Category", ["Other"], PAttributeFilter.EQUAL, "Other", "category", PAttribute.STRING);
		f[6] = new PAttributeFilter("PolicyMap Project Type", ["Bridge Rehabilitation"], PAttributeFilter.EQUAL, "Bridge Rehabilitation", "pmtype", PAttribute.STRING);
		f[7] = new PAttributeFilter("PolicyMap Project Type", ["Bridge Replacement"], PAttributeFilter.EQUAL, "Bridge Replacement", "pmtype", PAttribute.STRING);
		f[8] = new PAttributeFilter("PolicyMap Project Type", ["Environmental Maintenance"], PAttributeFilter.EQUAL, "Environmental Maintenance", "pmtype", PAttribute.STRING);
		f[9] = new PAttributeFilter("PolicyMap Project Type", ["Highway Improvements"], PAttributeFilter.EQUAL, "Highway Improvements", "pmtype", PAttribute.STRING);
		f[10] = new PAttributeFilter("PolicyMap Project Type", ["Highway Resurfacing"], PAttributeFilter.EQUAL, "Highway Resurfacing", "pmtype", PAttribute.STRING);
		f[11] = new PAttributeFilter("PolicyMap Project Type", ["Resurfacing"], PAttributeFilter.EQUAL, "Resurfacing", "pmtype", PAttribute.STRING);
		f[12] = new PAttributeFilter("PolicyMap Project Type", ["Signing"], PAttributeFilter.EQUAL, "Signing", "pmtype", PAttribute.STRING);
		f[13] = new PAttributeFilter("PolicyMap Project Type", ["Traffic Monitoring/Congestion Relief"], PAttributeFilter.EQUAL, "Traffic Monitoring/Congestion Relief", "pmtype", PAttribute.STRING);
		f[14] = new PAttributeFilter("PolicyMap Project Type", ["Traffic Signal Improvements"], PAttributeFilter.EQUAL, "Traffic Signal Improvements", "pmtype", PAttribute.STRING);
		f[15] = new PAttributeFilter("PolicyMap Project Type", ["Transportation Enhancement"], PAttributeFilter.EQUAL, "Transportation Enhancement", "pmtype", PAttribute.STRING);
		f[16] = new PAttributeFilter("PolicyMap Project Type", ["Multiple Types"], PAttributeFilter.EQUAL, "Multiple Types", "pmtype", PAttribute.STRING);
		f[17] = new PAttributeFilter("PolicyMap Project Type", ["Other"], PAttributeFilter.EQUAL, "Other", "pmtype", PAttribute.STRING);
		f[18] = new PAttributeFilter("Contracting Agency", ["STATE"], PAttributeFilter.EQUAL, "State", "agency", PAttribute.STRING);
		f[19] = new PAttributeFilter("Contracting Agency", ["LOCAL"], PAttributeFilter.EQUAL, "Local Agency", "agency", PAttribute.STRING);
		f[20] = new PAttributeFilter("Projected Completion Year", ["2009"], PAttributeFilter.EQUAL, "2009", "compyr", PAttribute.STRING);
		f[21] = new PAttributeFilter("Projected Completion Year", ["2010"], PAttributeFilter.EQUAL, "2010", "compyr", PAttribute.STRING);
		f[22] = new PAttributeFilter("Projected Completion Year", ["2011"], PAttributeFilter.EQUAL, "2011", "compyr", PAttribute.STRING);
		f[23] = new PAttributeFilter("Projected Completion Year", ["2012"], PAttributeFilter.EQUAL, "2012", "compyr", PAttribute.STRING);
		f[24] = new PAttributeFilter("Projected Completion Year", ["Unknown"], PAttributeFilter.EQUAL, "Unknown", "compyr", PAttribute.STRING);
		f[25] = new PAttributeFilter("Total Project Cost", [0,999999], PAttributeFilter.RANGE, "Less than $1,000,000", "totprojcos", PAttribute.NUMBER);
		f[26] = new PAttributeFilter("Total Project Cost", [1000000,10000000], PAttributeFilter.RANGE, "$1,000,000 - $10,000,000", "totprojcos", PAttribute.NUMBER);
		f[27] = new PAttributeFilter("Total Project Cost", [10000001,50000000], PAttributeFilter.RANGE, "$10,000,001 - $50,000,000", "totprojcos", PAttribute.NUMBER);
		f[28] = new PAttributeFilter("Total Project Cost", [50000001,73500000], PAttributeFilter.RANGE, "More than $50,000,000", "totprojcos", PAttribute.NUMBER);
		f[29] = new PAttributeFilter("Per Site Cost Estimate", [0,999999], PAttributeFilter.RANGE, "Less than $1,000,000", "costpersit", PAttribute.NUMBER);
		f[30] = new PAttributeFilter("Per Site Cost Estimate", [1000000,10000000], PAttributeFilter.RANGE, "$1,000,000 - $10,000,000", "costpersit", PAttribute.NUMBER);
		f[31] = new PAttributeFilter("Per Site Cost Estimate", [10000001,50000000], PAttributeFilter.RANGE, "$10,000,001 - $50,000,000", "costpersit", PAttribute.NUMBER);
		f[32] = new PAttributeFilter("Per Site Cost Estimate", [50000001,73500000], PAttributeFilter.RANGE, "More than $50,000,000", "costpersit", PAttribute.NUMBER);
		f[33] = new PAttributeFilter("ARRA Funding", [0,999999], PAttributeFilter.RANGE, "Less than $1,000,000", "arraamt", PAttribute.NUMBER);
		f[34] = new PAttributeFilter("ARRA Funding", [1000000,10000000], PAttributeFilter.RANGE, "$1,000,000 - $10,000,000", "arraamt", PAttribute.NUMBER);
		f[35] = new PAttributeFilter("ARRA Funding", [10000001,49100000], PAttributeFilter.RANGE, "More than $10,000,000", "arraamt", PAttribute.NUMBER);
		set.setDisplayFilters(f);
	}
	// TRF Charter School Investments
	else if (set.id == 88100) {
		var f = [];
		f[0] = new PAttributeFilter("Fiscal Year", [2001,2004], PAttributeFilter.RANGE, "before 2005", "fiscal_year", PAttribute.NUMBER);
		f[1] = new PAttributeFilter("Fiscal Year", [2005,2007], PAttributeFilter.RANGE, "2005-2007", "fiscal_year", PAttribute.NUMBER);
		f[2] = new PAttributeFilter("Fiscal Year", [2008,2010], PAttributeFilter.RANGE, "2008 and later", "fiscal_year", PAttribute.NUMBER);
		set.setDisplayFilters(f);
	}
	// HAP
	else if (set.id == 88300) {
		var f = [];
		f[0] = new PAttributeFilter("Developer", ["Habitat"], PAttributeFilter.EQUAL, "Habitat", "developer", PAttribute.STRING);
		f[1] = new PAttributeFilter("Developer", ["HAP"], PAttributeFilter.EQUAL, "HAP", "developer", PAttribute.STRING);
		f[2] = new PAttributeFilter("Developer", ["SNHS"], PAttributeFilter.EQUAL, "SNHS", "developer", PAttribute.STRING);
		f[3] = new PAttributeFilter("Developer", ["SNHS/HAP"], PAttributeFilter.EQUAL, "SNHS/HAP", "developer", PAttribute.STRING);
		f[4] = new PAttributeFilter("Type", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "type", PAttribute.STRING);
		f[5] = new PAttributeFilter("Type", ["Complete"], PAttributeFilter.EQUAL, "Complete", "type", PAttribute.STRING);
		f[6] = new PAttributeFilter("Type", ["Pipeline"], PAttributeFilter.EQUAL, "Pipeline", "type", PAttribute.STRING);
		f[7] = new PAttributeFilter("Type", ["Vacant or Abandoned"], PAttributeFilter.EQUAL, "Vacant or Abandoned", "type", PAttribute.STRING);
		set.setDisplayFilters(f);
	}
	// Massachusetts ARRA Projects
	else if (set.id == 88350 || set.id == 88400) {
		var f = [];
		f[0] = new PAttributeFilter("Project Category", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "category", PAttribute.STRING);
		f[1] = new PAttributeFilter("Project Category", ["Highway"], PAttributeFilter.EQUAL, "Highway", "category", PAttribute.STRING);
		f[2] = new PAttributeFilter("Project Category", ["Transit"], PAttributeFilter.EQUAL, "Transit", "category", PAttribute.STRING);
		f[3] = new PAttributeFilter("PolicyMap Project Type", ["Bridge Replacement"], PAttributeFilter.EQUAL, "Bridge Replacement", "pmtype", PAttribute.STRING);
		f[4] = new PAttributeFilter("PolicyMap Project Type", ["Highway Improvements"], PAttributeFilter.EQUAL, "Highway Improvements", "pmtype", PAttribute.STRING);
		f[5] = new PAttributeFilter("PolicyMap Project Type", ["Resurfacing"], PAttributeFilter.EQUAL, "Resurfacing", "pmtype", PAttribute.STRING);
		f[6] = new PAttributeFilter("PolicyMap Project Type", ["Signing"], PAttributeFilter.EQUAL, "Signing", "pmtype", PAttribute.STRING);
		f[7] = new PAttributeFilter("PolicyMap Project Type", ["Transit"], PAttributeFilter.EQUAL, "Transit", "pmtype", PAttribute.STRING);
		f[8] = new PAttributeFilter("PolicyMap Project Type", ["Transportation Enhancement"], PAttributeFilter.EQUAL, "Transportation Enhancement", "pmtype", PAttribute.STRING);
		f[9] = new PAttributeFilter("PolicyMap Project Type", ["Multiple Types"], PAttributeFilter.EQUAL, "Multiple Types", "pmtype", PAttribute.STRING);
		f[10] = new PAttributeFilter("MPO", ["BERKSHIRE MPO"], PAttributeFilter.EQUAL, "Berkshire MPO", "region", PAttribute.STRING);
		f[11] = new PAttributeFilter("MPO", ["BOSTON MPO"], PAttributeFilter.EQUAL, "Boston MPO", "region", PAttribute.STRING);
		f[12] = new PAttributeFilter("MPO", ["CAPE COD MPO"], PAttributeFilter.EQUAL, "Cape Cod MPO", "region", PAttribute.STRING);
		f[13] = new PAttributeFilter("MPO", ["CENTRAL MASS MPO"], PAttributeFilter.EQUAL, "Central Mass MPO", "region", PAttribute.STRING);
		f[14] = new PAttributeFilter("MPO", ["FRANKLIN COUNTY"], PAttributeFilter.EQUAL, "Franklin County", "region", PAttribute.STRING);
		f[15] = new PAttributeFilter("MPO", ["MERRIMACK VALLEY MPO"], PAttributeFilter.EQUAL, "Merrimack Valley MPO", "region", PAttribute.STRING);
		f[16] = new PAttributeFilter("MPO", ["MONTACHUSETT MPO"], PAttributeFilter.EQUAL, "Montachusett MPO", "region", PAttribute.STRING);
		f[17] = new PAttributeFilter("MPO", ["NANTUCKET"], PAttributeFilter.EQUAL, "Nantucket", "region", PAttribute.STRING);
		f[18] = new PAttributeFilter("MPO", ["NORTHERN MIDDLESEX MPO"], PAttributeFilter.EQUAL, "Northern Middlesex MPO", "region", PAttribute.STRING);
		f[19] = new PAttributeFilter("MPO", ["OLD COLONY MPO"], PAttributeFilter.EQUAL, "Old Colony MPO", "region", PAttribute.STRING);
		f[20] = new PAttributeFilter("MPO", ["PIONEER VALLEY MPO"], PAttributeFilter.EQUAL, "Pioneer Valley MPO", "region", PAttribute.STRING);
		f[21] = new PAttributeFilter("MPO", ["SOUTHEAST MASS MPO"], PAttributeFilter.EQUAL, "Southeast Mass MPO", "region", PAttribute.STRING);
		f[22] = new PAttributeFilter("Cost Estimate", [0,1999999], PAttributeFilter.RANGE, "Less than $2,000,000", "amount", PAttribute.NUMBER);
		f[23] = new PAttributeFilter("Cost Estimate", [2000000,5000000], PAttributeFilter.RANGE, "$2,000,000 to $5,000,000", "amount", PAttribute.NUMBER);
		f[24] = new PAttributeFilter("Cost Estimate", [5000001,12800000], PAttributeFilter.RANGE, "More than $5,000,000", "amount", PAttribute.NUMBER);
		f[25] = new PAttributeFilter("Per Site Cost Estimate", [0,1999999], PAttributeFilter.RANGE, "Less than $2,000,000", "costpersit", PAttribute.NUMBER);
		f[26] = new PAttributeFilter("Per Site Cost Estimate", [2000000,5000000], PAttributeFilter.RANGE, "$2,000,000 to $5,000,000", "costpersit", PAttribute.NUMBER);
		f[27] = new PAttributeFilter("Per Site Cost Estimate", [5000001,12800000], PAttributeFilter.RANGE, "More than $5,000,000", "costpersit", PAttribute.NUMBER);
		set.setDisplayFilters(f);
	}
	// Maine ARRA Projects
	else if (set.id == 88450 || set.id == 88500) {
		var f = [];
		f[0] = new PAttributeFilter("PolicyMap Project Type", ["Bridge Rehabilitation"], PAttributeFilter.EQUAL, "Bridge Rehabilitation", "pmtype", PAttribute.STRING);
		f[1] = new PAttributeFilter("PolicyMap Project Type", ["Bridge Replacement"], PAttributeFilter.EQUAL, "Bridge Replacement", "pmtype", PAttribute.STRING);
		f[2] = new PAttributeFilter("PolicyMap Project Type", ["Environmental Maintenance"], PAttributeFilter.EQUAL, "Environmental Maintenance", "pmtype", PAttribute.STRING);
		f[3] = new PAttributeFilter("PolicyMap Project Type", ["Highway Improvements"], PAttributeFilter.EQUAL, "Highway Improvements", "pmtype", PAttribute.STRING);
		f[4] = new PAttributeFilter("PolicyMap Project Type", ["Resurfacing"], PAttributeFilter.EQUAL, "Resurfacing", "pmtype", PAttribute.STRING);
		f[5] = new PAttributeFilter("PolicyMap Project Type", ["Transit"], PAttributeFilter.EQUAL, "Transit", "pmtype", PAttribute.STRING);
		f[6] = new PAttributeFilter("PolicyMap Project Type", ["Transportation Enhancement"], PAttributeFilter.EQUAL, "Transportation Enhancement", "pmtype", PAttribute.STRING);
		f[7] = new PAttributeFilter("Est. Construction Cost", [0,499999], PAttributeFilter.RANGE, "Less than $500,000", "estcc", PAttribute.NUMBER);
		f[8] = new PAttributeFilter("Est. Construction Cost", [500000,1000000], PAttributeFilter.RANGE, "$500,000 - $1,000,000", "estcc", PAttribute.NUMBER);
		f[9] = new PAttributeFilter("Est. Construction Cost", [1000001,10000000], PAttributeFilter.RANGE, "$1,000,001 - $10,000,000", "estcc", PAttribute.NUMBER);
		f[10] = new PAttributeFilter("Est. Construction Cost", [10000001,32500000], PAttributeFilter.RANGE, "Greater than $10,000,000", "estcc", PAttribute.NUMBER);
		f[11] = new PAttributeFilter("Status", ["Awarded Projects"], PAttributeFilter.EQUAL, "Awarded Projects", "status", PAttribute.STRING);
		f[12] = new PAttributeFilter("Status", ["Out to Bid Projects"], PAttributeFilter.EQUAL, "Out to Bid Projects", "status", PAttribute.STRING);
		f[13] = new PAttributeFilter("Status", ["Pre-Advertise Projects"], PAttributeFilter.EQUAL, "Pre-Advertise Projects", "status", PAttribute.STRING);
		f[14] = new PAttributeFilter("Status", ["Underway Projects"], PAttributeFilter.EQUAL, "Underway Projects", "status", PAttribute.STRING);
		set.setDisplayFilters(f);
	}
	// Rhode Island ARRA Projects
	else if (set.id == 88550 || set.id == 88600) {
		var f = [];
		f[0] = new PAttributeFilter("Work Type", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "worktype", PAttribute.STRING);
		f[1] = new PAttributeFilter("Work Type", ["Bridge Preventative Maintenance"], PAttributeFilter.EQUAL, "Bridge Preventative Maintenance", "worktype", PAttribute.STRING);
		f[2] = new PAttributeFilter("Work Type", ["Highway Striping"], PAttributeFilter.EQUAL, "Highway Striping", "worktype", PAttribute.STRING);
		f[3] = new PAttributeFilter("Work Type", ["Resurfacing"], PAttributeFilter.EQUAL, "Resurfacing", "worktype", PAttribute.STRING);
		f[4] = new PAttributeFilter("Work Type", ["Traffic Signal Improvements"], PAttributeFilter.EQUAL, "Traffic Signal Improvements", "worktype", PAttribute.STRING);
		f[5] = new PAttributeFilter("Work Type", ["Other"], PAttributeFilter.EQUAL, "Other", "worktype", PAttribute.STRING);
		f[6] = new PAttributeFilter("PolicyMap Project Type", ["Bridge Rehabilitation"], PAttributeFilter.EQUAL, "Bridge Rehabilitation", "pmtype", PAttribute.STRING);
		f[7] = new PAttributeFilter("PolicyMap Project Type", ["Environmental Maintenance"], PAttributeFilter.EQUAL, "Environmental Maintenance", "pmtype", PAttribute.STRING);
		f[8] = new PAttributeFilter("PolicyMap Project Type", ["Highway Improvements"], PAttributeFilter.EQUAL, "Highway Improvements", "pmtype", PAttribute.STRING);
		f[9] = new PAttributeFilter("PolicyMap Project Type", ["Resurfacing"], PAttributeFilter.EQUAL, "Resurfacing", "pmtype", PAttribute.STRING);
		f[10] = new PAttributeFilter("PolicyMap Project Type", ["Safety"], PAttributeFilter.EQUAL, "Safety", "pmtype", PAttribute.STRING);
		f[11] = new PAttributeFilter("PolicyMap Project Type", ["Signing"], PAttributeFilter.EQUAL, "Signing", "pmtype", PAttribute.STRING);
		f[12] = new PAttributeFilter("PolicyMap Project Type", ["Traffic Monitoring/Congestion Relief"], PAttributeFilter.EQUAL, "Traffic Monitoring/Congestion Relief", "pmtype", PAttribute.STRING);
		f[13] = new PAttributeFilter("PolicyMap Project Type", ["Traffic Signal Improvements"], PAttributeFilter.EQUAL, "Traffic Signal Improvements", "pmtype", PAttribute.STRING);
		f[14] = new PAttributeFilter("PolicyMap Project Type", ["Transportation Enhancement"], PAttributeFilter.EQUAL, "Transportation Enhancement", "pmtype", PAttribute.STRING);
		f[15] = new PAttributeFilter("Total Cost Estimate", [0,999999], PAttributeFilter.RANGE, "Less than $1,000,000", "amount", PAttribute.NUMBER);
		f[16] = new PAttributeFilter("Total Cost Estimate", [1000000,5000000], PAttributeFilter.RANGE, "$1,000,000-$5,000,000", "amount", PAttribute.NUMBER);
		f[17] = new PAttributeFilter("Total Cost Estimate", [5000001,12600000], PAttributeFilter.RANGE, "More than $5,000,000", "amount", PAttribute.NUMBER);
		f[18] = new PAttributeFilter("Per Site Cost Estimate", [0,999999], PAttributeFilter.RANGE, "Less than $1,000,000", "amtpersite", PAttribute.NUMBER);
		f[19] = new PAttributeFilter("Per Site Cost Estimate", [1000000,5000000], PAttributeFilter.RANGE, "$1,000,000-$5,000,000", "amtpersite", PAttribute.NUMBER);
		f[20] = new PAttributeFilter("Per Site Cost Estimate", [5000001,12600000], PAttributeFilter.RANGE, "More than $5,000,000", "amtpersite", PAttribute.NUMBER);
		set.setDisplayFilters(f);
	}
	// New Hampshire ARRA Projects
	else if (set.id == 88650 || set.id == 88700) {
		var f = [];
		f[0] = new PAttributeFilter("Category", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "category", PAttribute.STRING);
		f[1] = new PAttributeFilter("Category", ["Highway"], PAttributeFilter.EQUAL, "Highway", "category", PAttribute.STRING);
		f[2] = new PAttributeFilter("Category", ["Municipal"], PAttributeFilter.EQUAL, "Municipal", "category", PAttribute.STRING);
		f[3] = new PAttributeFilter("Category", ["Transit"], PAttributeFilter.EQUAL, "Transit", "category", PAttribute.STRING);
		f[4] = new PAttributeFilter("Type", ["Expansion"], PAttributeFilter.EQUAL, "Expansion", "type", PAttribute.STRING);
		f[5] = new PAttributeFilter("Type", ["Facilities for Pedestrians and Bicycles"], PAttributeFilter.EQUAL, "Facilities for Pedestrians and Bicycles", "type", PAttribute.STRING);
		f[6] = new PAttributeFilter("Type", ["New Construction"], PAttributeFilter.EQUAL, "New Construction", "type", PAttribute.STRING);
		f[7] = new PAttributeFilter("Type", ["Resurfacing"], PAttributeFilter.EQUAL, "Resurfacing", "type", PAttribute.STRING);
		f[8] = new PAttributeFilter("Type", ["State Aid Bridge Project"], PAttributeFilter.EQUAL, "State Aid Bridge Project", "type", PAttribute.STRING);
		f[9] = new PAttributeFilter("Type", ["State Aid Highway Projects"], PAttributeFilter.EQUAL, "State Aid Highway Projects", "type", PAttribute.STRING);
		f[10] = new PAttributeFilter("Type", ["Transportation Enhancement Projects"], PAttributeFilter.EQUAL, "Transportation Enhancement Projects", "type", PAttribute.STRING);
		f[11] = new PAttributeFilter("PolicyMap Project Type", ["Bridge Replacement"], PAttributeFilter.EQUAL, "Bridge Replacement", "pmtype", PAttribute.STRING);
		f[12] = new PAttributeFilter("PolicyMap Project Type", ["Highway Improvements"], PAttributeFilter.EQUAL, "Highway Improvements", "pmtype", PAttribute.STRING);
		f[13] = new PAttributeFilter("PolicyMap Project Type", ["Resurfacing"], PAttributeFilter.EQUAL, "Resurfacing", "pmtype", PAttribute.STRING);
		f[14] = new PAttributeFilter("PolicyMap Project Type", ["Transit"], PAttributeFilter.EQUAL, "Transit", "pmtype", PAttribute.STRING);
		f[15] = new PAttributeFilter("PolicyMap Project Type", ["Transportation Enhancement"], PAttributeFilter.EQUAL, "Transportation Enhancement", "pmtype", PAttribute.STRING);
		f[16] = new PAttributeFilter("PolicyMap Project Type", ["Other"], PAttributeFilter.EQUAL, "Other", "pmtype", PAttribute.STRING);
		f[17] = new PAttributeFilter("Est. Total Project Cost", [0,999999], PAttributeFilter.RANGE, "Less than $1,000,000", "amount", PAttribute.NUMBER);
		f[18] = new PAttributeFilter("Est. Total Project Cost", [1000000,5000000], PAttributeFilter.RANGE, "$1,000,000-$5,000,000", "amount", PAttribute.NUMBER);
		f[19] = new PAttributeFilter("Est. Total Project Cost", [5000001,33000000], PAttributeFilter.RANGE, "More than $5,000,000", "amount", PAttribute.NUMBER);
		set.setDisplayFilters(f);
	}
	// NOAH
	else if (set.id == 88750) {
		var f = [];
		f[0] = new PAttributeFilter("Project Type", ["Affordable Housing"], PAttributeFilter.EQUAL, "Affordable Housing", "proj_type", PAttribute.STRING);
		f[1] = new PAttributeFilter("Project Type", ["Conservation"], PAttributeFilter.EQUAL, "Conservation", "proj_type", PAttribute.STRING);
		f[2] = new PAttributeFilter("Project Type", ["First Time Homebuyer"], PAttributeFilter.EQUAL, "First Time Homebuyer", "proj_type", PAttribute.STRING);
		f[3] = new PAttributeFilter("Project Type", ["School Yard Initiative"], PAttributeFilter.EQUAL, "School Yard Initiative", "proj_type", PAttribute.STRING);
		f[4] = new PAttributeFilter("Project Type", ["Summer Program"], PAttributeFilter.EQUAL, "Summer Program", "proj_type", PAttribute.STRING);
		f[5] = new PAttributeFilter("Project Type", ["Youth Program"], PAttributeFilter.EQUAL, "Youth Program", "proj_type", PAttribute.STRING);
		f[6] = new PAttributeFilter("Project Type", ["Youth Program Partnership"], PAttributeFilter.EQUAL, "Youth Program Partnership", "proj_type", PAttribute.STRING);
		set.setDisplayFilters(f);
	}
	// HUD LIHTC
	else if (set.id == 88800) {
		var f = [];
		f[0] = new PAttributeFilter("Total Units", [0,5], PAttributeFilter.RANGE, "5 or fewer", "n_units", PAttribute.NUMBER);
		f[1] = new PAttributeFilter("Total Units", [6,25], PAttributeFilter.RANGE, "6 to 25", "n_units", PAttribute.NUMBER);
		f[2] = new PAttributeFilter("Total Units", [26,50], PAttributeFilter.RANGE, "26 to 50", "n_units", PAttribute.NUMBER);
		f[3] = new PAttributeFilter("Total Units", [51,100], PAttributeFilter.RANGE, "51 to 100", "n_units", PAttribute.NUMBER);
		f[4] = new PAttributeFilter("Total Units", [101,1165], PAttributeFilter.RANGE, "More than 100", "n_units", PAttribute.NUMBER);
		f[5] = new PAttributeFilter("Percent Low Income Units", [0,49], PAttributeFilter.RANGE, "Less than 50%", "p_li_units", PAttribute.NUMBER);
		f[6] = new PAttributeFilter("Percent Low Income Units", [50,79], PAttributeFilter.RANGE, "50-79%", "p_li_units", PAttribute.NUMBER);
		f[7] = new PAttributeFilter("Percent Low Income Units", [80,99], PAttributeFilter.RANGE, "80-99%", "p_li_units", PAttribute.NUMBER);
		f[8] = new PAttributeFilter("Percent Low Income Units", [100], PAttributeFilter.RANGE, "100%", "p_li_units", PAttribute.NUMBER);
		f[9] = new PAttributeFilter("Year Placed in Service", [1987,1989], PAttributeFilter.RANGE, "Before 1990", "yr_pis", PAttribute.NUMBER);
		f[10] = new PAttributeFilter("Year Placed in Service", [1990,1999], PAttributeFilter.RANGE, "1990-1999", "yr_pis", PAttribute.NUMBER);
		f[11] = new PAttributeFilter("Year Placed in Service", [2000,2006], PAttributeFilter.RANGE, "2000 and Later", "yr_pis", PAttribute.NUMBER);
		f[12] = new PAttributeFilter("Allocation Year", [1987,1989], PAttributeFilter.RANGE, "Before 1990", "yr_alloc", PAttribute.NUMBER);
		f[13] = new PAttributeFilter("Allocation Year", [1990,1999], PAttributeFilter.RANGE, "1990-1999", "yr_alloc", PAttribute.NUMBER);
		f[14] = new PAttributeFilter("Allocation Year", [2000,2006], PAttributeFilter.RANGE, "2000 and Later", "yr_alloc", PAttribute.NUMBER);
		f[15] = new PAttributeFilter("Annual Allocated Amt", [0,49999], PAttributeFilter.RANGE, "Less than $50,000", "allocamt", PAttribute.NUMBER);
		f[16] = new PAttributeFilter("Annual Allocated Amt", [50000,100000], PAttributeFilter.RANGE, "$50,00-$100,000", "allocamt", PAttribute.NUMBER);
		f[17] = new PAttributeFilter("Annual Allocated Amt", [100001,250000], PAttributeFilter.RANGE, "$100,001-$250,000", "allocamt", PAttribute.NUMBER);
		f[18] = new PAttributeFilter("Annual Allocated Amt", [250001,500000], PAttributeFilter.RANGE, "$250,001-$500,000", "allocamt", PAttribute.NUMBER);
		f[19] = new PAttributeFilter("Annual Allocated Amt", [500001,7700000], PAttributeFilter.RANGE, "More than $500,000", "allocamt", PAttribute.NUMBER);
		f[20] = new PAttributeFilter("Construction Type", ["Acquisition and Rehab"], PAttributeFilter.EQUAL, "Acquisition and Rehab", "type", PAttribute.STRING);
		f[21] = new PAttributeFilter("Construction Type", ["New Construction"], PAttributeFilter.EQUAL, "New Construction", "type", PAttribute.STRING);
		f[22] = new PAttributeFilter("Construction Type", ["Both New Construction and A/R"], PAttributeFilter.EQUAL, "Both New Construction and A/R", "type", PAttribute.STRING);
		f[23] = new PAttributeFilter("Construction Type", ["Existing"], PAttributeFilter.EQUAL, "Existing", "type", PAttribute.STRING);
		f[24] = new PAttributeFilter("Credit Percentage", ["30%25 present value"], PAttributeFilter.EQUAL, "30% present value", "credit", PAttribute.STRING);
		f[25] = new PAttributeFilter("Credit Percentage", ["70%25 present value"], PAttributeFilter.EQUAL, "70% present value", "credit", PAttribute.STRING);
		f[26] = new PAttributeFilter("Credit Percentage", ["Both 30%25 and 70%25 present value"], PAttributeFilter.EQUAL, "Both 30% and 70% present value", "credit", PAttribute.STRING);
		f[27] = new PAttributeFilter("Additional Funding Sources Reported", ["Increase in Eligible Basis"], PAttributeFilter.RANGE, "Increase in Eligible Basis", "funding", PAttribute.STRING);
		f[28] = new PAttributeFilter("Additional Funding Sources Reported", ["Tax-exempt Bond"], PAttributeFilter.RANGE, "Tax-exempt Bond", "funding", PAttribute.STRING);
		f[29] = new PAttributeFilter("Additional Funding Sources Reported", ["FmHA (RHS) Section 515 Loan"], PAttributeFilter.RANGE, "FmHA (RHS) Section 515 Loan", "funding", PAttribute.STRING);
		f[30] = new PAttributeFilter("Additional Funding Sources Reported", ["HOME Funds"], PAttributeFilter.RANGE, "HOME Funds", "funding", PAttribute.STRING);
		f[31] = new PAttributeFilter("Additional Funding Sources Reported", ["CDBG Funds"], PAttributeFilter.RANGE, "CDBG Funds", "funding", PAttribute.STRING);
		f[32] = new PAttributeFilter("Additional Funding Sources Reported", ["FHA-insured Loan"], PAttributeFilter.RANGE, "FHA-insured Loan", "funding", PAttribute.STRING);
		f[33] = new PAttributeFilter("Additional Funding Sources Reported", ["HOPEVI"], PAttributeFilter.RANGE, "HOPEVI", "funding", PAttribute.STRING);
		f[34] = new PAttributeFilter("Additional Funding Sources Reported", ["Federal or State Rental Assistance Contract"], PAttributeFilter.RANGE, "Federal or State Rental Assistance Contract", "funding", PAttribute.STRING);
		set.setDisplayFilters(f);
	}
	// Delaware ARRA Projects
	else if (set.id == 88900 || set.id == 88950) {
		var f = [];
		f[0] = new PAttributeFilter("PolicyMap Project Type", ["Bridge Rehabilitation"], PAttributeFilter.EQUAL, "Bridge Rehabilitation", "pmtype", PAttribute.STRING);
		f[1] = new PAttributeFilter("PolicyMap Project Type", ["Highway Improvements"], PAttributeFilter.EQUAL, "Highway Improvements", "pmtype", PAttribute.STRING);
		f[2] = new PAttributeFilter("PolicyMap Project Type", ["Resurfacing"], PAttributeFilter.EQUAL, "Resurfacing", "pmtype", PAttribute.STRING);
		f[3] = new PAttributeFilter("PolicyMap Project Type", ["Safety"], PAttributeFilter.EQUAL, "Safety", "pmtype", PAttribute.STRING);
		f[4] = new PAttributeFilter("PolicyMap Project Type", ["Traffic Signal Improvements"], PAttributeFilter.EQUAL, "Traffic Signal Improvements", "pmtype", PAttribute.STRING);
		f[5] = new PAttributeFilter("PolicyMap Project Type", ["Transit"], PAttributeFilter.EQUAL, "Transit", "pmtype", PAttribute.STRING);
		f[6] = new PAttributeFilter("PolicyMap Project Type", ["Transportation Enhancements"], PAttributeFilter.EQUAL, "Transportation Enhancements", "pmtype", PAttribute.STRING);
		f[7] = new PAttributeFilter("PolicyMap Project Type", ["Other"], PAttributeFilter.EQUAL, "Other", "pmtype", PAttribute.STRING);
		f[8] = new PAttributeFilter("Amount", [0,1499999], PAttributeFilter.RANGE, "Less than $1,500,000", "amount", PAttribute.NUMBER);
		f[9] = new PAttributeFilter("Amount", [1500000,10000000], PAttributeFilter.RANGE, "$1,500,000 to $10,000,000", "amount", PAttribute.NUMBER);
		f[10] = new PAttributeFilter("Amount", [10000001,43000000], PAttributeFilter.RANGE, "More than $10,000,000", "amount", PAttribute.NUMBER);
		f[11] = new PAttributeFilter("Amount Per Site", [0,1499999], PAttributeFilter.RANGE, "Less than $1,500,000", "site_amoun", PAttribute.NUMBER);
		f[12] = new PAttributeFilter("Amount Per Site", [1500000,10000000], PAttributeFilter.RANGE, "$1,500,000 to $10,000,000", "site_amoun", PAttribute.NUMBER);
		f[13] = new PAttributeFilter("Amount Per Site", [10000001,43000000], PAttributeFilter.RANGE, "More than $10,000,000", "site_amoun", PAttribute.NUMBER);
		set.setDisplayFilters(f);
	}
	// Pennsylvania ARRA Projects
	else if (set.id == 89000 || set.id == 89050) {
		var f = [];
		f[0] = new PAttributeFilter("PolicyMap Project Type", ["Bridge Rehabilitation"], PAttributeFilter.EQUAL, "Bridge Rehabilitation", "pmtype", PAttribute.STRING);
		f[1] = new PAttributeFilter("PolicyMap Project Type", ["Bridge Replacement"], PAttributeFilter.EQUAL, "Bridge Replacement", "pmtype", PAttribute.STRING);
		f[2] = new PAttributeFilter("PolicyMap Project Type", ["Highway Improvements"], PAttributeFilter.EQUAL, "Highway Improvements", "pmtype", PAttribute.STRING);
		f[3] = new PAttributeFilter("PolicyMap Project Type", ["Resurfacing"], PAttributeFilter.EQUAL, "Resurfacing", "pmtype", PAttribute.STRING);
		f[4] = new PAttributeFilter("PolicyMap Project Type", ["Signing"], PAttributeFilter.EQUAL, "Signing", "pmtype", PAttribute.STRING);
		f[5] = new PAttributeFilter("PolicyMap Project Type", ["Traffic Monitoring/Congestion"], PAttributeFilter.EQUAL, "Traffic Monitoring/Congestion", "pmtype", PAttribute.STRING);
		f[6] = new PAttributeFilter("PolicyMap Project Type", ["Traffic Signal Improvements"], PAttributeFilter.EQUAL, "Traffic Signal Improvements", "pmtype", PAttribute.STRING);
		f[7] = new PAttributeFilter("PolicyMap Project Type", ["Transportation Enhancements"], PAttributeFilter.EQUAL, "Transportation Enhancements", "pmtype", PAttribute.STRING);
		f[8] = new PAttributeFilter("PolicyMap Project Type", ["Multiple Types"], PAttributeFilter.EQUAL, "Multiple Types", "pmtype", PAttribute.STRING);
		f[9] = new PAttributeFilter("PolicyMap Project Type", ["Other"], PAttributeFilter.EQUAL, "Other", "pmtype", PAttribute.STRING);
		f[10] = new PAttributeFilter("Amount", [0,1499999], PAttributeFilter.RANGE, "Less than $1,500,000", "amount", PAttribute.NUMBER);
		f[11] = new PAttributeFilter("Amount", [1500000,10000000], PAttributeFilter.RANGE, "$1,500,000 to $10,000,000", "amount", PAttribute.NUMBER);
		f[12] = new PAttributeFilter("Amount", [10000001,66000000], PAttributeFilter.RANGE, "More than $10,000,000", "amount", PAttribute.NUMBER);
		f[13] = new PAttributeFilter("Amount Per Site", [0,1499999], PAttributeFilter.RANGE, "Less than $1,500,000", "site_amoun", PAttribute.NUMBER);
		f[14] = new PAttributeFilter("Amount Per Site", [1500000,10000000], PAttributeFilter.RANGE, "$1,500,000 to $10,000,000", "site_amoun", PAttribute.NUMBER);
		f[15] = new PAttributeFilter("Amount Per Site", [10000001,66000000], PAttributeFilter.RANGE, "More than $10,000,000", "site_amoun", PAttribute.NUMBER);
		set.setDisplayFilters(f);
	}
	// New Jersey ARRA Projects
	else if (set.id == 89100 || set.id == 89150) {
		var f = [];
		f[0] = new PAttributeFilter("PolicyMap Project Type", ["Bridge Rehabilitation"], PAttributeFilter.EQUAL, "Bridge Rehabilitation", "pmtype", PAttribute.STRING);
		f[1] = new PAttributeFilter("PolicyMap Project Type", ["Bridge Replacement"], PAttributeFilter.EQUAL, "Bridge Replacement", "pmtype", PAttribute.STRING);
		f[2] = new PAttributeFilter("PolicyMap Project Type", ["Highway Improvements"], PAttributeFilter.EQUAL, "Highway Improvements", "pmtype", PAttribute.STRING);
		f[3] = new PAttributeFilter("PolicyMap Project Type", ["Resurfacing"], PAttributeFilter.EQUAL, "Resurfacing", "pmtype", PAttribute.STRING);
		f[4] = new PAttributeFilter("PolicyMap Project Type", ["Safety"], PAttributeFilter.EQUAL, "Safety", "pmtype", PAttribute.STRING);
		f[5] = new PAttributeFilter("Amount", [0,1499999], PAttributeFilter.RANGE, "Less than $1,500,000", "amount", PAttribute.NUMBER);
		f[6] = new PAttributeFilter("Amount", [1500000,10000000], PAttributeFilter.RANGE, "$1,500,000 to $10,000,000", "amount", PAttribute.NUMBER);
		f[7] = new PAttributeFilter("Amount", [10000001,80000000], PAttributeFilter.RANGE, "More than $10,000,000", "amount", PAttribute.NUMBER);
		f[8] = new PAttributeFilter("Amount Per Site", [0,1499999], PAttributeFilter.RANGE, "Less than $1,500,000", "site_amoun", PAttribute.NUMBER);
		f[9] = new PAttributeFilter("Amount Per Site", [1500000,10000000], PAttributeFilter.RANGE, "$1,500,000 to $10,000,000", "site_amoun", PAttribute.NUMBER);
		f[10] = new PAttributeFilter("Amount Per Site", [10000001,80000000], PAttributeFilter.RANGE, "More than $10,000,000", "site_amoun", PAttribute.NUMBER);
		f[11] = new PAttributeFilter("Phase", ["Right of Way"], PAttributeFilter.EQUAL, "Right of Way", "phase", PAttribute.STRING);
		f[12] = new PAttributeFilter("Phase", ["Design"], PAttributeFilter.EQUAL, "Design", "phase", PAttribute.STRING);
		f[13] = new PAttributeFilter("Phase", ["Construction"], PAttributeFilter.EQUAL, "Construction", "phase", PAttribute.STRING);
		f[14] = new PAttributeFilter("MPO", ["DVRPC"], PAttributeFilter.EQUAL, "DVRPC", "mpo", PAttribute.STRING);
		f[15] = new PAttributeFilter("MPO", ["NJTPA"], PAttributeFilter.EQUAL, "NJTPA", "mpo", PAttribute.STRING);
		f[16] = new PAttributeFilter("MPO", ["SJTPO"], PAttributeFilter.EQUAL, "SJTPO", "mpo", PAttribute.STRING);
		set.setDisplayFilters(f);
	}
	// TRF Investments
	else if (set.id == 90400) {
		var f = [];
		f[0] = new PAttributeFilter("Investment Type", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "name", PAttribute.STRING);
		f[1] = new PAttributeFilter("Investment Type", ["Business"], PAttributeFilter.EQUAL, "Business", "widget_cat", PAttribute.STRING);
		f[2] = new PAttributeFilter("Investment Type", ["Education"], PAttributeFilter.EQUAL, "Education", "widget_cat", PAttribute.STRING);
		f[3] = new PAttributeFilter("Investment Type", ["Energy"], PAttributeFilter.EQUAL, "Energy", "widget_cat", PAttribute.STRING);
		f[4] = new PAttributeFilter("Investment Type", ["Food Retail"], PAttributeFilter.EQUAL, "Food Retail", "widget_cat", PAttribute.STRING);
		f[5] = new PAttributeFilter("Investment Type", ["Housing"], PAttributeFilter.EQUAL, "Housing", "widget_cat", PAttribute.STRING);
		f[6] = new PAttributeFilter("Investment Type", ["All Other Commercial RE"], PAttributeFilter.EQUAL, "All Other Commercial Real Estate", "widget_cat", PAttribute.STRING);
		f[7] = new PAttributeFilter("Investment Type", ["All Other Community Facilities"], PAttributeFilter.EQUAL, "All Other Community Facilities", "widget_cat", PAttribute.STRING);
		f[8] = new PAttributeFilter("Fiscal Year", [2001], PAttributeFilter.EQUAL, "2001", "fiscal_year", PAttribute.NUMBER);
		f[9] = new PAttributeFilter("Fiscal Year", [2002], PAttributeFilter.EQUAL, "2002", "fiscal_year", PAttribute.NUMBER);
		f[10] = new PAttributeFilter("Fiscal Year", [2003], PAttributeFilter.EQUAL, "2003", "fiscal_year", PAttribute.NUMBER);
		f[11] = new PAttributeFilter("Fiscal Year", [2004], PAttributeFilter.EQUAL, "2004", "fiscal_year", PAttribute.NUMBER);
		f[12] = new PAttributeFilter("Fiscal Year", [2005], PAttributeFilter.EQUAL, "2005", "fiscal_year", PAttribute.NUMBER);
		f[13] = new PAttributeFilter("Fiscal Year", [2006], PAttributeFilter.EQUAL, "2006", "fiscal_year", PAttribute.NUMBER);
		f[14] = new PAttributeFilter("Fiscal Year", [2007], PAttributeFilter.EQUAL, "2007", "fiscal_year", PAttribute.NUMBER);
		f[15] = new PAttributeFilter("Fiscal Year", [2008], PAttributeFilter.EQUAL, "2008", "fiscal_year", PAttribute.NUMBER);
		f[16] = new PAttributeFilter("Fiscal Year", [2009], PAttributeFilter.EQUAL, "2009", "fiscal_year", PAttribute.NUMBER);
		f[17] = new PAttributeFilter("Fiscal Year", [2010], PAttributeFilter.EQUAL, "2010", "fiscal_year", PAttribute.NUMBER);
		set.setDisplayFilters(f);
	}
	// Success Measures: Commercial Properties
	else if (set.id == 89250) {
		var f = [];
		f[0] = new PAttributeFilter("Company Type", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "sic_division", PAttribute.STRING);
		f[1] = new PAttributeFilter("Company Type", ["Manufacturing"], PAttributeFilter.EQUAL, "Manufacturing", "sic_division", PAttribute.STRING);
		f[2] = new PAttributeFilter("Company Type", ["Retail Trade"], PAttributeFilter.EQUAL, "Retail Trade", "sic_division", PAttribute.STRING);
		f[3] = new PAttributeFilter("Company Type", ["Services"], PAttributeFilter.EQUAL, "Services", "sic_division", PAttribute.STRING);
		f[4] = new PAttributeFilter("Company Type", ["Finance, Insurance, Real Estate"], PAttributeFilter.EQUAL, "Finance, Insurance, Real Estate", "sic_division", PAttribute.STRING);
		f[5] = new PAttributeFilter("Company Type", ["Wholesale Trade"], PAttributeFilter.EQUAL, "Wholesale Trade", "sic_division", PAttribute.STRING);
		f[6] = new PAttributeFilter("Company Description", ["Manufacturing"], PAttributeFilter.EQUAL, "Manufacturing", "sic_filter", PAttribute.STRING);
		f[7] = new PAttributeFilter("Company Description", ["Retail Trade - Eating & Drinking"], PAttributeFilter.EQUAL, "Retail Trade - Eating & Drinking", "sic_filter", PAttribute.STRING);
		f[8] = new PAttributeFilter("Company Description", ["Retail Trade - Food Stores"], PAttributeFilter.EQUAL, "Retail Trade - Food Stores", "sic_filter", PAttribute.STRING);
		f[9] = new PAttributeFilter("Company Description", ["Retail Trade - General"], PAttributeFilter.EQUAL, "Retail Trade - General", "sic_filter", PAttribute.STRING);
		f[10] = new PAttributeFilter("Company Description", ["Services - Auto Repairs, Services, Parking"], PAttributeFilter.EQUAL, "Services - Auto Repairs, Services, Parking", "sic_filter", PAttribute.STRING);
		f[11] = new PAttributeFilter("Company Description", ["Services - Private"], PAttributeFilter.EQUAL, "Services - Private", "sic_filter", PAttribute.STRING);
		f[12] = new PAttributeFilter("Company Description", ["Services - General"], PAttributeFilter.EQUAL, "Services - General", "sic_filter", PAttribute.STRING);
		f[13] = new PAttributeFilter("Company Description", ["Finance, Insurance, Real Estate"], PAttributeFilter.EQUAL, "Finance, Insurance, Real Estate", "sic_filter", PAttribute.STRING);
		f[14] = new PAttributeFilter("Company Description", ["Wholesale Trade"], PAttributeFilter.EQUAL, "Wholesale Trade", "sic_filter", PAttribute.STRING);
		f[15] = new PAttributeFilter("Employees", ["1 - 4"], PAttributeFilter.EQUAL, "1 - 4", "employee_filter", PAttribute.STRING);
		f[16] = new PAttributeFilter("Employees", ["5 - 9"], PAttributeFilter.EQUAL, "5 - 9", "employee_filter", PAttribute.STRING);
		f[17] = new PAttributeFilter("Employees", ["10 - 19"], PAttributeFilter.EQUAL, "10 - 19", "employee_filter", PAttribute.STRING);
		f[18] = new PAttributeFilter("Employees", ["20 - 49"], PAttributeFilter.EQUAL, "20 - 49", "employee_filter", PAttribute.STRING);
		f[19] = new PAttributeFilter("Employees", ["50 - 99"], PAttributeFilter.EQUAL, "50 - 99", "employee_filter", PAttribute.STRING);
		f[20] = new PAttributeFilter("Employees", ["100 - 249"], PAttributeFilter.EQUAL, "100 - 249", "employee_filter", PAttribute.STRING);
		set.setDisplayFilters(f);
	}
	// CRA of Los Angeles
	else if (set.id == 89300) {
		var f = [];
		f[0] = new PAttributeFilter("Region", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "region", PAttribute.STRING);
		f[1] = new PAttributeFilter("Region", ["Downtown Region"], PAttributeFilter.EQUAL, "Downtown Region", "region", PAttribute.STRING);
		f[2] = new PAttributeFilter("Region", ["East Valley Region"], PAttributeFilter.EQUAL, "East Valley Region", "region", PAttribute.STRING);
		f[3] = new PAttributeFilter("Region", ["Eastside Region"], PAttributeFilter.EQUAL, "Eastside Region", "region", PAttribute.STRING);
		f[4] = new PAttributeFilter("Region", ["Hollywood and Central Region"], PAttributeFilter.EQUAL, "Hollywood and Central Region", "region", PAttribute.STRING);
		f[5] = new PAttributeFilter("Region", ["Los Angeles Harbor"], PAttributeFilter.EQUAL, "Los Angeles Harbor", "region", PAttribute.STRING);
		f[6] = new PAttributeFilter("Region", ["South Los Angeles"], PAttributeFilter.EQUAL, "South Los Angeles", "region", PAttribute.STRING);
		f[7] = new PAttributeFilter("Region", ["West Valley"], PAttributeFilter.EQUAL, "West Valley", "region", PAttribute.STRING);
		set.setDisplayFilters(f);
	}
	// Chicago Foreclosure Filings
	else if (set.id == 89550) {
		var f = [];
		f.push( new PAttributeFilter("Original Mortgage Amount", [0,199999], PAttributeFilter.RANGE, "Less than $200,000", "original_m", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Original Mortgage Amount", [200000,300000], PAttributeFilter.RANGE, "$200,000 - $300,000", "original_m", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Original Mortgage Amount", [300001,24000000], PAttributeFilter.RANGE, "More than $300,000", "original_m", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Year of Mortgage", [1962,2005], PAttributeFilter.RANGE, "Before 2006", "mortgageyr", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Year of Mortgage", [2006,2007], PAttributeFilter.RANGE, "2006-2007", "mortgageyr", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Year of Mortgage", [2008,2010], PAttributeFilter.RANGE, "2008 and later", "mortgageyr", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Foreclosure Recording Quarter", ["2006q1"], PAttributeFilter.EQUAL, "2006q1", "quarter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Foreclosure Recording Quarter", ["2006q2"], PAttributeFilter.EQUAL, "2006q2", "quarter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Foreclosure Recording Quarter", ["2006q4"], PAttributeFilter.EQUAL, "2006q4", "quarter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Foreclosure Recording Quarter", ["2007q1"], PAttributeFilter.EQUAL, "2007q1", "quarter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Foreclosure Recording Quarter", ["2007q2"], PAttributeFilter.EQUAL, "2007q2", "quarter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Foreclosure Recording Quarter", ["2007q3"], PAttributeFilter.EQUAL, "2007q3", "quarter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Foreclosure Recording Quarter", ["2007q4"], PAttributeFilter.EQUAL, "2007q4", "quarter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Foreclosure Recording Quarter", ["2008q1"], PAttributeFilter.EQUAL, "2009q1", "quarter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Foreclosure Recording Quarter", ["2008q2"], PAttributeFilter.EQUAL, "2008q2", "quarter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Foreclosure Recording Quarter", ["2008q3"], PAttributeFilter.EQUAL, "2008q3", "quarter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Foreclosure Recording Quarter", ["2008q4"], PAttributeFilter.EQUAL, "2008q4", "quarter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Foreclosure Recording Quarter", ["2009q1"], PAttributeFilter.EQUAL, "2009q1", "quarter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Foreclosure Recording Quarter", ["2009q2"], PAttributeFilter.EQUAL, "2009q2", "quarter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Foreclosure Recording Quarter", ["2009q3"], PAttributeFilter.EQUAL, "2009q3", "quarter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Foreclosure Recording Quarter", ["2009q4"], PAttributeFilter.EQUAL, "2009q4", "quarter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Foreclosure Recording Quarter", ["2010q1"], PAttributeFilter.EQUAL, "2010q1", "quarter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Property Type", ["condominium"], PAttributeFilter.EQUAL, "condominium", "prop_type", PAttribute.STRING) );
		f.push( new PAttributeFilter("Property Type", ["multi-family"], PAttributeFilter.RANGE, "multi-family", "prop_type", PAttribute.STRING) );
		f.push( new PAttributeFilter("Property Type", ["single family"], PAttributeFilter.EQUAL, "single family", "prop_type", PAttribute.STRING) );
		set.setDisplayFilters(f);
	}
	// Chicago Auctions
	else if (set.id == 89600) {
		var f = [];
		f[0] = new PAttributeFilter("Original Mortgage Amount", [0,199999], PAttributeFilter.RANGE, "Less than $200,000", "original_m", PAttribute.NUMBER);
		f[1] = new PAttributeFilter("Original Mortgage Amount", [200000,300000], PAttributeFilter.RANGE, "$200,000 - $300,000", "original_m", PAttribute.NUMBER);
		f[2] = new PAttributeFilter("Original Mortgage Amount", [300001,24000000], PAttributeFilter.RANGE, "More than $300,000", "original_m", PAttribute.NUMBER);
		f[3] = new PAttributeFilter("Year of Mortgage", [1962,2005], PAttributeFilter.RANGE, "Before 2006", "mortgageyr", PAttribute.NUMBER);
		f[4] = new PAttributeFilter("Year of Mortgage", [2006,2007], PAttributeFilter.RANGE, "2006-2007", "mortgageyr", PAttribute.NUMBER);
		f[5] = new PAttributeFilter("Year of Mortgage", [2008,2009], PAttributeFilter.RANGE, "2008 and later", "mortgageyr", PAttribute.NUMBER);
		f[6] = new PAttributeFilter("Sale Results", ["REO"], PAttributeFilter.EQUAL, "REO", "sale_results", PAttribute.STRING);
		f[7] = new PAttributeFilter("Sale Results", ["SOLD"], PAttributeFilter.EQUAL, "SOLD", "sale_results", PAttribute.STRING);
		f[8] = new PAttributeFilter("Property Type", ["condominium"], PAttributeFilter.EQUAL, "condominium", "prop_type", PAttribute.STRING);
		f[9] = new PAttributeFilter("Property Type", ["multi-family"], PAttributeFilter.RANGE, "multi-family", "prop_type", PAttribute.STRING);
		f[10] = new PAttributeFilter("Property Type", ["single family"], PAttributeFilter.EQUAL, "single family", "prop_type", PAttribute.STRING);
		set.setDisplayFilters(f);
	}
	// Swarthmore College CCCS
	else if (set.id == 89450) {
		var f = [];
		f[0] = new PAttributeFilter("Party", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "party", PAttribute.STRING);
		f[1] = new PAttributeFilter("Party", ["D"], PAttributeFilter.EQUAL, "Democrat", "party", PAttribute.STRING);
		f[2] = new PAttributeFilter("Party", ["R"], PAttributeFilter.EQUAL, "Republican", "party", PAttribute.STRING);
		f[3] = new PAttributeFilter("Party", ["I"], PAttributeFilter.EQUAL, "Independent", "party", PAttribute.STRING);
		f[4] = new PAttributeFilter("Grade", ["7"], PAttributeFilter.EQUAL, "7", "grade", PAttribute.STRING);
		f[5] = new PAttributeFilter("Grade", ["8"], PAttributeFilter.EQUAL, "8", "grade", PAttribute.STRING);
		f[6] = new PAttributeFilter("Gender", ["F"], PAttributeFilter.EQUAL, "Female", "gender", PAttribute.STRING);
		f[7] = new PAttributeFilter("Gender", ["M"], PAttributeFilter.EQUAL, "Male", "gender", PAttribute.STRING);
		set.setDisplayFilters(f);
	}
	// ULC Affordable Housing Inventory
	else if (set.id == 89650) {
		var f = [];
		f[0] = new PAttributeFilter("Affordable Housing Type", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "master_list", PAttribute.STRING);
		f[1] = new PAttributeFilter("Affordable Housing Type", ["CHFA Loan"], PAttributeFilter.EQUAL, "CHFA Loan", "master_list", PAttribute.STRING);
		f[2] = new PAttributeFilter("Affordable Housing Type", ["LIHTC"], PAttributeFilter.EQUAL, "LIHTC", "master_list", PAttribute.STRING);
		f[3] = new PAttributeFilter("Affordable Housing Type", ["Expiring LIHTC"], PAttributeFilter.EQUAL, "Expiring LIHTC", "master_list", PAttribute.STRING);
		f[4] = new PAttributeFilter("Affordable Housing Type", ["Section 8"], PAttributeFilter.EQUAL, "Section 8", "master_list", PAttribute.STRING);
		f[5] = new PAttributeFilter("Affordable Housing Type", ["Expiring Section 8"], PAttributeFilter.EQUAL, "Expiring Section 8", "master_list", PAttribute.STRING);
		f[6] = new PAttributeFilter("Affordable Housing Type", ["PAB: 4%25 Tax Credit"], PAttributeFilter.RANGE, "PAB: 4% Tax Credit, 20+ years affordability", "master_list", PAttribute.STRING);
		f[7] = new PAttributeFilter("Affordable Housing Type", ["Public"], PAttributeFilter.EQUAL, "Public", "master_list", PAttribute.STRING);
		f[8] = new PAttributeFilter("Affordable Housing Type", ["Other","Road Home"], PAttributeFilter.RANGE, "Other", "master_list", PAttribute.STRING);
		f[9] = new PAttributeFilter("Number of Units", [1,15], PAttributeFilter.RANGE, "15 or fewer", "units", PAttribute.NUMBER);
		f[10] = new PAttributeFilter("Number of Units", [16,49], PAttributeFilter.RANGE, "16 - 49", "units", PAttribute.NUMBER);
		f[11] = new PAttributeFilter("Number of Units", [50,99], PAttributeFilter.RANGE, "50 - 99", "units", PAttribute.NUMBER);
		f[12] = new PAttributeFilter("Number of Units", [100,299], PAttributeFilter.RANGE, "100 - 299", "units", PAttribute.NUMBER);
		f[13] = new PAttributeFilter("Number of Units", [300,504], PAttributeFilter.RANGE, "300 or more", "units", PAttribute.NUMBER);
		set.setDisplayFilters(f);
	}
	// Success Measures: RealQuest Real Estate Data
	else if (set.id == 89750) {
		var f = [];
		f[0] = new PAttributeFilter("Housing Type", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "house_type_filter", PAttribute.STRING);
		f[1] = new PAttributeFilter("Housing Type", ["Single family or single units"], PAttributeFilter.EQUAL, "Single family or single units", "house_type_filter", PAttribute.STRING);
		f[2] = new PAttributeFilter("Housing Type", ["Other residential and mixed"], PAttributeFilter.EQUAL, "Other residential and mixed", "house_type_filter", PAttribute.STRING);
		f[3] = new PAttributeFilter("Land Use", ["SFR"], PAttributeFilter.EQUAL, "Single Family Residential (SFR)", "land_use", PAttribute.STRING);
		f[4] = new PAttributeFilter("Land Use", ["Townhouse/Rowhouse"], PAttributeFilter.EQUAL, "Townhouse/Rowhouse", "land_use", PAttribute.STRING);
		f[5] = new PAttributeFilter("Land Use", ["DUPLEX","TRIPLEX","QUADRUPLEX"], PAttributeFilter.RANGE, "Duplex, Triplex, Quadruplex", "land_use", PAttribute.STRING);
		f[6] = new PAttributeFilter("Land Use", ["Apartment"], PAttributeFilter.EQUAL, "Apartment", "land_use", PAttribute.STRING);
		f[7] = new PAttributeFilter("Land Use", ["MULTI FAMILY 10 UNITS PLUS", "MULTI FAMILY DWELLING"], PAttributeFilter.RANGE, "Multi-Family", "land_use", PAttribute.STRING);
		f[8] = new PAttributeFilter("Land Use", ["Condominium"], PAttributeFilter.EQUAL, "Condominium", "land_use", PAttribute.STRING);
		f[9] = new PAttributeFilter("Land Use", ["Cooperative"], PAttributeFilter.EQUAL, "Cooperative", "land_use", PAttribute.STRING);
		f[10] = new PAttributeFilter("Land Use", ["Mobile Home"], PAttributeFilter.EQUAL, "Mobile Home", "land_use", PAttribute.STRING);
		f[11] = new PAttributeFilter("Land Use", ["COMMON AREA", "NURSING HOME", "HOTEL", "TRANSIENT LODGING", "FRAT/SORORITY HOUSE", "MIXED COMPLEX", "RESIDENTIAL (NEC)"], PAttributeFilter.RANGE, "Other", "land_use", PAttribute.STRING);
		f[12] = new PAttributeFilter("Year Built", [1800,1920], PAttributeFilter.RANGE, "Before 1920", "year_built", PAttribute.NUMBER);
		f[13] = new PAttributeFilter("Year Built", [1920,1960], PAttributeFilter.RANGE, "1920 - 1960", "year_built", PAttribute.NUMBER);
		f[14] = new PAttributeFilter("Year Built", [1961,1999], PAttributeFilter.RANGE, "1961 - 1999", "year_built", PAttribute.NUMBER);
		f[15] = new PAttributeFilter("Year Built", [2000,2008], PAttributeFilter.RANGE, "2000 and Later", "year_built", PAttribute.NUMBER);
		f[16] = new PAttributeFilter("Year Built", [-9999], PAttributeFilter.EQUAL, "Not Recorded", "year_built", PAttribute.NUMBER);
		f[17] = new PAttributeFilter("Owner Occupied", ["Yes"], PAttributeFilter.EQUAL, "Yes", "ownocc", PAttribute.STRING);
		f[18] = new PAttributeFilter("Owner Occupied", ["No"], PAttributeFilter.EQUAL, "No", "ownocc", PAttribute.STRING);
		f[19] = new PAttributeFilter("Year of Previous Sale", ["Before 2005"], PAttributeFilter.EQUAL, "Before 2005", "lastsoldfilter", PAttribute.STRING);
		f[20] = new PAttributeFilter("Year of Previous Sale", ["2005"], PAttributeFilter.EQUAL, "2005", "lastsoldfilter", PAttribute.STRING);
		f[21] = new PAttributeFilter("Year of Previous Sale", ["2006"], PAttributeFilter.EQUAL, "2006", "lastsoldfilter", PAttribute.STRING);
		f[22] = new PAttributeFilter("Year of Previous Sale", ["2007"], PAttributeFilter.EQUAL, "2007", "lastsoldfilter", PAttribute.STRING);
		f[23] = new PAttributeFilter("Year of Previous Sale", ["2008"], PAttributeFilter.EQUAL, "2008", "lastsoldfilter", PAttribute.STRING);
		f[24] = new PAttributeFilter("Year of Previous Sale", ["2009"], PAttributeFilter.EQUAL, "2009", "lastsoldfilter", PAttribute.STRING);
		f[25] = new PAttributeFilter("Year of Previous Sale", ["No Sale Recorded"], PAttributeFilter.RANGE, "No Sale Recorded", "lastsoldfilter", PAttribute.STRING);
		f[26] = new PAttributeFilter("Sale Price", [0,49999], PAttributeFilter.RANGE, "Less than $50,000", "saleprice", PAttribute.NUMBER);
		f[27] = new PAttributeFilter("Sale Price", [50000,99999], PAttributeFilter.RANGE, "$50,000 to 99,000", "saleprice", PAttribute.NUMBER);
		f[28] = new PAttributeFilter("Sale Price", [100000,199999], PAttributeFilter.RANGE, "$100,000 - $199,999", "saleprice", PAttribute.NUMBER);
		f[29] = new PAttributeFilter("Sale Price", [200000,499999], PAttributeFilter.RANGE, "$200,000 - 499,999", "saleprice", PAttribute.NUMBER);
		f[30] = new PAttributeFilter("Sale Price", [500000,13750000], PAttributeFilter.RANGE, "$500,000 or more", "saleprice", PAttribute.NUMBER);
		f[31] = new PAttributeFilter("Sale Price", [-9999], PAttributeFilter.EQUAL, "No Sale or No Data Recorded", "saleprice", PAttribute.NUMBER);
		f[32] = new PAttributeFilter("Deed Type", ["Regular"], PAttributeFilter.EQUAL, "Regular", "deed_filter", PAttribute.STRING);
		f[33] = new PAttributeFilter("Deed Type", ["Warrantee"], PAttributeFilter.EQUAL, "Warrantee", "deed_filter", PAttribute.STRING);
		f[34] = new PAttributeFilter("Deed Type", ["Other or No Deed Reported"], PAttributeFilter.EQUAL, "Other or No Deed Reported", "deed_filter", PAttribute.STRING);
		f[35] = new PAttributeFilter("Loan Type", ["Conventional"], PAttributeFilter.EQUAL, "Conventional", "loan_type_filter", PAttribute.STRING);
		f[36] = new PAttributeFilter("Loan Type", ["Government"], PAttributeFilter.EQUAL, "Government", "loan_type_filter", PAttribute.STRING);
		f[37] = new PAttributeFilter("Loan Type", ["Private"], PAttributeFilter.EQUAL, "Private", "loan_type_filter", PAttribute.STRING);
		f[38] = new PAttributeFilter("Loan Type", ["Other Type or No Sale Recorded"], PAttributeFilter.EQUAL, "Other Type or No Sale Recorded", "loan_type_filter", PAttribute.STRING);
		f[39] = new PAttributeFilter("Interest Rate Type", ["Adjustable"], PAttributeFilter.EQUAL, "Adjustable", "interest_rate_filter", PAttribute.STRING);
		f[40] = new PAttributeFilter("Interest Rate Type", ["Balloon"], PAttributeFilter.EQUAL, "Balloon", "interest_rate_filter", PAttribute.STRING);
		f[41] = new PAttributeFilter("Interest Rate Type", ["Fixed"], PAttributeFilter.EQUAL, "Fixed", "interest_rate_filter", PAttribute.STRING);
		f[42] = new PAttributeFilter("Interest Rate Type", ["Not Indicated or No Sale Reported"], PAttributeFilter.EQUAL, "Not Indicated or No Sale Reported", "interest_rate_filter", PAttribute.STRING);
		f[43] = new PAttributeFilter("LTV at Purchase", [0,0.499999], PAttributeFilter.RANGE, "Less than .5", "ltvatpurch", PAttribute.NUMBER);
		f[44] = new PAttributeFilter("LTV at Purchase", [0.5,1], PAttributeFilter.RANGE, "0.5 to 1.0", "ltvatpurch", PAttribute.NUMBER);
		f[45] = new PAttributeFilter("LTV at Purchase", [1.0000001,1.2465], PAttributeFilter.RANGE, "Greater than 1.0", "ltvatpurch", PAttribute.NUMBER);
		f[46] = new PAttributeFilter("LTV at Purchase", [-9999], PAttributeFilter.EQUAL, "No sale or LTV could not be calculated", "ltvatpurch", PAttribute.NUMBER);
		f[47] = new PAttributeFilter("Est. Foreclosure", ["Yes"], PAttributeFilter.EQUAL, "Yes", "estfordeed", PAttribute.STRING);
		f[48] = new PAttributeFilter("Est. Foreclosure", ["No"], PAttributeFilter.EQUAL, "No", "estfordeed", PAttribute.STRING);
		set.setDisplayFilters(f);
	}
	// MacArthur Foundation
	else if (set.id == 89800) {
		var f = [];
		f[0] = new PAttributeFilter("Funding Recipient", ["Aeon Homes"], PAttributeFilter.EQUAL, "Aeon Homes", "org", PAttribute.STRING);
		f[1] = new PAttributeFilter("Funding Recipient", ["AHC Inc."], PAttributeFilter.EQUAL, "AHC Inc.", "org", PAttribute.STRING);
		f[2] = new PAttributeFilter("Funding Recipient", ["BRIDGE Housing Corporation"], PAttributeFilter.EQUAL, "BRIDGE Housing Corporation", "org", PAttribute.STRING);
		f[3] = new PAttributeFilter("Funding Recipient", ["Common Ground Community"], PAttributeFilter.EQUAL, "Common Ground Community", "org", PAttribute.STRING);
		f[4] = new PAttributeFilter("Funding Recipient", ["CommonBond Communities"], PAttributeFilter.EQUAL, "CommonBond Communities", "org", PAttribute.STRING);
		f[5] = new PAttributeFilter("Funding Recipient", ["Community Housing Partners Corporation"], PAttributeFilter.EQUAL, "Community Housing Partners Corporation", "org", PAttribute.STRING);
		f[6] = new PAttributeFilter("Funding Recipient", ["Community Preservation and Development Corporation"], PAttributeFilter.EQUAL, "Community Preservation and Development Corporation", "org", PAttribute.STRING);
		f[7] = new PAttributeFilter("Funding Recipient", ["Community Reinvestment Fund/Prudential Loan Fund"], PAttributeFilter.EQUAL, "Community Reinvestment Fund/Prudential Loan Fund", "org", PAttribute.STRING);
		f[8] = new PAttributeFilter("Funding Recipient", ["Community Services of Arizona"], PAttributeFilter.EQUAL, "Community Services of Arizona", "org", PAttribute.STRING);
		f[9] = new PAttributeFilter("Funding Recipient", ["Greater Miami Neighborhoods"], PAttributeFilter.EQUAL, "Greater Miami Neighborhoods", "org", PAttribute.STRING);
		f[10] = new PAttributeFilter("Funding Recipient", ["Gulf Coast Partnership"], PAttributeFilter.EQUAL, "Gulf Coast Partnership", "org", PAttribute.STRING);
		f[11] = new PAttributeFilter("Funding Recipient", ["Hispanic Housing Development Corp."], PAttributeFilter.EQUAL, "Hispanic Housing Development Corp.", "org", PAttribute.STRING);
		f[12] = new PAttributeFilter("Funding Recipient", ["Homes For America"], PAttributeFilter.EQUAL, "Homes For America", "org", PAttribute.STRING);
		f[13] = new PAttributeFilter("Funding Recipient", ["Housing Assistance Council /Preservation Revolving Loan Fund"], PAttributeFilter.EQUAL, "Housing Assistance Council /Preservation Revolving Loan Fund", "org", PAttribute.STRING);
		f[14] = new PAttributeFilter("Funding Recipient", ["Housing Development Corporation of Lancaster County"], PAttributeFilter.EQUAL, "Housing Development Corporation of Lancaster County", "org", PAttribute.STRING);
		f[15] = new PAttributeFilter("Funding Recipient", ["Housing Partnership Network"], PAttributeFilter.EQUAL, "Housing Partnership Network", "org", PAttribute.STRING);
		f[16] = new PAttributeFilter("Funding Recipient", ["Low Income Housing Institute"], PAttributeFilter.EQUAL, "Low Income Housing Institute", "org", PAttribute.STRING);
		f[17] = new PAttributeFilter("Funding Recipient", ["Marcy Housing Lakefront"], PAttributeFilter.EQUAL, "Marcy Housing Lakefront", "org", PAttribute.STRING);
		f[18] = new PAttributeFilter("Funding Recipient", ["Mercy Housing"], PAttributeFilter.EQUAL, "Mercy Housing", "org", PAttribute.STRING);
		f[19] = new PAttributeFilter("Funding Recipient", ["National Affordable Housing Trust"], PAttributeFilter.EQUAL, "National Affordable Housing Trust", "org", PAttribute.STRING);
		f[20] = new PAttributeFilter("Funding Recipient", ["National Church Residences"], PAttributeFilter.EQUAL, "National Church Residences", "org", PAttribute.STRING);
		f[21] = new PAttributeFilter("Funding Recipient", ["Neighborhood Capital Corporation"], PAttributeFilter.EQUAL, "Neighborhood Capital Corporation", "org", PAttribute.STRING);
		f[22] = new PAttributeFilter("Funding Recipient", ["New York City Acquisition Fund"], PAttributeFilter.EQUAL, "New York City Acquisition Fund", "org", PAttribute.STRING);
		f[23] = new PAttributeFilter("Funding Recipient", ["NHT/Enterprise Preservation Corporation"], PAttributeFilter.EQUAL, "NHT/Enterprise Preservation Corporation", "org", PAttribute.STRING);
		f[24] = new PAttributeFilter("Funding Recipient", ["Preservation of Affordable Housing"], PAttributeFilter.EQUAL, "Preservation of Affordable Housing", "org", PAttribute.STRING);
		f[25] = new PAttributeFilter("Funding Recipient", ["Progressive Redevelopment, Inc."], PAttributeFilter.EQUAL, "Progressive Redevelopment, Inc.", "org", PAttribute.STRING);
		f[26] = new PAttributeFilter("Funding Recipient", ["San Antonio Alternative Housing Corp."], PAttributeFilter.EQUAL, "San Antonio Alternative Housing Corp.", "org", PAttribute.STRING);
		f[27] = new PAttributeFilter("Funding Recipient", ["The Community Builders"], PAttributeFilter.EQUAL, "The Community Builders", "org", PAttribute.STRING);
		f[28] = new PAttributeFilter("Funding Recipient", ["The NHP Foundation"], PAttributeFilter.EQUAL, "The NHP Foundation", "org", PAttribute.STRING);
		f[29] = new PAttributeFilter("Funding Recipient", ["The Phipps Houses Group"], PAttributeFilter.EQUAL, "The Phipps Houses Group", "org", PAttribute.STRING);
		f[30] = new PAttributeFilter("Funding Recipient", ["Volunteers of America"], PAttributeFilter.EQUAL, "Volunteers of America", "org", PAttribute.STRING);
		f[31] = new PAttributeFilter("Recipient Type", ["Developer"], PAttributeFilter.EQUAL, "Developer", "financier_developer", PAttribute.STRING);
		f[32] = new PAttributeFilter("Recipient Type", ["Financier/Intermediary"], PAttributeFilter.EQUAL, "Financier/Intermediary", "financier_developer", PAttribute.STRING);
		f[33] = new PAttributeFilter("1st Year of MacArthur Funding", [1989,1998], PAttributeFilter.RANGE, "1999 and Before", "yr_macfund", PAttribute.NUMBER);
		f[34] = new PAttributeFilter("1st Year of MacArthur Funding", [2000], PAttributeFilter.EQUAL, "2000", "yr_macfund", PAttribute.NUMBER);
		f[35] = new PAttributeFilter("1st Year of MacArthur Funding", [2001], PAttributeFilter.EQUAL, "2001", "yr_macfund", PAttribute.NUMBER);
		f[36] = new PAttributeFilter("1st Year of MacArthur Funding", [2002], PAttributeFilter.EQUAL, "2002", "yr_macfund", PAttribute.NUMBER);
		f[37] = new PAttributeFilter("1st Year of MacArthur Funding", [2003], PAttributeFilter.EQUAL, "2003", "yr_macfund", PAttribute.NUMBER);
		f[38] = new PAttributeFilter("1st Year of MacArthur Funding", [2004], PAttributeFilter.EQUAL, "2004", "yr_macfund", PAttribute.NUMBER);
		f[39] = new PAttributeFilter("1st Year of MacArthur Funding", [2005], PAttributeFilter.EQUAL, "2005", "yr_macfund", PAttribute.NUMBER);
		f[40] = new PAttributeFilter("1st Year of MacArthur Funding", [2006], PAttributeFilter.EQUAL, "2006", "yr_macfund", PAttribute.NUMBER);
		f[41] = new PAttributeFilter("1st Year of MacArthur Funding", [2007], PAttributeFilter.EQUAL, "2007", "yr_macfund", PAttribute.NUMBER);
		f[42] = new PAttributeFilter("1st Year of MacArthur Funding", [2008], PAttributeFilter.EQUAL, "2008", "yr_macfund", PAttribute.NUMBER);
		f[43] = new PAttributeFilter("Pre- or Post-MacArthur Funding", ["Pre - MacArthur Funding (1)"], PAttributeFilter.EQUAL, "Pre - MacArthur Funding (1)", "pre_post", PAttribute.STRING);
		f[44] = new PAttributeFilter("Pre- or Post-MacArthur Funding", ["Post - MacArthur Funding (2)"], PAttributeFilter.EQUAL, "Post - MacArthur Funding (2)", "pre_post", PAttribute.STRING);
		f[45] = new PAttributeFilter("Year in Service", [1936,1998], PAttributeFilter.RANGE, "1999 and Before", "yr_comp_or_pis", PAttribute.NUMBER);
		f[46] = new PAttributeFilter("Year in Service", [2000], PAttributeFilter.EQUAL, "2000", "yr_comp_or_pis", PAttribute.NUMBER);
		f[47] = new PAttributeFilter("Year in Service", [2001], PAttributeFilter.EQUAL, "2001", "yr_comp_or_pis", PAttribute.NUMBER);
		f[48] = new PAttributeFilter("Year in Service", [2002], PAttributeFilter.EQUAL, "2002", "yr_comp_or_pis", PAttribute.NUMBER);
		f[49] = new PAttributeFilter("Year in Service", [2003], PAttributeFilter.EQUAL, "2003", "yr_comp_or_pis", PAttribute.NUMBER);
		f[50] = new PAttributeFilter("Year in Service", [2004], PAttributeFilter.EQUAL, "2004", "yr_comp_or_pis", PAttribute.NUMBER);
		f[51] = new PAttributeFilter("Year in Service", [2005], PAttributeFilter.EQUAL, "2005", "yr_comp_or_pis", PAttribute.NUMBER);
		f[52] = new PAttributeFilter("Year in Service", [2006], PAttributeFilter.EQUAL, "2006", "yr_comp_or_pis", PAttribute.NUMBER);
		f[53] = new PAttributeFilter("Year in Service", [2007], PAttributeFilter.EQUAL, "2007", "yr_comp_or_pis", PAttribute.NUMBER);
		f[54] = new PAttributeFilter("Year in Service", [2008,2012], PAttributeFilter.RANGE, "2008 and Later", "yr_comp_or_pis", PAttribute.NUMBER);
		f[55] = new PAttributeFilter("Subsidy Type", ["Section 42 Tax Credit"], PAttributeFilter.RANGE, "Section 42 Tax Credit", "funding", PAttribute.STRING);
		f[56] = new PAttributeFilter("Subsidy Type", ["CDBG"], PAttributeFilter.RANGE, "CDBG", "funding", PAttribute.STRING);
		f[57] = new PAttributeFilter("Subsidy Type", ["Historic Tax Credit"], PAttributeFilter.RANGE, "Historic Tax Credit", "funding", PAttribute.STRING);
		f[58] = new PAttributeFilter("Subsidy Type", ["Project Based Section 8"], PAttributeFilter.RANGE, "Project Based Section 8", "funding", PAttribute.STRING);
		f[59] = new PAttributeFilter("Subsidy Type", ["HOME"], PAttributeFilter.RANGE, "HOME", "funding", PAttribute.STRING);
		f[60] = new PAttributeFilter("Subsidy Type", ["501c3 Bonds"], PAttributeFilter.RANGE, "501c3 Bonds", "funding", PAttribute.STRING);
		f[61] = new PAttributeFilter("Subsidy Type", ["Private Activity Bonds"], PAttributeFilter.RANGE, "Private Activity Bonds", "funding", PAttribute.STRING);
		f[62] = new PAttributeFilter("Subsidy Type", ["PRIs"], PAttributeFilter.RANGE, "PRIs", "funding", PAttribute.STRING);
		f[63] = new PAttributeFilter("Subsidy Type", ["Grants"], PAttributeFilter.RANGE, "Grants", "funding", PAttribute.STRING);
		f[64] = new PAttributeFilter("Subsidy Type", ["Local and State Subsidy"], PAttributeFilter.RANGE, "Local and State Subsidy", "funding", PAttribute.STRING);
		f[65] = new PAttributeFilter("Investment Type", ["New Construction"], PAttributeFilter.EQUAL, "New Construction", "type", PAttribute.STRING);
		f[66] = new PAttributeFilter("Investment Type", ["Gut Rehab"], PAttributeFilter.EQUAL, "Gut Rehab", "type", PAttribute.STRING);
		f[67] = new PAttributeFilter("Investment Type", ["Preservation"], PAttributeFilter.EQUAL, "Preservation", "type", PAttribute.STRING);
		f[68] = new PAttributeFilter("Investment Type", ["Other"], PAttributeFilter.EQUAL, "Other", "type", PAttribute.STRING);
		f[69] = new PAttributeFilter("Investment Type", ["Not Indicated"], PAttributeFilter.EQUAL, "Not Indicated", "type", PAttribute.STRING);
		f[70] = new PAttributeFilter("Units", [0,20], PAttributeFilter.RANGE, "20 or Fewer", "units", PAttribute.NUMBER);
		f[71] = new PAttributeFilter("Units", [21,50], PAttributeFilter.RANGE, "21 to 50", "units", PAttribute.NUMBER);
		f[72] = new PAttributeFilter("Units", [51,100], PAttributeFilter.RANGE, "51 to 100", "units", PAttribute.NUMBER);
		f[73] = new PAttributeFilter("Units", [101,200], PAttributeFilter.RANGE, "101 to 200", "units", PAttribute.NUMBER);
		f[74] = new PAttributeFilter("Units", [201,5881], PAttributeFilter.RANGE, "201 or More", "units", PAttribute.NUMBER);
		f[75] = new PAttributeFilter("Resident Type", ["Family"], PAttributeFilter.RANGE, "Family", "trgt_pop", PAttribute.STRING);
		f[76] = new PAttributeFilter("Resident Type", ["Senior/Elderly"], PAttributeFilter.RANGE, "Senior/Elderly", "trgt_pop", PAttribute.STRING);
		f[77] = new PAttributeFilter("Resident Type", ["Special Needs and Other"], PAttributeFilter.RANGE, "Special Needs and Other", "trgt_pop", PAttribute.STRING);
		f[78] = new PAttributeFilter("Percent Affordable Units (80% AMI)", [0,50], PAttributeFilter.RANGE, "50% or less", "p_afford_80ami", PAttribute.NUMBER);
		f[79] = new PAttributeFilter("Percent Affordable Units (80% AMI)", [51,99], PAttributeFilter.RANGE, "51 to 99%", "p_afford_80ami", PAttribute.NUMBER);
		f[80] = new PAttributeFilter("Percent Affordable Units (80% AMI)", [100], PAttributeFilter.EQUAL, "100%", "p_afford_80ami", PAttribute.NUMBER);
		f[81] = new PAttributeFilter("Percent Affordable Units (80% AMI)", [-9999], PAttributeFilter.EQUAL, "Not Indicated", "p_afford_80ami", PAttribute.NUMBER);
		set.setDisplayFilters(f);
	}
	// Nonprofit Finance Fund: Blue Shield CA
	else if (set.id == 89850) {
		var f = [];
		f[0] = new PAttributeFilter("Region", ["Northern CA"], PAttributeFilter.EQUAL, "Northern CA", "north_south", PAttribute.STRING);
		f[1] = new PAttributeFilter("Region", ["Southern CA"], PAttributeFilter.EQUAL, "Southern CA", "north_south", PAttribute.STRING);
		f[2] = new PAttributeFilter("Urban or Rural", ["Urban"], PAttributeFilter.EQUAL, "Urban", "urban_rural", PAttribute.STRING);
		f[3] = new PAttributeFilter("Urban or Rural", ["Rural"], PAttributeFilter.EQUAL, "Rural", "urban_rural", PAttribute.STRING);
		f[4] = new PAttributeFilter("Urban or Rural", ["Both"], PAttributeFilter.EQUAL, "Both", "urban_rural", PAttribute.STRING);
		f[5] = new PAttributeFilter("Urban or Rural", ["Unknown"], PAttributeFilter.EQUAL, "Unknown", "urban_rural", PAttribute.STRING);
		f[6] = new PAttributeFilter("Affiliation", ["Affiliated"], PAttributeFilter.EQUAL, "Affiliated", "affiliated", PAttribute.STRING);
		f[7] = new PAttributeFilter("Affiliation", ["Stand-alone"], PAttributeFilter.EQUAL, "Stand-alone", "affiliated", PAttribute.STRING);
		f[8] = new PAttributeFilter("Size", ["Larger"], PAttributeFilter.EQUAL, "Larger", "large_small", PAttribute.STRING);
		f[9] = new PAttributeFilter("Size", ["Smaller"], PAttributeFilter.EQUAL, "Smaller", "large_small", PAttribute.STRING);
		set.setDisplayFilters(f);
	}
	// EEI
	else if (set.id == 89350) {
		var f = [];
		f[0] = new PAttributeFilter("Program Focus", ["Media and Communication Arts"], PAttributeFilter.RANGE, "Media and Communication Arts", "focus", PAttribute.STRING);
		f[1] = new PAttributeFilter("Program Focus", ["Visual and Performing Arts"], PAttributeFilter.RANGE, "Visual and Performing Arts", "focus", PAttribute.STRING);
		f[2] = new PAttributeFilter("Gradespan", ["High Schools (Public)","Opportunity Schools"], PAttributeFilter.RANGE, "High Schools", "gradespan", PAttribute.STRING);
		f[3] = new PAttributeFilter("Gradespan", ["ROC/ROP"], PAttributeFilter.RANGE, "Regional Occupation Center/Program", "gradespan", PAttribute.STRING);
		f[4] = new PAttributeFilter("Gradespan", ["Community College Campuses"], PAttributeFilter.RANGE, "Community College", "gradespan", PAttribute.STRING);
		f[5] = new PAttributeFilter("Gradespan", ["State College And University Campuses"], PAttributeFilter.RANGE, "California State University", "gradespan", PAttribute.STRING);
		f[6] = new PAttributeFilter("Gradespan", ["University Of Calif. Campuses"], PAttributeFilter.RANGE, "University of California", "gradespan", PAttribute.STRING);
		f[7] = new PAttributeFilter("Gradespan", ["Adult Education Centers","State Approved or Exempt Post-secon","WASC Accredited Non-public Post-sec"], PAttributeFilter.RANGE, "Other Post Secondary", "gradespan", PAttribute.STRING);
		f[8] = new PAttributeFilter("Funding", ["General Education"], PAttributeFilter.RANGE, "General Education", "funding", PAttribute.STRING)
		f[9] = new PAttributeFilter("Funding", ["Specialized Secondary Program"], PAttributeFilter.RANGE, "Specialized Secondary Program", "funding", PAttribute.STRING)
		f[10] = new PAttributeFilter("Funding", ["Perkins"], PAttributeFilter.RANGE, "Perkins", "funding", PAttribute.STRING)
		f[11] = new PAttributeFilter("Funding", ["Magnet"], PAttributeFilter.RANGE, "Magnet School", "funding", PAttribute.STRING)
		f[12] = new PAttributeFilter("Funding", ["VTEA"], PAttributeFilter.RANGE, "VTEA", "funding", PAttribute.STRING)
		f[13] = new PAttributeFilter("Funding", ["California Partnership Academies", "This is a state-sponsored partnership academy"], PAttributeFilter.RANGE, "California Partnership Academy", "funding", PAttribute.STRING)
		f[14] = new PAttributeFilter("Funding", ["IDEAS is a Regional Center of the Multimedia/Entertainment Initiative of the Economical Development and Workforce Development Program of the State Chancellor","The South Coast Multimedia Education Center was established through a grant from the California Community Colleges Economic & Workforce Development Program","Grant received through the California Community College Economic and Workforce Development Program"], PAttributeFilter.RANGE, "CCCCO-EWD", "funding", PAttribute.STRING)
		f[15] = new PAttributeFilter("Funding", ["College Foundation","CSU Chancellor","Local District Measure"], PAttributeFilter.RANGE, "Other", "funding", PAttribute.STRING)
		set.setDisplayFilters(f);
	}
	// Mercy Portfolio Services' NSP Due Diligenc
	else if (set.id == 90800) {
		set.colorcodes = [star_green,star_yellow,star_pink];
		var f = [];
		f[0] = new PAttributeFilter("Status", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "status", PAttribute.STRING);
		f[1] = new PAttributeFilter("Status", ["Acquired"], PAttributeFilter.EQUAL, "Acquired", "status", PAttribute.STRING);
		f[2] = new PAttributeFilter("Status", ["Contract to Buy"], PAttributeFilter.EQUAL, "Contract to Buy", "status", PAttribute.STRING);
		f[3] = new PAttributeFilter("Status", ["Target"], PAttributeFilter.EQUAL, "Target", "status", PAttribute.STRING);
		f[4] = new PAttributeFilter("Source", ["Realtor"], PAttributeFilter.EQUAL, "Realtor", "source", PAttribute.STRING);
		f[5] = new PAttributeFilter("Source", ["NCST"], PAttributeFilter.EQUAL, "NCST", "source", PAttribute.STRING);
		f[6] = new PAttributeFilter("Source", ["REO Holder"], PAttributeFilter.EQUAL, "REO Holder", "source", PAttribute.STRING);
		f[7] = new PAttributeFilter("Source", ["Developer"], PAttributeFilter.EQUAL, "Developer", "source", PAttribute.STRING);
		f[8] = new PAttributeFilter("Source", ["City"], PAttributeFilter.EQUAL, "City", "source", PAttribute.STRING);
		f[9] = new PAttributeFilter("Source", ["Other"], PAttributeFilter.EQUAL, "Other", "source", PAttribute.STRING);
		f[10] = new PAttributeFilter("Tier", [1], PAttributeFilter.EQUAL, "1", "tier", PAttribute.NUMBER);
		f[11] = new PAttributeFilter("Tier", [2], PAttributeFilter.EQUAL, "2", "tier", PAttribute.NUMBER);
		f[12] = new PAttributeFilter("Tier", [3], PAttributeFilter.EQUAL, "3", "tier", PAttribute.NUMBER);
		f[13] = new PAttributeFilter("Tier", [4], PAttributeFilter.EQUAL, "4", "tier", PAttribute.NUMBER);
		f[14] = new PAttributeFilter("List Price", [0,39999], PAttributeFilter.RANGE, "Less than $40,000", "list_price", PAttribute.NUMBER);
		f[15] = new PAttributeFilter("List Price", [40000,99999], PAttributeFilter.RANGE, "$40,000-$99,999", "list_price", PAttribute.NUMBER);
		f[16] = new PAttributeFilter("List Price", [100000,1100000], PAttributeFilter.RANGE, "$100,000 and above", "list_price", PAttribute.NUMBER);
		f[17] = new PAttributeFilter("Number of Units", [1], PAttributeFilter.EQUAL, "1", "num_units", PAttribute.NUMBER);
		f[18] = new PAttributeFilter("Number of Units", [2], PAttributeFilter.EQUAL, "2", "num_units", PAttribute.NUMBER);
		f[19] = new PAttributeFilter("Number of Units", [3], PAttributeFilter.EQUAL, "3", "num_units", PAttribute.NUMBER);
		f[20] = new PAttributeFilter("Number of Units", [4,46], PAttributeFilter.RANGE, "4 or more", "num_units", PAttribute.NUMBER);
		set.setDisplayFilters(f);
	}
	// Louisiana Housing Finance Agency
	else if (set.id == 90050) {
		var f = [];
		f[0] = new PAttributeFilter("Program Type", ["TC"], PAttributeFilter.RANGE, "TC", "program", PAttribute.STRING);
		f[1] = new PAttributeFilter("Program Type", ["HOME"], PAttributeFilter.RANGE, "HOME", "program", PAttribute.STRING);
		f[2] = new PAttributeFilter("Program Type", ["FDIC"], PAttributeFilter.RANGE, "FDIC", "program", PAttribute.STRING);
		f[3] = new PAttributeFilter("Program Type", ["FHA Insured"], PAttributeFilter.RANGE, "FHA Insured", "program", PAttribute.STRING);
		f[4] = new PAttributeFilter("Program Type", ["BF"], PAttributeFilter.RANGE, "BF", "program", PAttribute.STRING);
		f[5] = new PAttributeFilter("Program Type", ["HoDAG"], PAttributeFilter.RANGE, "HoDAG", "program", PAttribute.STRING);
		f[6] = new PAttributeFilter("Year Placed in Service", [1988,1995], PAttributeFilter.RANGE, "Before 1995", "year_pis", PAttribute.NUMBER);
		f[7] = new PAttributeFilter("Year Placed in Service", [1995,1999], PAttributeFilter.RANGE, "1995 - 1999", "year_pis", PAttribute.NUMBER);
		f[8] = new PAttributeFilter("Year Placed in Service", [2000,2004], PAttributeFilter.RANGE, "2000 - 2004", "year_pis", PAttribute.NUMBER);
		f[9] = new PAttributeFilter("Year Placed in Service", [2005,2007], PAttributeFilter.RANGE, "2005 and After", "year_pis", PAttribute.NUMBER);
		f[10] = new PAttributeFilter("No. Buildings", [1], PAttributeFilter.EQUAL, "1", "bldg", PAttribute.NUMBER);
		f[11] = new PAttributeFilter("No. Buildings", [2,9], PAttributeFilter.RANGE, "2 - 9", "bldg", PAttribute.NUMBER);
		f[12] = new PAttributeFilter("No. Buildings", [10,19], PAttributeFilter.RANGE, "10 - 19", "bldg", PAttribute.NUMBER);
		f[13] = new PAttributeFilter("No. Buildings", [20,39], PAttributeFilter.RANGE, "20 - 40", "bldg", PAttribute.NUMBER);
		f[14] = new PAttributeFilter("No. Buildings", [40,147], PAttributeFilter.RANGE, "40 or more", "bldg", PAttribute.NUMBER);
		f[15] = new PAttributeFilter("No. Units", [1,10], PAttributeFilter.RANGE, "10 or less", "num_units", PAttribute.NUMBER);
		f[16] = new PAttributeFilter("No. Units", [11,25], PAttributeFilter.RANGE, "11 to 25", "num_units", PAttribute.NUMBER);
		f[17] = new PAttributeFilter("No. Units", [26,50], PAttributeFilter.RANGE, "26 to 50", "num_units", PAttribute.NUMBER);
		f[18] = new PAttributeFilter("No. Units", [51,100], PAttributeFilter.RANGE, "51 to 100", "num_units", PAttribute.NUMBER);
		f[19] = new PAttributeFilter("No. Units", [101,328], PAttributeFilter.RANGE, "More than 100", "num_units", PAttribute.NUMBER);
		f[20] = new PAttributeFilter("Rural Development", ["Yes"], PAttributeFilter.EQUAL, "Yes", "rural_development", PAttribute.STRING);
		f[21] = new PAttributeFilter("Rural Development", ["No"], PAttributeFilter.EQUAL, "No", "rural_development", PAttribute.STRING);
		set.setDisplayFilters(f);
	}
	// Nonprofit Finance Fund Child Care Investments
	else if (set.id == 90850) {
		var f = [];
		f[0] = new PAttributeFilter("Grant Award", [2500,20000], PAttributeFilter.RANGE, "$20,000 or Less", "grant_award", PAttribute.NUMBER);
		f[1] = new PAttributeFilter("Grant Award", [20001,49999], PAttributeFilter.RANGE, "$20,001 - $49,999", "grant_award", PAttribute.NUMBER);
		f[2] = new PAttributeFilter("Grant Award", [50000,75000], PAttributeFilter.RANGE, "$50,000 or More", "grant_award", PAttribute.NUMBER);
		f[3] = new PAttributeFilter("Grant Type", ["Capital"], PAttributeFilter.EQUAL, "Capital", "grant_type", PAttribute.STRING);
		f[4] = new PAttributeFilter("Grant Type", ["Planning"], PAttributeFilter.EQUAL, "Planning", "grant_type", PAttribute.STRING);
		f[5] = new PAttributeFilter("Award Year", [2003,2004], PAttributeFilter.RANGE, "2004 and Before", "award_date_filter", PAttribute.NUMBER);
		f[6] = new PAttributeFilter("Award Year", [2005], PAttributeFilter.RANGE, "2005", "award_date_filter", PAttribute.NUMBER);
		f[7] = new PAttributeFilter("Award Year", [2006], PAttributeFilter.RANGE, "2006", "award_date_filter", PAttribute.NUMBER);
		f[8] = new PAttributeFilter("Award Year", [2007], PAttributeFilter.RANGE, "2007", "award_date_filter", PAttribute.NUMBER);
		f[9] = new PAttributeFilter("Award Year", [2008], PAttributeFilter.RANGE, "2008", "award_date_filter", PAttribute.NUMBER);
		f[10] = new PAttributeFilter("Award Year", [2009], PAttributeFilter.RANGE, "2009", "award_date_filter", PAttribute.NUMBER);
		f[11] = new PAttributeFilter("Total Project Cost", [5000,30000], PAttributeFilter.RANGE, "$30,000 or Less", "tpc", PAttribute.NUMBER);
		f[12] = new PAttributeFilter("Total Project Cost", [30001,60000], PAttributeFilter.RANGE, "$30,001 to $60,000", "tpc", PAttribute.NUMBER);
		f[13] = new PAttributeFilter("Total Project Cost", [60001,99999], PAttributeFilter.RANGE, "$60,001 to $99,999", "tpc", PAttribute.NUMBER);
		f[14] = new PAttributeFilter("Total Project Cost", [100000,1386000], PAttributeFilter.RANGE, "$100,000 or More", "tpc", PAttribute.NUMBER);
		f[15] = new PAttributeFilter("County", ["Bucks"], PAttributeFilter.EQUAL, "Bucks", "county", PAttribute.STRING);
		f[16] = new PAttributeFilter("County", ["Chester"], PAttributeFilter.EQUAL, "Chester", "county", PAttribute.STRING);
		f[17] = new PAttributeFilter("County", ["Delaware"], PAttributeFilter.EQUAL, "Delaware", "county", PAttribute.STRING);
		f[18] = new PAttributeFilter("County", ["Montgomery"], PAttributeFilter.EQUAL, "Montgomery", "county", PAttribute.STRING);
		f[19] = new PAttributeFilter("County", ["Philadelphia"], PAttributeFilter.EQUAL, "Philadelphia", "county", PAttribute.STRING);
		f[20] = new PAttributeFilter("CDBG Eligibility", ["CDBG Eligible Census Tract"], PAttributeFilter.EQUAL, "CDBG Eligible Census Tract", "cdbg", PAttribute.STRING);
		f[21] = new PAttributeFilter("CDBG Eligibility", ["Not a CDBG Eligible Census Tract"], PAttributeFilter.EQUAL, "Not a CDBG Eligible Census Tract", "cdbg", PAttribute.STRING);
		set.setDisplayFilters(f);
	}
	// Denver Transit Lines
	else if (set.id == 90100) {
		var f = [];
		f[0] = new PAttributeFilter("Existing vs Proposed Lines", ["Existing Transit Lines"], PAttributeFilter.EQUAL, "Existing Transit Lines", "name", PAttribute.STRING);
		f[1] = new PAttributeFilter("Existing vs Proposed Lines", ["Proposed or Future Transit Lines"], PAttributeFilter.EQUAL, "Proposed or Future Transit Lines", "name", PAttribute.STRING);
		f[2] = new PAttributeFilter("Existing Transit Corridor", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code By All", "corridor", PAttribute.STRING);
		f[3] = new PAttributeFilter("Existing Transit Corridor", ["Central Corridor"], PAttributeFilter.EQUAL, "Central Corridor", "corridor", PAttribute.STRING);
		f[4] = new PAttributeFilter("Existing Transit Corridor", ["Central Platte Valley"], PAttributeFilter.EQUAL, "Central Platte Valley", "corridor", PAttribute.STRING);
		f[5] = new PAttributeFilter("Existing Transit Corridor", ["Southeast Corridor"], PAttributeFilter.EQUAL, "Southeast Corridor", "corridor", PAttribute.STRING);
		f[6] = new PAttributeFilter("Existing Transit Corridor", ["Southwest Corridor"], PAttributeFilter.EQUAL, "Southwest Corridor", "corridor", PAttribute.STRING);
		set.setDisplayFilters(f);
	}
	// Denver Transit Stations
	else if (set.id == 90150) {
		var f = [];
		f[0] = new PAttributeFilter("Transit Corridor", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "corridor", PAttribute.STRING);
		f[1] = new PAttributeFilter("Transit Corridor", ["Central Platte Valley"], PAttributeFilter.EQUAL, "Central Platte Valley", "corridor", PAttribute.STRING);
		f[2] = new PAttributeFilter("Transit Corridor", ["Denver Union Station"], PAttributeFilter.EQUAL, "Denver Union Station", "corridor", PAttribute.STRING);
		f[3] = new PAttributeFilter("Transit Corridor", ["East Corridor"], PAttributeFilter.EQUAL, "East Corridor", "corridor", PAttribute.STRING);
		f[4] = new PAttributeFilter("Transit Corridor", ["Gold Line"], PAttributeFilter.EQUAL, "Gold Line", "corridor", PAttribute.STRING);
		f[5] = new PAttributeFilter("Transit Corridor", ["I-225"], PAttributeFilter.EQUAL, "I-225", "corridor", PAttribute.STRING);
		f[6] = new PAttributeFilter("Transit Corridor", ["North Metro"], PAttributeFilter.EQUAL, "North Metro", "corridor", PAttribute.STRING);
		f[7] = new PAttributeFilter("Transit Corridor", ["Northwest Rail"], PAttributeFilter.EQUAL, "Northwest Rail", "corridor", PAttribute.STRING);
		f[8] = new PAttributeFilter("Transit Corridor", ["Southeast Corridor"], PAttributeFilter.EQUAL, "Southeast Corridor", "corridor", PAttribute.STRING);
		f[9] = new PAttributeFilter("Transit Corridor", ["Southwest Corridor"], PAttributeFilter.EQUAL, "Southwest Corridor", "corridor", PAttribute.STRING);
		f[10] = new PAttributeFilter("Transit Corridor", ["US 36 BRT"], PAttributeFilter.EQUAL, "US 36 BRT", "corridor", PAttribute.STRING);
		f[11] = new PAttributeFilter("Transit Corridor", ["West Corridor"], PAttributeFilter.EQUAL, "West Corridor", "corridor", PAttribute.STRING);
		set.setDisplayFilters(f);
	}
	// Denver Bus Lines
	else if (set.id == 90250) {
		var f = [];
		f[0] = new PAttributeFilter("Bus Line", ["All Denver Bus Lines"], PAttributeFilter.EQUAL, "All Denver Bus Lines", "name", PAttribute.STRING);
		f[1] = new PAttributeFilter("Bus Line", ["All Express Bus Lines"], PAttributeFilter.EQUAL, "All Express Bus Lines", "name", PAttribute.STRING);
		f[2] = new PAttributeFilter("Bus Line", ["Colfax Lines"], PAttributeFilter.EQUAL, "Colfax Lines", "name", PAttribute.STRING);
		f[3] = new PAttributeFilter("Bus Line", ["Colorado Line"], PAttributeFilter.EQUAL, "Colorado Line", "name", PAttribute.STRING);
		f[4] = new PAttributeFilter("Bus Line", ["Federal Lines"], PAttributeFilter.EQUAL, "Federal Lines", "name", PAttribute.STRING);
		f[5] = new PAttributeFilter("Bus Line", ["Martin Luther King Jr.Blvd Line"], PAttributeFilter.EQUAL, "Martin Luther King Jr.Blvd Line", "name", PAttribute.STRING);
		set.setDisplayFilters(f);
	}
	// Denver Bus Line Radius
	else if (set.id == 90300) {
		var f = [];
		f[0] = new PAttributeFilter("Name", ["Bus Line 1/4 Mile Radius"], PAttributeFilter.EQUAL, "Bus Line 1/4 Mile Radius", "name", PAttribute.STRING);
		f[1] = new PAttributeFilter("Name", ["Express Bus 1/4 Mile Radius"], PAttributeFilter.EQUAL, "Express Bus 1/4 Mile Radius", "name", PAttribute.STRING);
		set.setDisplayFilters(f);
	}
	// Wachovia Regional Foundation Applicants, Nov 2009
	else if (set.id == 90350) {
		var f = [];
		f[0] = new PAttributeFilter("Program Type", ["CommSvcs"], PAttributeFilter.EQUAL, "Community Services", "page", PAttribute.STRING);
		f[1] = new PAttributeFilter("Program Type", ["EconDev"], PAttributeFilter.EQUAL, "Economic Development", "page", PAttribute.STRING);
		f[2] = new PAttributeFilter("Program Type", ["Housing"], PAttributeFilter.EQUAL, "Housing", "page", PAttribute.STRING);
		f[3] = new PAttributeFilter("Program Type", ["InvByOther"], PAttributeFilter.EQUAL, "Other", "page", PAttribute.STRING);
		f[4] = new PAttributeFilter("Organization", ["Brand New Day"], PAttributeFilter.EQUAL, "Brand New Day", "org", PAttribute.STRING);
		f[5] = new PAttributeFilter("Organization", ["Impact Services"], PAttributeFilter.EQUAL, "Impact Services", "org", PAttribute.STRING);
		f[6] = new PAttributeFilter("Organization", ["Isles"], PAttributeFilter.EQUAL, "Isles", "org", PAttribute.STRING);
		f[7] = new PAttributeFilter("Organization", ["NKCDC"], PAttributeFilter.EQUAL, "NKCDC", "org", PAttribute.STRING);
		f[8] = new PAttributeFilter("Project Type Category", ["Demolition"], PAttributeFilter.EQUAL, "Demolition", "typproject_filter", PAttribute.STRING);
		f[9] = new PAttributeFilter("Project Type Category", ["Single-Family Residential"], PAttributeFilter.EQUAL, "Single-Family Residential", "typproject_filter", PAttribute.STRING);
		f[10] = new PAttributeFilter("Project Type Category", ["Homeownership and Low Income Homeownership"], PAttributeFilter.EQUAL, "Homeownership and Low Income Homeownership", "typproject_filter", PAttribute.STRING);
		f[11] = new PAttributeFilter("Project Type Category", ["Rental and Low Income Rental"], PAttributeFilter.EQUAL, "Rental and Low Income Rental", "typproject_filter", PAttribute.STRING);
		f[12] = new PAttributeFilter("Project Type Category", ["Mixed income development"], PAttributeFilter.EQUAL, "Mixed income development", "typproject_filter", PAttribute.STRING);
		f[13] = new PAttributeFilter("Project Type Category", ["Transitional Housing for Homeless Veterans"], PAttributeFilter.EQUAL, "Transitional Housing for Homeless Veterans", "typproject_filter", PAttribute.STRING);
		f[14] = new PAttributeFilter("Project Type Category", ["Other"], PAttributeFilter.EQUAL, "Other", "typproject_filter", PAttribute.STRING);
		f[15] = new PAttributeFilter("Project Type Category", ["Not Indicated"], PAttributeFilter.EQUAL, "Not Indicated", "typproject_filter", PAttribute.STRING);
		f[16] = new PAttributeFilter("Rehab or New", ["Rehab"], PAttributeFilter.EQUAL, "Rehab", "rehab_new", PAttribute.STRING);
		f[17] = new PAttributeFilter("Rehab or New", ["New Construction"], PAttributeFilter.EQUAL, "New Construction", "rehab_new", PAttribute.STRING);
		f[18] = new PAttributeFilter("Rehab or New", ["Not indicated or not applicable"], PAttributeFilter.EQUAL, "Not indicated or not applicable", "rehab_new", PAttribute.STRING);
		set.setDisplayFilters(f);
	}
	// Mercy Housing Target Areas
	else if (set.id == 90450) {
		var f = [];
		f[0] = new PAttributeFilter("Chicago Community Area", ["Auburn Gresham"], PAttributeFilter.EQUAL, "Auburn Gresham", "comm_area", PAttribute.STRING);
		f[1] = new PAttributeFilter("Chicago Community Area", ["Austin"], PAttributeFilter.EQUAL, "Austin", "comm_area", PAttribute.STRING);
		f[2] = new PAttributeFilter("Chicago Community Area", ["Chatham"], PAttributeFilter.EQUAL, "Chatham", "comm_area", PAttribute.STRING);
		f[3] = new PAttributeFilter("Chicago Community Area", ["Chicago Lawn"], PAttributeFilter.EQUAL, "Chicago Lawn", "comm_area", PAttribute.STRING);
		f[4] = new PAttributeFilter("Chicago Community Area", ["East Garfield Park"], PAttributeFilter.EQUAL, "East Garfield Park", "comm_area", PAttribute.STRING);
		f[5] = new PAttributeFilter("Chicago Community Area", ["Grand Boulevard"], PAttributeFilter.EQUAL, "Grand Boulevard", "comm_area", PAttribute.STRING);
		f[6] = new PAttributeFilter("Chicago Community Area", ["Greater Grand Crossing"], PAttributeFilter.EQUAL, "Greater Grand Crossing", "comm_area", PAttribute.STRING);
		f[7] = new PAttributeFilter("Chicago Community Area", ["Humboldt Park"], PAttributeFilter.EQUAL, "Humboldt Park", "comm_area", PAttribute.STRING);
		f[8] = new PAttributeFilter("Chicago Community Area", ["New City"], PAttributeFilter.EQUAL, "New City", "comm_area", PAttribute.STRING);
		f[9] = new PAttributeFilter("Chicago Community Area", ["North Lawndale"], PAttributeFilter.EQUAL, "North Lawndale", "comm_area", PAttribute.STRING);
		f[10] = new PAttributeFilter("Chicago Community Area", ["Oakland"], PAttributeFilter.EQUAL, "Oakland", "comm_area", PAttribute.STRING);
		f[11] = new PAttributeFilter("Chicago Community Area", ["Pullman"], PAttributeFilter.EQUAL, "Pullman", "comm_area", PAttribute.STRING);
		f[12] = new PAttributeFilter("Chicago Community Area", ["Roseland"], PAttributeFilter.EQUAL, "Roseland", "comm_area", PAttribute.STRING);
		f[13] = new PAttributeFilter("Chicago Community Area", ["Woodlawn"], PAttributeFilter.EQUAL, "Woodlawn", "comm_area", PAttribute.STRING);
		f[14] = new PAttributeFilter("Zip Code", ["60609"], PAttributeFilter.EQUAL, "60609", "zip_code", PAttribute.STRING);
		f[15] = new PAttributeFilter("Zip Code", ["60612"], PAttributeFilter.EQUAL, "60612", "zip_code", PAttribute.STRING);
		f[16] = new PAttributeFilter("Zip Code", ["60619"], PAttributeFilter.EQUAL, "60619", "zip_code", PAttribute.STRING);
		f[17] = new PAttributeFilter("Zip Code", ["60620"], PAttributeFilter.EQUAL, "60620", "zip_code", PAttribute.STRING);
		f[18] = new PAttributeFilter("Zip Code", ["60623"], PAttributeFilter.EQUAL, "60623", "zip_code", PAttribute.STRING);
		f[19] = new PAttributeFilter("Zip Code", ["60624"], PAttributeFilter.EQUAL, "60624", "zip_code", PAttribute.STRING);
		f[20] = new PAttributeFilter("Zip Code", ["60628"], PAttributeFilter.EQUAL, "60628", "zip_code", PAttribute.STRING);
		f[21] = new PAttributeFilter("Zip Code", ["60629"], PAttributeFilter.EQUAL, "60629", "zip_code", PAttribute.STRING);
		f[22] = new PAttributeFilter("Zip Code", ["60637"], PAttributeFilter.EQUAL, "60637", "zip_code", PAttribute.STRING);
		f[23] = new PAttributeFilter("Zip Code", ["60639"], PAttributeFilter.EQUAL, "60639", "zip_code", PAttribute.STRING);
		f[24] = new PAttributeFilter("Zip Code", ["60644"], PAttributeFilter.EQUAL, "60644", "zip_code", PAttribute.STRING);
		f[25] = new PAttributeFilter("Zip Code", ["60651"], PAttributeFilter.EQUAL, "60651", "zip_code", PAttribute.STRING);
		f[26] = new PAttributeFilter("Zip Code", ["60653"], PAttributeFilter.EQUAL, "60653", "zip_code", PAttribute.STRING);
		set.setDisplayFilters(f);
	}
	// Crispus Attucks 2009 Community Survey
	else if (set.id == 90650) {
		set.colorcodes = [triangle_darkOrange,triangle,triangle_lightOrange,triangle_grey,triangle_purple,triangle_darkPurple];
		var f = [];
		f[0] = new PAttributeFilter("Years in Neighborhood", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "years_in_neighborhood", PAttribute.STRING);
		f[1] = new PAttributeFilter("Years in Neighborhood", ["Less than 1 year"], PAttributeFilter.EQUAL, "Less than 1 year", "years_in_neighborhood", PAttribute.STRING);
		f[2] = new PAttributeFilter("Years in Neighborhood", ["1 - 5 years"], PAttributeFilter.EQUAL, "1-5 years", "years_in_neighborhood", PAttribute.STRING);
		f[3] = new PAttributeFilter("Years in Neighborhood", ["6 - 10 years"], PAttributeFilter.EQUAL, "6-10 years", "years_in_neighborhood", PAttribute.STRING);
		f[4] = new PAttributeFilter("Years in Neighborhood", ["11 - 20 years"], PAttributeFilter.EQUAL, "11-20 years", "years_in_neighborhood", PAttribute.STRING);
		f[5] = new PAttributeFilter("Years in Neighborhood", ["21 - 30 years"], PAttributeFilter.EQUAL, "21-30 years", "years_in_neighborhood", PAttribute.STRING);
		f[6] = new PAttributeFilter("Years in Neighborhood", ["More than 30 years"], PAttributeFilter.EQUAL, "More than 30 years", "years_in_neighborhood", PAttribute.STRING);
		f[7] = new PAttributeFilter("Num. Neighbors Speak with Regularly for 5 Min", ["0"], PAttributeFilter.EQUAL, "0", "num_neighbors_5min", PAttribute.STRING);
		f[8] = new PAttributeFilter("Num. Neighbors Speak with Regularly for 5 Min", ["1 - 3"], PAttributeFilter.EQUAL, "1 - 3", "num_neighbors_5min", PAttribute.STRING);
		f[9] = new PAttributeFilter("Num. Neighbors Speak with Regularly for 5 Min", ["4 - 6"], PAttributeFilter.EQUAL, "4 - 6", "num_neighbors_5min", PAttribute.STRING);
		f[10] = new PAttributeFilter("Num. Neighbors Speak with Regularly for 5 Min", ["7 - 9"], PAttributeFilter.EQUAL, "7 - 9", "num_neighbors_5min", PAttribute.STRING);
		f[11] = new PAttributeFilter("Num. Neighbors Speak with Regularly for 5 Min", ["10 or more"], PAttributeFilter.EQUAL, "10 or more", "num_neighbors_5min", PAttribute.STRING);
		f[12] = new PAttributeFilter("Level of Safety Walking in the Daytime", ["Safe or very safe"], PAttributeFilter.EQUAL, "Safe or very safe", "safety_daytime", PAttribute.STRING);
		f[13] = new PAttributeFilter("Level of Safety Walking in the Daytime", ["Somewhat safe"], PAttributeFilter.EQUAL, "Somewhat safe", "safety_daytime", PAttribute.STRING);
		f[14] = new PAttributeFilter("Level of Safety Walking in the Daytime", ["Not very safe or Not at all safe"], PAttributeFilter.EQUAL, "Not very safe or Not at all safe", "safety_daytime", PAttribute.STRING);
		f[15] = new PAttributeFilter("Level of Safety Walking at Night", ["Safe or very safe"], PAttributeFilter.EQUAL, "Safe or very safe", "safety_night", PAttribute.STRING);
		f[16] = new PAttributeFilter("Level of Safety Walking at Night", ["Somewhat safe"], PAttributeFilter.EQUAL, "Somewhat safe", "safety_night", PAttribute.STRING);
		f[17] = new PAttributeFilter("Level of Safety Walking at Night", ["Not very safe or Not at all safe"], PAttributeFilter.EQUAL, "Not very safe or Not at all safe", "safety_night", PAttribute.STRING);
		f[18] = new PAttributeFilter("Own or Rent", ["Own"], PAttributeFilter.EQUAL, "Own", "own_rent", PAttribute.STRING);
		f[19] = new PAttributeFilter("Own or Rent", ["Rent"], PAttributeFilter.EQUAL, "Rent", "own_rent", PAttribute.STRING);
		f[20] = new PAttributeFilter("Own or Rent", ["Neither (for instance, live with a friend or relative)"], PAttributeFilter.EQUAL, "Neither (for instance, live with a friend or relative)", "own_rent", PAttribute.STRING);
		f[21] = new PAttributeFilter("Most Like About Neighborhood", ["Friendliness"], PAttributeFilter.EQUAL, "Friendliness", "best_neighborhood", PAttribute.STRING);
		f[22] = new PAttributeFilter("Most Like About Neighborhood", ["Safety"], PAttributeFilter.EQUAL, "Safety", "best_neighborhood", PAttribute.STRING);
		f[23] = new PAttributeFilter("Most Like About Neighborhood", ["Nearness to work"], PAttributeFilter.EQUAL, "Nearness to work", "best_neighborhood", PAttribute.STRING);
		f[24] = new PAttributeFilter("Most Like About Neighborhood", ["Cleanliness of streets/homes"], PAttributeFilter.EQUAL, "Cleanliness of streets/homes", "best_neighborhood", PAttribute.STRING);
		f[25] = new PAttributeFilter("Most Like About Neighborhood", ["Community pride or spirit"], PAttributeFilter.EQUAL, "Community pride or spirit", "best_neighborhood", PAttribute.STRING);
		f[26] = new PAttributeFilter("Most Like About Neighborhood", ["Quality of schools"], PAttributeFilter.EQUAL, "Quality of schools", "best_neighborhood", PAttribute.STRING);
		f[27] = new PAttributeFilter("Most Like About Neighborhood", ["Parks or open spaces"], PAttributeFilter.EQUAL, "Parks or open spaces", "best_neighborhood", PAttribute.STRING);
		f[28] = new PAttributeFilter("Most Like About Neighborhood", ["Available shopping"], PAttributeFilter.EQUAL, "Available shopping", "best_neighborhood", PAttribute.STRING);
		f[29] = new PAttributeFilter("Most Like About Neighborhood", ["Other"], PAttributeFilter.EQUAL, "Other", "best_neighborhood", PAttribute.STRING);
		f[30] = new PAttributeFilter("2nd Most Like About Neighborhood", ["Friendliness"], PAttributeFilter.EQUAL, "Friendliness", "second_best_neighborhood", PAttribute.STRING);
		f[31] = new PAttributeFilter("2nd Most Like About Neighborhood", ["Cleanliness of streets/homes"], PAttributeFilter.EQUAL, "Cleanliness of streets/homes", "second_best_neighborhood", PAttribute.STRING);
		f[32] = new PAttributeFilter("2nd Most Like About Neighborhood", ["Quality of schools"], PAttributeFilter.EQUAL, "Quality of schools", "second_best_neighborhood", PAttribute.STRING);
		f[33] = new PAttributeFilter("2nd Most Like About Neighborhood", ["Safety"], PAttributeFilter.EQUAL, "Safety", "second_best_neighborhood", PAttribute.STRING);
		f[34] = new PAttributeFilter("2nd Most Like About Neighborhood", ["Community pride or spirit"], PAttributeFilter.EQUAL, "Community pride or spirit", "second_best_neighborhood", PAttribute.STRING);
		f[35] = new PAttributeFilter("2nd Most Like About Neighborhood", ["Available shopping"], PAttributeFilter.EQUAL, "Available shopping", "second_best_neighborhood", PAttribute.STRING);
		f[36] = new PAttributeFilter("2nd Most Like About Neighborhood", ["Nearness to work"], PAttributeFilter.EQUAL, "Nearness to work", "second_best_neighborhood", PAttribute.STRING);
		f[37] = new PAttributeFilter("2nd Most Like About Neighborhood", ["Parks or open spaces"], PAttributeFilter.EQUAL, "Parks or open spaces", "second_best_neighborhood", PAttribute.STRING);
		f[38] = new PAttributeFilter("2nd Most Like About Neighborhood", ["Available jobs"], PAttributeFilter.EQUAL, "Available jobs", "second_best_neighborhood", PAttribute.STRING);
		f[39] = new PAttributeFilter("2nd Most Like About Neighborhood", ["Other"], PAttributeFilter.EQUAL, "Other", "second_best_neighborhood", PAttribute.STRING);
		f[40] = new PAttributeFilter("Worst Thing About Neighborhood", ["Crime or other safety issues"], PAttributeFilter.EQUAL, "Crime or other safety issues", "worst_neighborhood", PAttribute.STRING);
		f[41] = new PAttributeFilter("Worst Thing About Neighborhood", ["Litter, graffiti or other cleanliness issues"], PAttributeFilter.EQUAL, "Litter, graffiti or other cleanliness issues", "worst_neighborhood", PAttribute.STRING);
		f[42] = new PAttributeFilter("Worst Thing About Neighborhood", ["Number of abandoned or run-down buildings"], PAttributeFilter.EQUAL, "Number of abandoned or run-down buildings", "worst_neighborhood", PAttribute.STRING);
		f[43] = new PAttributeFilter("Worst Thing About Neighborhood", ["Lack of available jobs"], PAttributeFilter.EQUAL, "Lack of available jobs", "worst_neighborhood", PAttribute.STRING);
		f[44] = new PAttributeFilter("Worst Thing About Neighborhood", ["Police non-responsiveness or harassment"], PAttributeFilter.EQUAL, "Police non-responsiveness or harassment", "worst_neighborhood", PAttribute.STRING);
		f[45] = new PAttributeFilter("Worst Thing About Neighborhood", ["Distance from shopping"], PAttributeFilter.EQUAL, "Distance from shopping", "worst_neighborhood", PAttribute.STRING);
		f[46] = new PAttributeFilter("Worst Thing About Neighborhood", ["Lack of quality parks or open spaces"], PAttributeFilter.EQUAL, "Lack of quality parks or open spaces", "worst_neighborhood", PAttribute.STRING);
		f[47] = new PAttributeFilter("Worst Thing About Neighborhood", ["Distance from work"], PAttributeFilter.EQUAL, "Distance from work", "worst_neighborhood", PAttribute.STRING);
		f[48] = new PAttributeFilter("Worst Thing About Neighborhood", ["Poor-quality schools"], PAttributeFilter.EQUAL, "Poor-quality schools", "worst_neighborhood", PAttribute.STRING);
		f[49] = new PAttributeFilter("Worst Thing About Neighborhood", ["Unreliable public services"], PAttributeFilter.EQUAL, "Unreliable public services", "worst_neighborhood", PAttribute.STRING);
		f[50] = new PAttributeFilter("Worst Thing About Neighborhood", ["Presence of undesirable businesses"], PAttributeFilter.EQUAL, "Presence of undesirable businesses", "worst_neighborhood", PAttribute.STRING);
		f[51] = new PAttributeFilter("Worst Thing About Neighborhood", ["Lack of neighborhood friendliness"], PAttributeFilter.EQUAL, "Lack of neighborhood friendliness", "worst_neighborhood", PAttribute.STRING);
		f[52] = new PAttributeFilter("Worst Thing About Neighborhood", ["Other"], PAttributeFilter.EQUAL, "Other", "worst_neighborhood", PAttribute.STRING);
		f[53] = new PAttributeFilter("2nd Worst Thing About Neighborhood", ["Crime or other safety issues"], PAttributeFilter.EQUAL, "Crime or other safety issues", "second_worst_neighborhood", PAttribute.STRING);
		f[54] = new PAttributeFilter("2nd Worst Thing About Neighborhood", ["Litter, graffiti or other cleanliness issues"], PAttributeFilter.EQUAL, "Litter, graffiti or other cleanliness issues", "second_worst_neighborhood", PAttribute.STRING);
		f[55] = new PAttributeFilter("2nd Worst Thing About Neighborhood", ["Number of abandoned or run-down buildings"], PAttributeFilter.EQUAL, "Number of abandoned or run-down buildings", "second_worst_neighborhood", PAttribute.STRING);
		f[56] = new PAttributeFilter("2nd Worst Thing About Neighborhood", ["Lack of available jobs"], PAttributeFilter.EQUAL, "Lack of available jobs", "second_worst_neighborhood", PAttribute.STRING);
		f[57] = new PAttributeFilter("2nd Worst Thing About Neighborhood", ["Police non-responsiveness or harassment"], PAttributeFilter.EQUAL, "Police non-responsiveness or harassment", "second_worst_neighborhood", PAttribute.STRING);
		f[58] = new PAttributeFilter("2nd Worst Thing About Neighborhood", ["Presence of undesirable businesses"], PAttributeFilter.EQUAL, "Presence of undesirable businesses", "second_worst_neighborhood", PAttribute.STRING);
		f[59] = new PAttributeFilter("2nd Worst Thing About Neighborhood", ["Distance from shopping"], PAttributeFilter.EQUAL, "Distance from shopping", "second_worst_neighborhood", PAttribute.STRING);
		f[60] = new PAttributeFilter("2nd Worst Thing About Neighborhood", ["Lack of neighborhood friendliness"], PAttributeFilter.EQUAL, "Lack of neighborhood friendliness", "second_worst_neighborhood", PAttribute.STRING);
		f[61] = new PAttributeFilter("2nd Worst Thing About Neighborhood", ["Distance from work"], PAttributeFilter.EQUAL, "Distance from work", "second_worst_neighborhood", PAttribute.STRING);
		f[62] = new PAttributeFilter("2nd Worst Thing About Neighborhood", ["Unreliable public services"], PAttributeFilter.EQUAL, "Unreliable public services", "second_worst_neighborhood", PAttribute.STRING);
		f[63] = new PAttributeFilter("2nd Worst Thing About Neighborhood", ["Poor-quality schools"], PAttributeFilter.EQUAL, "Poor-quality schools", "second_worst_neighborhood", PAttribute.STRING);
		f[64] = new PAttributeFilter("2nd Worst Thing About Neighborhood", ["Lack of quality parks or open spaces"], PAttributeFilter.EQUAL, "Lack of quality parks or open spaces", "second_worst_neighborhood", PAttribute.STRING);
		f[65] = new PAttributeFilter("2nd Worst Thing About Neighborhood", ["Other"], PAttributeFilter.EQUAL, "Other", "second_worst_neighborhood", PAttribute.STRING);
		f[66] = new PAttributeFilter("Frequency Family Uses Crispus Attucks Services", ["Usually quarterly"], PAttributeFilter.EQUAL, "Usually quarterly", "frequency_services_attuck", PAttribute.STRING);
		f[67] = new PAttributeFilter("Frequency Family Uses Crispus Attucks Services", ["Usually monthly"], PAttributeFilter.EQUAL, "Usually monthly", "frequency_services_attuck", PAttribute.STRING);
		f[68] = new PAttributeFilter("Frequency Family Uses Crispus Attucks Services", ["Usually weekly"], PAttributeFilter.EQUAL, "Usually weekly", "frequency_services_attuck", PAttribute.STRING);
		f[69] = new PAttributeFilter("Frequency Family Uses Crispus Attucks Services", ["Usually daily"], PAttributeFilter.EQUAL, "Usually daily", "frequency_services_attuck", PAttribute.STRING);
		f[70] = new PAttributeFilter("Frequency Family Uses Crispus Attucks Services", ["Never"], PAttributeFilter.EQUAL, "Never", "frequency_services_attuck", PAttribute.STRING);
		f[71] = new PAttributeFilter("Frequency Parking is an Issue", ["Rarely or Almost never"], PAttributeFilter.EQUAL, "Rarely or Almost never", "frequency_parking_issue", PAttribute.STRING);
		f[72] = new PAttributeFilter("Frequency Parking is an Issue", ["Sometimes"], PAttributeFilter.EQUAL, "Sometimes", "frequency_parking_issue", PAttribute.STRING);
		f[73] = new PAttributeFilter("Frequency Parking is an Issue", ["Almost always"], PAttributeFilter.EQUAL, "Almost always", "frequency_parking_issue", PAttribute.STRING);
		set.setDisplayFilters(f);
	}
	// Wachovia Regional Foundation Grantees, Dec 2009
	else if (set.id == 90750) {
		var f = [];
		f[0] = new PAttributeFilter("Program Type", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "page", PAttribute.STRING);
		f[1] = new PAttributeFilter("Program Type", ["Community Services"], PAttributeFilter.EQUAL, "Community Services", "page", PAttribute.STRING);
		f[2] = new PAttributeFilter("Program Type", ["Economic Development"], PAttributeFilter.EQUAL, "Economic Development", "page", PAttribute.STRING);
		f[3] = new PAttributeFilter("Program Type", ["Housing"], PAttributeFilter.EQUAL, "Housing", "page", PAttribute.STRING);
		f[4] = new PAttributeFilter("Program Type", ["Neighborhood Assets"], PAttributeFilter.EQUAL, "Neighborhood Assets", "page", PAttribute.STRING);
		f[5] = new PAttributeFilter("Program Type", ["Area Investment By Others"], PAttributeFilter.EQUAL, "Area Investment By Others", "page", PAttribute.STRING);
		f[6] = new PAttributeFilter("Organization", ["APM"], PAttributeFilter.EQUAL, "APM", "org", PAttribute.STRING);
		f[7] = new PAttributeFilter("Organization", ["Bucks County"], PAttributeFilter.EQUAL, "Bucks County Housing Group", "org", PAttribute.STRING);
		f[8] = new PAttributeFilter("Organization", ["Cramer Hill"], PAttributeFilter.EQUAL, "Cramer Hill CDC", "org", PAttribute.STRING);
		f[9] = new PAttributeFilter("Organization", ["Parkside"], PAttributeFilter.EQUAL, "Parkside PBCIP", "org", PAttribute.STRING);
		f[10] = new PAttributeFilter("Organization", ["UNCNEPA"], PAttributeFilter.EQUAL, "United Neighborhood Centers of Northeastern PA", "org", PAttribute.STRING);
		f[11] = new PAttributeFilter("Rehab or New", ["New Construction"], PAttributeFilter.EQUAL, "New Construction", "rehab_new", PAttribute.STRING);
		f[12] = new PAttributeFilter("Rehab or New", ["Rehab"], PAttributeFilter.EQUAL, "Rehab", "rehab_new", PAttribute.STRING);
		f[13] = new PAttributeFilter("Rehab or New", ["Rehab & New Construction"], PAttributeFilter.EQUAL, "Rehab & New Construction", "rehab_new", PAttribute.STRING);
		set.setDisplayFilters(f);
	}
	// Louisiana HFA Projects in the Pipeline
	else if (set.id == 91000) {
		var f = [];
		f.push( new PAttributeFilter("Residential Buildings", [1,4], PAttributeFilter.RANGE, "1 to 4", "resbldgs", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Residential Buildings", [5,24], PAttributeFilter.RANGE, "5 to 24", "resbldgs", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Residential Buildings", [25,49], PAttributeFilter.RANGE, "25 to 49", "resbldgs", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Residential Buildings", [50,99], PAttributeFilter.RANGE, "50 to 99", "resbldgs", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Residential Buildings", [100,209], PAttributeFilter.RANGE, "100 or more", "resbldgs", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Total Units", [0,24], PAttributeFilter.RANGE, "Less than 25", "totunits", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Total Units", [25,49], PAttributeFilter.RANGE, "25 to 49", "totunits", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Total Units", [50,99], PAttributeFilter.RANGE, "50 to 99", "totunits", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Total Units", [100,299], PAttributeFilter.RANGE, "100 to 299", "totunits", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Total Units", [300,1105], PAttributeFilter.RANGE, "300 or more", "totunits", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Rehab or New Construction", ["Rehab"], PAttributeFilter.EQUAL, "Rehab", "rehab_new", PAttribute.STRING) );
		f.push( new PAttributeFilter("Rehab or New Construction", ["New Construction"], PAttributeFilter.EQUAL, "New Construction", "rehab_new", PAttribute.STRING) );
		f.push( new PAttributeFilter("Rehab or New Construction", ["Rehab & New Construction"], PAttributeFilter.EQUAL, "Rehab & New Construction", "rehab_new", PAttribute.STRING) );
		f.push( new PAttributeFilter("Award Date", ["Dec. 2004"], PAttributeFilter.EQUAL, "Dec. 2004", "awarddate", PAttribute.STRING) );
		f.push( new PAttributeFilter("Award Date", ["Mar. 2006"], PAttributeFilter.EQUAL, "Mar. 2006", "awarddate", PAttribute.STRING) );
		f.push( new PAttributeFilter("Award Date", ["July 2006"], PAttributeFilter.EQUAL, "July 2006", "awarddate", PAttribute.STRING) );
		f.push( new PAttributeFilter("Award Date", ["Aug. 2006"], PAttributeFilter.EQUAL, "Aug. 2006", "awarddate", PAttribute.STRING) );
		f.push( new PAttributeFilter("Award Date", ["Sept. 2006"], PAttributeFilter.EQUAL, "Sept. 2006", "awarddate", PAttribute.STRING) );
		f.push( new PAttributeFilter("Award Date", ["Dec. 2006"], PAttributeFilter.EQUAL, "Dec. 2006", "awarddate", PAttribute.STRING) );
		f.push( new PAttributeFilter("Award Date", ["Oct. 2007"], PAttributeFilter.EQUAL, "Oct. 2007", "awarddate", PAttribute.STRING) );
		f.push( new PAttributeFilter("Award Date", ["Nov. 2007"], PAttributeFilter.EQUAL, "Nov. 2007", "awarddate", PAttribute.STRING) );
		f.push( new PAttributeFilter("Award Date", ["Feb. 2008"], PAttributeFilter.EQUAL, "Feb. 2008", "awarddate", PAttribute.STRING) );
		f.push( new PAttributeFilter("Award Date", ["Nov. 2008"], PAttributeFilter.EQUAL, "Nov. 2008", "awarddate", PAttribute.STRING) );
		f.push( new PAttributeFilter("Award Date", ["Jan. 2009"], PAttributeFilter.EQUAL, "Jan. 2009", "awarddate", PAttribute.STRING) );
		f.push( new PAttributeFilter("Award Date", ["Feb. 2009"], PAttributeFilter.EQUAL, "Feb. 2009", "awarddate", PAttribute.STRING) );
		f.push( new PAttributeFilter("Award Date", ["Not indicated"], PAttributeFilter.EQUAL, "Not indicated", "awarddate", PAttribute.STRING) );
		f.push( new PAttributeFilter("Status", ["closed"], PAttributeFilter.EQUAL, "closed", "status", PAttribute.STRING) );
		f.push( new PAttributeFilter("Status", ["not closed"], PAttributeFilter.EQUAL, "not closed", "status", PAttribute.STRING) );
		f.push( new PAttributeFilter("Status", ["PIS"], PAttributeFilter.EQUAL, "PIS", "status", PAttribute.STRING) );
		f.push( new PAttributeFilter("Status", ["under const."], PAttributeFilter.EQUAL, "under const.", "status", PAttribute.STRING) );
		f.push( new PAttributeFilter("Status", ["Not indicated"], PAttributeFilter.EQUAL, "Not indicated", "status", PAttribute.STRING) );
		f.push( new PAttributeFilter("Set-Aside Percentage", ["15%25 of Residents @ 40%25 or less"], PAttributeFilter.EQUAL, "15% of Residents @ 40% or less", "psetaside", PAttribute.STRING) );
		f.push( new PAttributeFilter("Set-Aside Percentage", ["20%25 of Residents @ 50%25 or less"], PAttributeFilter.EQUAL, "20% of Residents @ 50% or less", "psetaside", PAttribute.STRING) );
		f.push( new PAttributeFilter("Set-Aside Percentage", ["40%25 of Residents @ 60%25 or less"], PAttributeFilter.EQUAL, "40% of Residents @ 60% or less", "psetaside", PAttribute.STRING) );
		f.push( new PAttributeFilter("Set-Aside Percentage", ["Not indicated"], PAttributeFilter.EQUAL, "Not indicated", "psetaside", PAttribute.STRING) );
		f.push( new PAttributeFilter("Total Development Cost", [0,4999999], PAttributeFilter.RANGE, "Less than $5,000,000", "tdc", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Total Development Cost", [5000000,10000000], PAttributeFilter.RANGE, "$5,000,000 to $10,000,000", "tdc", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Total Development Cost", [10000001,99999999], PAttributeFilter.RANGE, "$10,000,001 to $99,999,999", "tdc", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Total Development Cost", [100000000,129060996], PAttributeFilter.RANGE, "$100,000,000 or more", "tdc", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Funded with", ["CDBG"], PAttributeFilter.RANGE, "CDBG", "awards", PAttribute.STRING) );
		f.push( new PAttributeFilter("Funded with", ["HTF"], PAttributeFilter.RANGE, "HTF", "awards", PAttribute.STRING) );
		f.push( new PAttributeFilter("Funded with", ["LIHTC 9%25 Allocation"], PAttributeFilter.RANGE, "LIHTC 9% Allocation", "awards", PAttribute.STRING) );
		f.push( new PAttributeFilter("Funded with", ["MRB (multi)"], PAttributeFilter.RANGE, "MRB (multi)", "awards", PAttribute.STRING) );
		f.push( new PAttributeFilter("Funded with", ["TCAP"], PAttributeFilter.RANGE, "TCAP", "awards", PAttribute.STRING) );
		set.setDisplayFilters(f);
	}
	// Chicago Demolition List
	else if (set.id == 91050) {
		set.colorcodes = [star_brown,star_red,star];
		var f = [];
		f.push( new PAttributeFilter("Case Group", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "casegroup", PAttribute.STRING) );
		f.push( new PAttributeFilter("Case Group", ["DEMO COURT"], PAttributeFilter.EQUAL, "DEMO COURT", "casegroup", PAttribute.STRING) );
		f.push( new PAttributeFilter("Case Group", ["FAST TRACK DEMO"], PAttributeFilter.EQUAL, "FAST TRACK DEMO", "casegroup", PAttribute.STRING) );
		set.setDisplayFilters(f);
	}
	// Oregon At Risk Properties, December 2009
	else if (set.id == 91100) {
		var f = [];
		f.push( new PAttributeFilter("Subsidy Program", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "progname", PAttribute.STRING) );
		f.push( new PAttributeFilter("Subsidy Program", ["HUD"], PAttributeFilter.EQUAL, "US Department of Housing & Urban Development", "progname", PAttribute.STRING) );
		f.push( new PAttributeFilter("Subsidy Program", ["OHCS"], PAttributeFilter.EQUAL, "Oregon Housing & Community Services", "progname", PAttribute.STRING) );
		f.push( new PAttributeFilter("Subsidy Program", ["RD"], PAttributeFilter.EQUAL, "Rural Development", "progname", PAttribute.STRING) );
		f.push( new PAttributeFilter("Overall Expiration Year", ["2009"], PAttributeFilter.EQUAL, "2009", "overallexp_filter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Overall Expiration Year", ["2010"], PAttributeFilter.EQUAL, "2010", "overallexp_filter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Overall Expiration Year", ["2011"], PAttributeFilter.EQUAL, "2011", "overallexp_filter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Overall Expiration Year", ["2012"], PAttributeFilter.EQUAL, "2012", "overallexp_filter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Overall Expiration Year", ["2013"], PAttributeFilter.EQUAL, "2013", "overallexp_filter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Overall Expiration Year", ["2014"], PAttributeFilter.EQUAL, "2014", "overallexp_filter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Current Expiration Year", ["2009"], PAttributeFilter.EQUAL, "2009", "currentexp_filter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Current Expiration Year", ["2010"], PAttributeFilter.EQUAL, "2010", "currentexp_filter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Current Expiration Year", ["2011"], PAttributeFilter.EQUAL, "2011", "currentexp_filter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Current Expiration Year", ["2012"], PAttributeFilter.EQUAL, "2012", "currentexp_filter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Current Expiration Year", ["2013"], PAttributeFilter.EQUAL, "2013", "currentexp_filter", PAttribute.STRING) );
		set.setDisplayFilters(f);
	}
	// ULI Chicago
	else if (set.id == 91150) {
		var f = [];
		f.push( new PAttributeFilter("ULI Program", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "program", PAttribute.STRING) );
		f.push( new PAttributeFilter("ULI Program", ["Interagency Council"], PAttributeFilter.EQUAL, "Interagency Council", "program", PAttribute.STRING) );
		f.push( new PAttributeFilter("ULI Program", ["Preservation"], PAttributeFilter.EQUAL, "Preservation", "program", PAttribute.STRING) );
		f.push( new PAttributeFilter("ULI Program", ["Energy Savers Program"], PAttributeFilter.EQUAL, "Energy Savers Program", "program", PAttribute.STRING) );
		f.push( new PAttributeFilter("ULI Program", ["Rental Housing Alliance"], PAttributeFilter.EQUAL, "Rental Housing Alliance", "program", PAttribute.STRING) );
		f.push( new PAttributeFilter("ULI Program", ["Property Taxes"], PAttributeFilter.EQUAL, "Property Taxes", "program", PAttribute.STRING) );
		f.push( new PAttributeFilter("Preservation Partner Org", ["Chicago Investment Corporation"], PAttributeFilter.EQUAL, "Chicago Investment Corporation", "preservationpartner", PAttribute.STRING) );
		f.push( new PAttributeFilter("Preservation Partner Org", ["Chicago Initiatives, Inc"], PAttributeFilter.EQUAL, "Chicago Initiatives, Inc", "preservationpartner", PAttribute.STRING) );
		f.push( new PAttributeFilter("Preservation Partner Org", ["Chicago Community Loan Fund"], PAttributeFilter.EQUAL, "Chicago Community Loan Fund", "preservationpartner", PAttribute.STRING) );
		f.push( new PAttributeFilter("Energy Program Type", ["Energy Audit"], PAttributeFilter.EQUAL, "Energy Audit", "energyprogramtype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Energy Program Type", ["Energy Improvement"], PAttributeFilter.EQUAL, "Energy Improvement", "energyprogramtype", PAttribute.STRING) );
		set.setDisplayFilters(f);
	}
	// Louisiana HFA Projects in the Pipeline Widget
	else if (set.id == 91250) {
		set.colorcodes = [diamond_green,diamond_drkgreen,diamond_blue,diamond_drkblue];
		var f = [];
		f.push( new PAttributeFilter("Number of Units", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "totunits", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Number of Units", [1,25], PAttributeFilter.RANGE, "1 to 25", "totunits", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Number of Units", [26,50], PAttributeFilter.RANGE, "26 to 50", "totunits", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Number of Units", [51,100], PAttributeFilter.RANGE, "51 to 100", "totunits", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Number of Units", [101,1105], PAttributeFilter.RANGE, "More than 100", "totunits", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Status", ["PIS"], PAttributeFilter.EQUAL, "PIS", "status", PAttribute.STRING) );
		f.push( new PAttributeFilter("Status", ["Under Construction"], PAttributeFilter.EQUAL, "Under Construction", "status", PAttribute.STRING) );
		f.push( new PAttributeFilter("Status", ["Closed"], PAttributeFilter.EQUAL, "Closed", "status", PAttribute.STRING) );
		f.push( new PAttributeFilter("Status", ["Not Closed"], PAttributeFilter.EQUAL, "Not Closed", "status", PAttribute.STRING) );
		f.push( new PAttributeFilter("Status", ["Not Indicated"], PAttributeFilter.EQUAL, "Not Indicated", "status", PAttribute.STRING) );
		f.push( new PAttributeFilter("Funded with", ["Community Development Block Grant (CDBG)"], PAttributeFilter.RANGE, "Community Development Block Grant (CDBG)", "awards", PAttribute.STRING) );
		f.push( new PAttributeFilter("Funded with", ["Louisiana Housing Trust Fund (LHTF)"], PAttributeFilter.RANGE, "Louisiana Housing Trust Fund (LHTF)", "awards", PAttribute.STRING) );
		f.push( new PAttributeFilter("Funded with", ["LIHTC 9%25"], PAttributeFilter.RANGE, "LIHTC 9%", "awards", PAttribute.STRING) );
		f.push( new PAttributeFilter("Funded with", ["Mortgage Revenue Bond (MRB)"], PAttributeFilter.RANGE, "Mortgage Revenue Bond (MRB)", "awards", PAttribute.STRING) );
		f.push( new PAttributeFilter("Funded with", ["Tax Credit Assistance Program (TCAP)"], PAttributeFilter.RANGE, "Tax Credit Assistance Program (TCAP)", "awards", PAttribute.STRING) );
		set.setDisplayFilters(f);
	}
	// United Way
	else if (set.id == 91300) {
		var f = [];
		f.push( new PAttributeFilter("Agency UW Grant - FY2010", [0], PAttributeFilter.EQUAL, "None", "fy2010uwgrant", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Agency UW Grant - FY2010", [1,9999], PAttributeFilter.RANGE, "Less than $10,000", "fy2010uwgrant", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Agency UW Grant - FY2010", [10000,24999], PAttributeFilter.RANGE, "$10,000 to $24,999", "fy2010uwgrant", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Agency UW Grant - FY2010", [25000,49999], PAttributeFilter.RANGE, "$25,000 to $49,999", "fy2010uwgrant", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Agency UW Grant - FY2010", [50000,99999], PAttributeFilter.RANGE, "$50,000 to $99,999", "fy2010uwgrant", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Agency UW Grant - FY2010", [100000,199999], PAttributeFilter.RANGE, "$100,000 to $199,999", "fy2010uwgrant", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Agency UW Grant - FY2010", [200000,300000], PAttributeFilter.RANGE, "$200,000 to $300,000", "fy2010uwgrant", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Agency UW Grant - FY2010", [300001,893059], PAttributeFilter.RANGE, "More than $300,000", "fy2010uwgrant", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Agency UW Grant - FY2009", [0], PAttributeFilter.EQUAL, "None", "fy2009uwgrant", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Agency UW Grant - FY2009", [1,9999], PAttributeFilter.RANGE, "Less than $10,000", "fy2009uwgrant", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Agency UW Grant - FY2009", [10000,24999], PAttributeFilter.RANGE, "$10,000 to $24,999", "fy2009uwgrant", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Agency UW Grant - FY2009", [25000,49999], PAttributeFilter.RANGE, "$25,000 to $49,999", "fy2009uwgrant", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Agency UW Grant - FY2009", [50000,99999], PAttributeFilter.RANGE, "$50,000 to $99,999", "fy2009uwgrant", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Agency UW Grant - FY2009", [100000,199999], PAttributeFilter.RANGE, "$100,000 to $199,999", "fy2009uwgrant", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Agency UW Grant - FY2009", [200000,300000], PAttributeFilter.RANGE, "$200,000 to $300,000", "fy2009uwgrant", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Agency UW Grant - FY2009", [300001,893059], PAttributeFilter.RANGE, "More than $300,000", "fy2009uwgrant", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Agency Size (Expense Budget)", [0,249999], PAttributeFilter.RANGE, "Less than $250 thousand", "agencybudgetrecyr", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Agency Size (Expense Budget)", [250000,999999], PAttributeFilter.RANGE, "$250 thousand to $999,999", "agencybudgetrecyr", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Agency Size (Expense Budget)", [1000000,10000000], PAttributeFilter.RANGE, "$1 million to $10 million", "agencybudgetrecyr", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Agency Size (Expense Budget)", [10000001,1675887118], PAttributeFilter.RANGE, "More than $10 million", "agencybudgetrecyr", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Human Services Needs Addressed", ["Physical Health"], PAttributeFilter.RANGE, "Physical Health", "humansvcsneeds", PAttribute.STRING) );
		f.push( new PAttributeFilter("Human Services Needs Addressed", ["Behavioral Health"], PAttributeFilter.RANGE, "Behavioral Health", "humansvcsneeds", PAttribute.STRING) );
		f.push( new PAttributeFilter("Human Services Needs Addressed", ["School Readiness"], PAttributeFilter.RANGE, "School Readiness", "humansvcsneeds", PAttribute.STRING) );
		f.push( new PAttributeFilter("Human Services Needs Addressed", ["Succeeding in School"], PAttributeFilter.RANGE, "Succeeding in School", "humansvcsneeds", PAttribute.STRING) );
		f.push( new PAttributeFilter("Human Services Needs Addressed", ["Reengagement of Older Youth"], PAttributeFilter.RANGE, "Reengagement of Older Youth", "humansvcsneeds", PAttribute.STRING) );
		f.push( new PAttributeFilter("Human Services Needs Addressed", ["Basic Adult Education and Skills"], PAttributeFilter.RANGE, "Basic Adult Education and Skills", "humansvcsneeds", PAttribute.STRING) );
		f.push( new PAttributeFilter("Human Services Needs Addressed", ["Jobs and Income"], PAttributeFilter.RANGE, "Jobs and Income", "humansvcsneeds", PAttribute.STRING) );
		f.push( new PAttributeFilter("Human Services Needs Addressed", ["Financial Literacy and Stability"], PAttributeFilter.RANGE, "Financial Literacy and Stability", "humansvcsneeds", PAttribute.STRING) );
		f.push( new PAttributeFilter("Human Services Needs Addressed", ["Self Sufficiency"], PAttributeFilter.RANGE, "Self Sufficiency", "humansvcsneeds", PAttribute.STRING) );
		f.push( new PAttributeFilter("Human Services Needs Addressed", ["Coping with Chronic Conditions and Disabilities"], PAttributeFilter.RANGE, "Coping with Chronic Conditions and Disabilities", "humansvcsneeds", PAttribute.STRING) );
		f.push( new PAttributeFilter("Human Services Needs Addressed", ["Senior Independence"], PAttributeFilter.RANGE, "Senior Independence", "humansvcsneeds", PAttribute.STRING) );
		f.push( new PAttributeFilter("Human Services Needs Addressed", ["Community Development"], PAttributeFilter.RANGE, "Community Development", "humansvcsneeds", PAttribute.STRING) );
		f.push( new PAttributeFilter("Human Services Needs Addressed", ["Basic Needs"], PAttributeFilter.RANGE, "Basic Needs", "humansvcsneeds", PAttribute.STRING) );
		f.push( new PAttributeFilter("Human Services Needs Addressed", ["Disaster Preparedness and Relief"], PAttributeFilter.RANGE, "Disaster Preparedness and Relief", "humansvcsneeds", PAttribute.STRING) );
		f.push( new PAttributeFilter("Percentage clients below 200% federal poverty line", [0,19], PAttributeFilter.RANGE, "Less than 20%", "p200poverty", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Percentage clients below 200% federal poverty line", [20,50], PAttributeFilter.RANGE, "20% to 50%", "p200poverty", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Percentage clients below 200% federal poverty line", [51,80], PAttributeFilter.RANGE, "51% to 80%", "p200poverty", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Percentage clients below 200% federal poverty line", [81,90], PAttributeFilter.RANGE, "81% to 90%", "p200poverty", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Percentage clients below 200% federal poverty line", [91,100], PAttributeFilter.RANGE, "More than 90%", "p200poverty", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Percentage of non-English-speaking clients", [0,4], PAttributeFilter.RANGE, "Less than 5%", "plimitedenglish", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Percentage of non-English-speaking clients", [5,10], PAttributeFilter.RANGE, "5% to 10%", "plimitedenglish", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Percentage of non-English-speaking clients", [11,20], PAttributeFilter.RANGE, "11% to 20%", "plimitedenglish", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Percentage of non-English-speaking clients", [21,50], PAttributeFilter.RANGE, "21% to 50%", "plimitedenglish", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Percentage of non-English-speaking clients", [51,80], PAttributeFilter.RANGE, "51% to 80%", "plimitedenglish", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Percentage of non-English-speaking clients", [81,100], PAttributeFilter.RANGE, "More than 80%", "plimitedenglish", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: Hispanic", [0,4], PAttributeFilter.RANGE, "Less than 5%", "phisporlatino", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: Hispanic", [5,10], PAttributeFilter.RANGE, "5% to 10%", "phisporlatino", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: Hispanic", [11,20], PAttributeFilter.RANGE, "11% to 20%", "phisporlatino", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: Hispanic", [21,50], PAttributeFilter.RANGE, "21% to 50%", "phisporlatino", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: Hispanic", [51,80], PAttributeFilter.RANGE, "51% to 80%", "phisporlatino", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: Hispanic", [81,100], PAttributeFilter.RANGE, "More than 80%", "phisporlatino", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: White (not Hispanic)", [0,4], PAttributeFilter.RANGE, "Less than 5%", "pwhite", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: White (not Hispanic)", [5,10], PAttributeFilter.RANGE, "5% to 10%", "pwhite", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: White (not Hispanic)", [11,20], PAttributeFilter.RANGE, "11% to 20%", "pwhite", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: White (not Hispanic)", [21,50], PAttributeFilter.RANGE, "21% to 50%", "pwhite", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: White (not Hispanic)", [51,80], PAttributeFilter.RANGE, "51% to 80%", "pwhite", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: White (not Hispanic)", [81,100], PAttributeFilter.RANGE, "More than 80%", "pwhite", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: Black (not Hispanic)", [0,4], PAttributeFilter.RANGE, "Less than 5%", "pblack", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: Black (not Hispanic)", [5,10], PAttributeFilter.RANGE, "5% to 10%", "pblack", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: Black (not Hispanic)", [11,20], PAttributeFilter.RANGE, "11% to 20%", "pblack", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: Black (not Hispanic)", [21,50], PAttributeFilter.RANGE, "21% to 50%", "pblack", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: Black (not Hispanic)", [51,80], PAttributeFilter.RANGE, "51% to 80%", "pblack", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: Black (not Hispanic)", [81,100], PAttributeFilter.RANGE, "More than 80%", "pblack", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: Asian (not Hispanic)", [0,4], PAttributeFilter.RANGE, "Less than 5%", "pasian", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: Asian (not Hispanic)", [5,10], PAttributeFilter.RANGE, "5% to 10%", "pasian", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: Asian (not Hispanic)", [11,20], PAttributeFilter.RANGE, "11% to 20%", "pasian", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: Asian (not Hispanic)", [21,50], PAttributeFilter.RANGE, "21% to 50%", "pasian", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: Asian (not Hispanic)", [51,80], PAttributeFilter.RANGE, "51% to 80%", "pasian", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: Asian (not Hispanic)", [81,100], PAttributeFilter.RANGE, "More than 80%", "pasian", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: Other (not Hispanic)", [0,4], PAttributeFilter.RANGE, "Less than 5%", "pother", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: Other (not Hispanic)", [5,10], PAttributeFilter.RANGE, "5% to 10%", "pother", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: Other (not Hispanic)", [11,20], PAttributeFilter.RANGE, "11% to 20%", "pother", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: Other (not Hispanic)", [21,50], PAttributeFilter.RANGE, "21% to 50%", "pother", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: Other (not Hispanic)", [51,80], PAttributeFilter.RANGE, "51% to 80%", "pother", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Client Ethnicity: Other (not Hispanic)", [81,100], PAttributeFilter.RANGE, "More than 80%", "pother", PAttribute.NUMBER) );
		set.setDisplayFilters(f);
	}
	// The Preservation Compact
	else if (set.id == 91350) {
		var f = [];
		f.push( new PAttributeFilter("Project", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "program", PAttribute.STRING) );
		f.push( new PAttributeFilter("Project", ["Interagency Council"], PAttributeFilter.EQUAL, "Interagency Council", "program", PAttribute.STRING) );
		f.push( new PAttributeFilter("Project", ["Preservation Fund"], PAttributeFilter.EQUAL, "Preservation Fund", "program", PAttribute.STRING) );
		f.push( new PAttributeFilter("Project", ["Energy Savers Program"], PAttributeFilter.EQUAL, "Energy Savers Program", "program", PAttribute.STRING) );
		f.push( new PAttributeFilter("Project", ["Rental Housing Alliance"], PAttributeFilter.EQUAL, "Rental Housing Alliance", "program", PAttribute.STRING) );
		f.push( new PAttributeFilter("Project", ["Property Taxes"], PAttributeFilter.EQUAL, "Property Taxes", "program", PAttribute.STRING) );
		f.push( new PAttributeFilter("Preservation Fund Partner", ["Community Investment Corporation"], PAttributeFilter.EQUAL, "Community Investment Corporation", "preservationpartner", PAttribute.STRING) );
		f.push( new PAttributeFilter("Preservation Fund Partner", ["Community Initiatives, Inc"], PAttributeFilter.EQUAL, "Community Initiatives, Inc", "preservationpartner", PAttribute.STRING) );
		f.push( new PAttributeFilter("Preservation Fund Partner", ["Chicago Community Loan Fund"], PAttributeFilter.EQUAL, "Chicago Community Loan Fund", "preservationpartner", PAttribute.STRING) );
		f.push( new PAttributeFilter("Energy Savers Program Details", ["Energy Audit"], PAttributeFilter.EQUAL, "Energy Audit", "energyprogramtype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Energy Savers Program Details", ["Energy Improvement"], PAttributeFilter.EQUAL, "Energy Improvement", "energyprogramtype", PAttribute.STRING) );
		set.setDisplayFilters(f);
	}
	// TRF Supermarket Study of LAA for Brookings Institution
	else if (set.id == 91450) {
		var f = [];
		f.push( new PAttributeFilter("Average LAA Score (population weighted)", [14,34], PAttributeFilter.RANGE, "34 or less", "wtaccs", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Average LAA Score (population weighted)", [35,44], PAttributeFilter.RANGE, "35 - 44", "wtaccs", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Average LAA Score (population weighted)", [45,50], PAttributeFilter.RANGE, "45 - 50", "wtaccs", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Average LAA Score (population weighted)", [51,84], PAttributeFilter.RANGE, "greater than 50", "wtaccs", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Grocery Retail Leakage Amount", [-37292339,0], PAttributeFilter.RANGE, "$0 or less", "leakage", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Grocery Retail Leakage Amount", [1,2000000], PAttributeFilter.RANGE, "$1 - $2,000,000", "leakage", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Grocery Retail Leakage Amount", [2000001,5000000], PAttributeFilter.RANGE, "$2,000,001 - $5,000,000", "leakage", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Grocery Retail Leakage Amount", [5000001,8000000], PAttributeFilter.RANGE, "$5,000,001 - $8,000,000", "leakage", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Grocery Retail Leakage Amount", [8000001,92444487], PAttributeFilter.RANGE, "greater than $8,000,000", "leakage", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Total Grocery Retail Demand", [443688,2000000], PAttributeFilter.RANGE, "less than $2,000,000", "groc_deman", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Total Grocery Retail Demand", [2000001,6000000], PAttributeFilter.RANGE, "$2,000,001 - $6,000,000", "groc_deman", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Total Grocery Retail Demand", [6000001,10000000], PAttributeFilter.RANGE, "$6,000,001 - $10,000,000", "groc_deman", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Total Grocery Retail Demand", [10000001,20000000], PAttributeFilter.RANGE, "$10,000,001 - $20,000,000", "groc_deman", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Total Grocery Retail Demand", [20000001,100383451], PAttributeFilter.RANGE, "greater than $20,000,000", "groc_deman", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Grocery Retail Leakage Rate", [-1390.1,49], PAttributeFilter.RANGE, "less than 50%", "leakage_ra", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Grocery Retail Leakage Rate", [50,75], PAttributeFilter.RANGE, "51% - 75%", "leakage_ra", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Grocery Retail Leakage Rate", [76,100], PAttributeFilter.RANGE, "76% - 100%", "leakage_ra", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("# Grocery Retail Sq Ft Leaked", [-57506,0], PAttributeFilter.RANGE, "0 or less", "sqft_leake", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("# Grocery Retail Sq Ft Leaked", [1,3500], PAttributeFilter.RANGE, "1 - 3,500", "sqft_leake", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("# Grocery Retail Sq Ft Leaked", [3501,10000], PAttributeFilter.RANGE, "3,501 - 10,000", "sqft_leake", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("# Grocery Retail Sq Ft Leaked", [10001,20000], PAttributeFilter.RANGE, "10,001 - 20,000", "sqft_leake", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("# Grocery Retail Sq Ft Leaked", [20001,40000], PAttributeFilter.RANGE, "20,0001 - 40,000", "sqft_leake", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("# Grocery Retail Sq Ft Leaked", [40001,142551], PAttributeFilter.RANGE, "greater than 40,000", "sqft_leake", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("% of All Block Groups in LAA Served by Fast Food", [0], PAttributeFilter.EQUAL, "0%", "ff_pct", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("% of All Block Groups in LAA Served by Fast Food", [1,25], PAttributeFilter.RANGE, "1% - 25%", "ff_pct", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("% of All Block Groups in LAA Served by Fast Food", [26,50], PAttributeFilter.RANGE, "26% - 50%", "ff_pct", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("% of All Block Groups in LAA Served by Fast Food", [51,100], PAttributeFilter.RANGE, "greater than 50%", "ff_pct", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("% of All Block Groups in LAA Served by Superettes", [0], PAttributeFilter.EQUAL, "0%", "se_pct", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("% of All Block Groups in LAA Served by Superettes", [1,25], PAttributeFilter.RANGE, "1% - 25%", "se_pct", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("% of All Block Groups in LAA Served by Superettes", [26,50], PAttributeFilter.RANGE, "26% - 50%", "se_pct", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("% of All Block Groups in LAA Served by Superettes", [51,100], PAttributeFilter.RANGE, "greater than 50%", "se_pct", PAttribute.NUMBER) );
		set.setDisplayFilters(f);
	}
	// Planned Parenthood Los Angeles
	else if (set.id == 92000) {
		var f = [];
		f.push( new PAttributeFilter("Health Center Type", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "type", PAttribute.STRING) );
		f.push( new PAttributeFilter("Health Center Type", ["Tab"], PAttributeFilter.EQUAL, "Tab", "type", PAttribute.STRING) );
		f.push( new PAttributeFilter("Health Center Type", ["Basics"], PAttributeFilter.EQUAL, "Basics", "type", PAttribute.STRING) );
		f.push( new PAttributeFilter("Health Center Type", ["Full"], PAttributeFilter.EQUAL, "Full", "type", PAttribute.STRING) );
		f.push( new PAttributeFilter("Service Planning Area (SPA)", ["SPA 2"], PAttributeFilter.EQUAL, "SPA 2", "spa", PAttribute.STRING) );
		f.push( new PAttributeFilter("Service Planning Area (SPA)", ["SPA 3"], PAttributeFilter.EQUAL, "SPA 3", "spa", PAttribute.STRING) );
		f.push( new PAttributeFilter("Service Planning Area (SPA)", ["SPA 4"], PAttributeFilter.EQUAL, "SPA 4", "spa", PAttribute.STRING) );
		f.push( new PAttributeFilter("Service Planning Area (SPA)", ["SPA 5"], PAttributeFilter.EQUAL, "SPA 5", "spa", PAttribute.STRING) );
		f.push( new PAttributeFilter("Service Planning Area (SPA)", ["SPA 6"], PAttributeFilter.EQUAL, "SPA 6", "spa", PAttribute.STRING) );
		f.push( new PAttributeFilter("Service Planning Area (SPA)", ["SPA 7"], PAttributeFilter.EQUAL, "SPA 7", "spa", PAttribute.STRING) );
		f.push( new PAttributeFilter("Service Planning Area (SPA)", ["SPA 8"], PAttributeFilter.EQUAL, "SPA 8", "spa", PAttribute.STRING) );
		set.setDisplayFilters(f);
	}
	// Mercy Housing NSP2 Target Areas
	else if (set.id == 92050) {
		// This set contains polygons, so the custom color icon order must be set for those too (in polycolorcodes).
		// colorcodes must still be set even if the set only contains polygons.
		set.colorcodes = [poly_green,polyicon,poly_yellow];
		set.polycolorcodes = [poly_green,polyicon,poly_yellow];
		var f = [];
		f.push( new PAttributeFilter("Category", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "category", PAttribute.STRING) );
		f.push( new PAttributeFilter("Category", ["Growth"], PAttributeFilter.EQUAL, "Growth", "category", PAttribute.STRING) );
		f.push( new PAttributeFilter("Category", ["Stability"], PAttributeFilter.EQUAL, "Stability", "category", PAttribute.STRING) );
		f.push( new PAttributeFilter("Category", ["Caution"], PAttributeFilter.EQUAL, "Caution", "category", PAttribute.STRING) );
		set.setDisplayFilters(f);
	}
	// Massachusetts At Risk Properties, December 2009
	else if (set.id == 92100) {
		set.colorcodes = [triangle_red,triangle_purple,triangle_grey,triangle_green];
		var f = [];
		f.push( new PAttributeFilter("Agency", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "agency", PAttribute.STRING) );
		f.push( new PAttributeFilter("Agency", ["MHFA"], PAttributeFilter.EQUAL, "MHFA", "agency", PAttribute.STRING) );
		f.push( new PAttributeFilter("Agency", ["PRIVATE"], PAttributeFilter.EQUAL, "PRIVATE", "agency", PAttribute.STRING) );
		f.push( new PAttributeFilter("Agency", ["HUD"], PAttributeFilter.EQUAL, "HUD", "agency", PAttribute.STRING) );
		f.push( new PAttributeFilter("Agency", ["RHS"], PAttributeFilter.EQUAL, "RHS", "agency", PAttribute.STRING) );
		f.push( new PAttributeFilter("Units At Risk in 2012", [0], PAttributeFilter.EQUAL, "None", "unitsatrisk_filter", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Units At Risk in 2012", [1,25], PAttributeFilter.RANGE, "1 to 25 units", "unitsatrisk_filter", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Units At Risk in 2012", [26,50], PAttributeFilter.RANGE, "26 to 50 units", "unitsatrisk_filter", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Units At Risk in 2012", [51,100], PAttributeFilter.RANGE, "51 to 100 units", "unitsatrisk_filter", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Units At Risk in 2012", [101,200], PAttributeFilter.RANGE, "101 to 200 units", "unitsatrisk_filter", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Units At Risk in 2012", [200,601], PAttributeFilter.RANGE, "More than 200 units", "unitsatrisk_filter", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Units At Risk in 2012", [999], PAttributeFilter.EQUAL, "Lost", "unitsatrisk_filter", PAttribute.NUMBER) );
		set.setDisplayFilters(f);
	}
	// New Communities Program
	else if (set.id == 92200) {
		var f = [];
		f.push( new PAttributeFilter("Neighborhood", ["Logan Square"], PAttributeFilter.EQUAL, "Logan Square", "nhoodname", PAttribute.STRING) );
		f.push( new PAttributeFilter("Neighborhood", ["Humboldt Park"], PAttributeFilter.EQUAL, "Humboldt Park", "nhoodname", PAttribute.STRING) );
		f.push( new PAttributeFilter("Neighborhood", ["East Garfield Park"], PAttributeFilter.EQUAL, "East Garfield Park", "nhoodname", PAttribute.STRING) );
		f.push( new PAttributeFilter("Neighborhood", ["Near West Side (West Haven)"], PAttributeFilter.EQUAL, "Near West Side (West Haven)", "nhoodname", PAttribute.STRING) );
		f.push( new PAttributeFilter("Neighborhood", ["North Lawndale"], PAttributeFilter.EQUAL, "North Lawndale", "nhoodname", PAttribute.STRING) );
		f.push( new PAttributeFilter("Neighborhood", ["Little Village (South Lawndale)"], PAttributeFilter.EQUAL, "Little Village (South Lawndale)", "nhoodname", PAttribute.STRING) );
		f.push( new PAttributeFilter("Neighborhood", ["Lower West Side"], PAttributeFilter.EQUAL, "Lower West Side", "nhoodname", PAttribute.STRING) );
		f.push( new PAttributeFilter("Neighborhood", ["Quad Communities"], PAttributeFilter.EQUAL, "Quad Communities", "nhoodname", PAttribute.STRING) );
		f.push( new PAttributeFilter("Neighborhood", ["Englewood Area"], PAttributeFilter.EQUAL, "Englewood Area", "nhoodname", PAttribute.STRING) );
		f.push( new PAttributeFilter("Neighborhood", ["Washington Park"], PAttributeFilter.EQUAL, "Washington Park", "nhoodname", PAttribute.STRING) );
		f.push( new PAttributeFilter("Neighborhood", ["Woodlawn"], PAttributeFilter.EQUAL, "Woodlawn", "nhoodname", PAttribute.STRING) );
		f.push( new PAttributeFilter("Neighborhood", ["Chicago Lawn Area"], PAttributeFilter.EQUAL, "Chicago Lawn Area", "nhoodname", PAttribute.STRING) );
		f.push( new PAttributeFilter("Neighborhood", ["Auburn Gresham"], PAttributeFilter.EQUAL, "Auburn Gresham", "nhoodname", PAttribute.STRING) );
		f.push( new PAttributeFilter("Neighborhood", ["South Chicago"], PAttributeFilter.EQUAL, "South Chicago", "nhoodname", PAttribute.STRING) );
		set.setDisplayFilters(f);
	}
	// Chelsea Neighborhood Developers: Foreclosures
	else if (set.id == 92750) {
		var f = [];
		f.push( new PAttributeFilter("Status", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "status", PAttribute.STRING) );
		f.push( new PAttributeFilter("Status", ["REO"], PAttributeFilter.EQUAL, "REO", "status", PAttribute.STRING) );
		f.push( new PAttributeFilter("Status", ["Auction"], PAttributeFilter.EQUAL, "Auction", "status", PAttribute.STRING) );
		f.push( new PAttributeFilter("Status", ["Petition"], PAttributeFilter.EQUAL, "Petition", "status", PAttribute.STRING) );
		set.setDisplayFilters(f);
	}
	// Chelsea Neighborhood Developers: MLS Sales
	else if (set.id == 92800 ) {
		var f = [];
		f.push( new PAttributeFilter("Sale Type", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "sale_type", PAttribute.STRING) );
		f.push( new PAttributeFilter("Sale Type", ["REO"], PAttributeFilter.EQUAL, "REO", "sale_type", PAttribute.STRING) );
		f.push( new PAttributeFilter("Sale Type", ["MKT"], PAttributeFilter.EQUAL, "MKT", "sale_type", PAttribute.STRING) );
		f.push( new PAttributeFilter("Sale Type", ["AUC"], PAttributeFilter.EQUAL, "AUC", "sale_type", PAttribute.STRING) );
		f.push( new PAttributeFilter("Property Type", ["1-Family"], PAttributeFilter.EQUAL, "1-Family", "prop_type", PAttribute.STRING) );
		f.push( new PAttributeFilter("Property Type", ["2-Family"], PAttributeFilter.EQUAL, "2-Family", "prop_type", PAttribute.STRING) );
		f.push( new PAttributeFilter("Property Type", ["3-Family"], PAttributeFilter.EQUAL, "3-Family", "prop_type", PAttribute.STRING) );
		f.push( new PAttributeFilter("Property Type", ["4-Family"], PAttributeFilter.EQUAL, "4-Family", "prop_type", PAttribute.STRING) );
		f.push( new PAttributeFilter("Sale Price", [129000,149999], PAttributeFilter.RANGE, "Less than $150,000", "sale_price", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Sale Price", [150000,200000], PAttributeFilter.RANGE, "$150,000 - $200,000", "sale_price", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Sale Price", [200001,250000], PAttributeFilter.RANGE, "$200,001 - $250,000", "sale_price", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Sale Price", [250001,300000], PAttributeFilter.RANGE, "Greater than $250,000", "sale_price", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Price Per Square Foot", [37.79,59.99], PAttributeFilter.RANGE, "Less than $60", "price_sqft", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Price Per Square Foot", [60,90], PAttributeFilter.RANGE, "$60 - $90", "price_sqft", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Price Per Square Foot", [90.01,129.07], PAttributeFilter.RANGE, "Greater than $90", "price_sqft", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Price Per Family Unit", [50767,59999], PAttributeFilter.RANGE, "Less than $60,000", "price_per_unit", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Price Per Family Unit", [60000,100000], PAttributeFilter.RANGE, "$60,001 - $100,000", "price_per_unit", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Price Per Family Unit", [100001,142750], PAttributeFilter.RANGE, "Greater than $100,000", "price_per_unit", PAttribute.NUMBER) );
		set.setDisplayFilters(f);
	}
	// Parkside: Properties and Vacancy
	else if (set.id == 92850) {
		var f = [];
		f.push( new PAttributeFilter("Property Type", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "propertytype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Property Type", ["Residential"], PAttributeFilter.EQUAL, "Residential", "propertytype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Property Type", ["Commercial"], PAttributeFilter.EQUAL, "Commercial", "propertytype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Phase", ["Park Boulevard Phase 3-A"], PAttributeFilter.EQUAL, "Park Boulevard Phase 3-A", "phase", PAttribute.STRING) );
		f.push( new PAttributeFilter("Phase", ["Park Boulevard Phase 3-B"], PAttributeFilter.EQUAL, "Park Boulevard Phase 3-B", "phase", PAttribute.STRING) );
		f.push( new PAttributeFilter("Phase", ["TBD"], PAttributeFilter.EQUAL, "TBD", "phase", PAttribute.STRING) );
		f.push( new PAttributeFilter("Occupancy", ["Occupied"], PAttributeFilter.EQUAL, "Occupied", "occupancy", PAttribute.STRING) );
		f.push( new PAttributeFilter("Occupancy", ["Vacant"], PAttributeFilter.EQUAL, "Vacant", "occupancy", PAttribute.STRING) );
		f.push( new PAttributeFilter("Occupancy", ["Lot"], PAttributeFilter.EQUAL, "Lot", "occupancy", PAttribute.STRING) );
		f.push( new PAttributeFilter("Lien", ["Foreclosed"], PAttributeFilter.EQUAL, "Foreclosed", "lien", PAttribute.STRING) );
		f.push( new PAttributeFilter("Lien", ["Redeemed"], PAttributeFilter.EQUAL, "Redeemed", "lien", PAttribute.STRING) );
		f.push( new PAttributeFilter("Lien", ["Open"], PAttributeFilter.EQUAL, "Open", "lien", PAttribute.STRING) );
		f.push( new PAttributeFilter("Lien", ["None"], PAttributeFilter.EQUAL, "None", "lien", PAttribute.STRING) );
		set.setDisplayFilters(f);
	}
	// Chicago NSP Communities
	else if (set.id == 92900) {
		var f = [];
		f.push( new PAttributeFilter("Community", ["AUSTIN"], PAttributeFilter.EQUAL, "AUSTIN", "community", PAttribute.STRING) );
		f.push( new PAttributeFilter("Community", ["HUMBOLDT PARK"], PAttributeFilter.EQUAL, "HUMBOLDT PARK", "community", PAttribute.STRING) );
		f.push( new PAttributeFilter("Community", ["EAST GARFIELD PARK"], PAttributeFilter.EQUAL, "EAST GARFIELD PARK", "community", PAttribute.STRING) );
		f.push( new PAttributeFilter("Community", ["WEST GARFIELD PARK"], PAttributeFilter.EQUAL, "WEST GARFIELD PARK", "community", PAttribute.STRING) );
		f.push( new PAttributeFilter("Community", ["NORTH LAWNDALE"], PAttributeFilter.EQUAL, "NORTH LAWNDALE", "community", PAttribute.STRING) );
		f.push( new PAttributeFilter("Community", ["OAKLAND"], PAttributeFilter.EQUAL, "OAKLAND", "community", PAttribute.STRING) );
		f.push( new PAttributeFilter("Community", ["GRAND BOULEVARD"], PAttributeFilter.EQUAL, "GRAND BOULEVARD", "community", PAttribute.STRING) );
		f.push( new PAttributeFilter("Community", ["FULLER PARK"], PAttributeFilter.EQUAL, "FULLER PARK", "community", PAttribute.STRING) );
		f.push( new PAttributeFilter("Community", ["NEW CITY"], PAttributeFilter.EQUAL, "NEW CITY", "community", PAttribute.STRING) );
		f.push( new PAttributeFilter("Community", ["WASHINGTON PARK"], PAttributeFilter.EQUAL, "WASHINGTON PARK", "community", PAttribute.STRING) );
		f.push( new PAttributeFilter("Community", ["ENGLEWOOD"], PAttributeFilter.EQUAL, "ENGLEWOOD", "community", PAttribute.STRING) );
		f.push( new PAttributeFilter("Community", ["WEST ENGLEWOOD"], PAttributeFilter.EQUAL, "WEST ENGLEWOOD", "community", PAttribute.STRING) );
		f.push( new PAttributeFilter("Community", ["WOODLAWN"], PAttributeFilter.EQUAL, "WOODLAWN", "community", PAttribute.STRING) );
		f.push( new PAttributeFilter("Community", ["CHICAGO LAWN"], PAttributeFilter.EQUAL, "CHICAGO LAWN", "community", PAttribute.STRING) );
		f.push( new PAttributeFilter("Community", ["GREATER GRAND CROSSING"], PAttributeFilter.EQUAL, "GREATER GRAND CROSSING", "community", PAttribute.STRING) );
		f.push( new PAttributeFilter("Community", ["SOUTH SHORE"], PAttributeFilter.EQUAL, "SOUTH SHORE", "community", PAttribute.STRING) );
		f.push( new PAttributeFilter("Community", ["AUBURN GRESHAM"], PAttributeFilter.EQUAL, "AUBURN GRESHAM", "community", PAttribute.STRING) );
		f.push( new PAttributeFilter("Community", ["SOUTH CHICAGO"], PAttributeFilter.EQUAL, "SOUTH CHICAGO", "community", PAttribute.STRING) );
		f.push( new PAttributeFilter("Community", ["CHATHAM"], PAttributeFilter.EQUAL, "CHATHAM", "community", PAttribute.STRING) );
		f.push( new PAttributeFilter("Community", ["ROSELAND"], PAttributeFilter.EQUAL, "ROSELAND", "community", PAttribute.STRING) );
		f.push( new PAttributeFilter("Community", ["BURNSIDE"], PAttributeFilter.EQUAL, "BURNSIDE", "community", PAttribute.STRING) );
		f.push( new PAttributeFilter("Community", ["SOUTH DEERING"], PAttributeFilter.EQUAL, "SOUTH DEERING", "community", PAttribute.STRING) );
		f.push( new PAttributeFilter("Community", ["PULLMAN"], PAttributeFilter.EQUAL, "PULLMAN", "community", PAttribute.STRING) );
		f.push( new PAttributeFilter("Community", ["RIVERDALE"], PAttributeFilter.EQUAL, "RIVERDALE", "community", PAttribute.STRING) );
		f.push( new PAttributeFilter("Community", ["WEST PULLMAN"], PAttributeFilter.EQUAL, "WEST PULLMAN", "community", PAttribute.STRING) );
		set.setDisplayFilters(f);
	}
	// Chelsea Neighborhood Developers: Observation Survey
	else if (set.id == 93000) {
		var f = [];
		f.push( new PAttributeFilter("Overall Exterior Condition", ["Good and needs no maintenance or repair"], PAttributeFilter.EQUAL, "Good and needs no maintenance or repair", "overall", PAttribute.STRING) );
		f.push( new PAttributeFilter("Overall Exterior Condition", ["Needs minor repairs only"], PAttributeFilter.EQUAL, "Needs minor repairs only", "overall", PAttribute.STRING) );
		f.push( new PAttributeFilter("Overall Exterior Condition", ["Requires a limited number of major repairs"], PAttributeFilter.EQUAL, "Requires a limited number of major repairs", "overall", PAttribute.STRING) );
		f.push( new PAttributeFilter("Overall Exterior Condition", ["Requires comprehensive renovation"], PAttributeFilter.EQUAL, "Requires comprehensive renovation", "overall", PAttribute.STRING) );
		f.push( new PAttributeFilter("Overall Exterior Condition", ["Dilapidated and not able to be repaired or renovated"], PAttributeFilter.EQUAL, "Dilapidated and not able to be repaired or renovated", "overall", PAttribute.STRING) );
		f.push( new PAttributeFilter("Overall Exterior Condition", ["Construction of dwelling is not complete"], PAttributeFilter.EQUAL, "Construction of dwelling is not complete", "overall", PAttribute.STRING) );
		f.push( new PAttributeFilter("Trash, Debris, or Litter", ["A lot"], PAttributeFilter.EQUAL, "A lot", "trash", PAttribute.STRING) );
		f.push( new PAttributeFilter("Trash, Debris, or Litter", ["Some"], PAttributeFilter.EQUAL, "Some", "trash", PAttribute.STRING) );
		f.push( new PAttributeFilter("Trash, Debris, or Litter", ["None"], PAttributeFilter.EQUAL, "None", "trash", PAttribute.STRING) );
		f.push( new PAttributeFilter("Graffiti", ["Yes"], PAttributeFilter.EQUAL, "Yes", "graffiti", PAttribute.STRING) );
		f.push( new PAttributeFilter("Graffiti", ["No"], PAttributeFilter.EQUAL, "No", "graffiti", PAttribute.STRING) );
		set.setDisplayFilters(f);
	}
	// Chelsea Neighborhood Developers: Residential Satisfaction Survey
	else if (set.id == 93050) {
		var f = [];
		f.push( new PAttributeFilter("Condition of Homes is Satisfactory", ["Agree"], PAttributeFilter.EQUAL, "Agree", "condition", PAttribute.STRING) );
		f.push( new PAttributeFilter("Condition of Homes is Satisfactory", ["Neither agree/disagree"], PAttributeFilter.EQUAL, "Neither agree/disagree", "condition", PAttribute.STRING) );
		f.push( new PAttributeFilter("Condition of Homes is Satisfactory", ["Disagree","Strongly disagree"], PAttributeFilter.EQUAL, "Disagree or Strongly disagree", "condition", PAttribute.STRING) );
		f.push( new PAttributeFilter("Cleanliness of Area is Satisfactory", ["Agree"], PAttributeFilter.EQUAL, "Agree", "cleanliness", PAttribute.STRING) );
		f.push( new PAttributeFilter("Cleanliness of Area is Satisfactory", ["Neither agree/disagree"], PAttributeFilter.EQUAL, "Neither agree/disagree", "cleanliness", PAttribute.STRING) );
		f.push( new PAttributeFilter("Cleanliness of Area is Satisfactory", ["Disagree","Strongly disagree"], PAttributeFilter.EQUAL, "Disagree or Strongly disagree", "cleanliness", PAttribute.STRING) );
		f.push( new PAttributeFilter("Cleanliness of Area is Satisfactory", ["No opinion or answer"], PAttributeFilter.EQUAL, "No opinion or answer", "cleanliness", PAttribute.STRING) );
		f.push( new PAttributeFilter("My Family Feels Safe", ["Agree"], PAttributeFilter.EQUAL, "Agree", "family_safe", PAttribute.STRING) );
		f.push( new PAttributeFilter("My Family Feels Safe", ["Neither agree/disagree"], PAttributeFilter.EQUAL, "Neither agree/disagree", "family_safe", PAttribute.STRING) );
		f.push( new PAttributeFilter("My Family Feels Safe", ["Disagree","Strongly disagree"], PAttributeFilter.EQUAL, "Disagree or Strongly disagree", "family_safe", PAttribute.STRING) );
		f.push( new PAttributeFilter("My Family Feels Safe", ["No opinion or answer"], PAttributeFilter.EQUAL, "No opinion or answer", "family_safe", PAttribute.STRING) );
		f.push( new PAttributeFilter("No. of Neighbors Spoken With Regularly", ["0"], PAttributeFilter.EQUAL, "0", "neighbors_speak", PAttribute.STRING) );
		f.push( new PAttributeFilter("No. of Neighbors Spoken With Regularly", ["1-3"], PAttributeFilter.EQUAL, "1-3", "neighbors_speak", PAttribute.STRING) );
		f.push( new PAttributeFilter("No. of Neighbors Spoken With Regularly", ["4-6"], PAttributeFilter.EQUAL, "4-6", "neighbors_speak", PAttribute.STRING) );
		f.push( new PAttributeFilter("No. of Neighbors Spoken With Regularly", ["7-9"], PAttributeFilter.EQUAL, "7-9", "neighbors_speak", PAttribute.STRING) );
		f.push( new PAttributeFilter("Crime is Most Common Complaint", ["Yes"], PAttributeFilter.EQUAL, "Yes", "crime", PAttribute.STRING) );
		f.push( new PAttributeFilter("Crime is Most Common Complaint", ["No"], PAttributeFilter.EQUAL, "No", "crime", PAttribute.STRING) );
		f.push( new PAttributeFilter("Litter or Graffiti is Most Common Complain", ["Yes"], PAttributeFilter.EQUAL, "Yes", "litter", PAttribute.STRING) );
		f.push( new PAttributeFilter("Litter or Graffiti is Most Common Complain", ["No"], PAttributeFilter.EQUAL, "No", "litter", PAttribute.STRING) );
		f.push( new PAttributeFilter("There are Safe Places for Children to Play", ["Agree","Strongly agree"], PAttributeFilter.EQUAL, "Agree or Strongly agree", "children_play", PAttribute.STRING) );
		f.push( new PAttributeFilter("There are Safe Places for Children to Play", ["Neither agree/disagree"], PAttributeFilter.EQUAL, "Neither agree/disagree", "children_play", PAttribute.STRING) );
		f.push( new PAttributeFilter("There are Safe Places for Children to Play", ["Disagree","Strongly disagree"], PAttributeFilter.EQUAL, "Disagree or Strongly disagree", "children_play", PAttribute.STRING) );
		f.push( new PAttributeFilter("I Feel Good About My Neighborhood", ["Agree","Strongly agree"], PAttributeFilter.EQUAL, "Agree or Strongly agree", "feel_good", PAttribute.STRING) );
		f.push( new PAttributeFilter("I Feel Good About My Neighborhood", ["Neither agree/disagree"], PAttributeFilter.EQUAL, "Neither agree/disagree", "feel_good", PAttribute.STRING) );
		f.push( new PAttributeFilter("I Feel Good About My Neighborhood", ["Disagree","Strongly disagree"], PAttributeFilter.EQUAL, "Disagree or Strongly disagree", "feel_good", PAttribute.STRING) );
		f.push( new PAttributeFilter("I Feel Good About My Neighborhood", ["No opinion or answer"], PAttributeFilter.EQUAL, "No opinion or answer", "feel_good", PAttribute.STRING) );
		f.push( new PAttributeFilter("Familiar With CND", ["Familiar","Very familiar"], PAttributeFilter.EQUAL, "Familiar or Very familiar", "cnd", PAttribute.STRING) );
		f.push( new PAttributeFilter("Familiar With CND", ["I think I have heard of it"], PAttributeFilter.EQUAL, "I think I have heard of it", "cnd", PAttribute.STRING) );
		f.push( new PAttributeFilter("Familiar With CND", ["Not at all familiar"], PAttributeFilter.EQUAL, "Not at all familiar", "cnd", PAttribute.STRING) );
		set.setDisplayFilters(f);
	}
	// Northwest CDC Survey
	else if (set.id == 93250) {
		set.colorcodes = [star,star_red,star_blue,star_grey];
		var f = [];
		f.push( new PAttributeFilter("Property Type", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "propertytype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Property Type", ["Residential"], PAttributeFilter.EQUAL, "Residential", "propertytype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Property Type", ["Commercial"], PAttributeFilter.EQUAL, "Commercial", "propertytype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Property Type", ["Institutional"], PAttributeFilter.EQUAL, "Institutional", "propertytype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Property Type", ["House of Worship"], PAttributeFilter.EQUAL, "House of Worship", "propertytype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Residential Type", ["Single Unit"], PAttributeFilter.EQUAL, "Single Unit", "residentialtype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Residential Type", ["Multifamily (divided parcel)"], PAttributeFilter.EQUAL, "Multifamily (divided parcel)", "residentialtype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Occupancy Status", ["Fully Occupied"], PAttributeFilter.EQUAL, "Fully Occupied", "occupancystatus", PAttribute.STRING) );
		f.push( new PAttributeFilter("Occupancy Status", ["Vacant House"], PAttributeFilter.EQUAL, "Vacant House", "occupancystatus", PAttribute.STRING) );
		f.push( new PAttributeFilter("Building Condition", ["Good"], PAttributeFilter.EQUAL, "Good", "buildingcondition", PAttribute.STRING) );
		f.push( new PAttributeFilter("Building Condition", ["Stable"], PAttributeFilter.EQUAL, "Stable", "buildingcondition", PAttribute.STRING) );
		f.push( new PAttributeFilter("Recent Improvements", ["In progress"], PAttributeFilter.EQUAL, "In progress", "improvements", PAttribute.STRING) );
		f.push( new PAttributeFilter("Recent Improvements", ["In the last two years"], PAttributeFilter.EQUAL, "In the last two years", "improvements", PAttribute.STRING) );
		f.push( new PAttributeFilter("Recent Improvements", ["No recent improvements"], PAttributeFilter.EQUAL, "No recent improvements", "improvements", PAttribute.STRING) );
		f.push( new PAttributeFilter("Sale Status", ["For rent by owner"], PAttributeFilter.EQUAL, "For rent by owner", "salestatus", PAttribute.STRING) );
		f.push( new PAttributeFilter("Sale Status", ["For rent by listing agency"], PAttributeFilter.EQUAL, "For rent by listing agency", "salestatus", PAttribute.STRING) );
		f.push( new PAttributeFilter("Sale Status", ["For sale by owner"], PAttributeFilter.EQUAL, "For sale by owner", "salestatus", PAttribute.STRING) );
		f.push( new PAttributeFilter("Sale Status", ["For sale by bank/agent"], PAttributeFilter.EQUAL, "For sale by bank/agent", "salestatus", PAttribute.STRING) );
		f.push( new PAttributeFilter("Sale Status", ["Not on the market"], PAttributeFilter.EQUAL, "Not on the market", "salestatus", PAttribute.STRING) );
		f.push( new PAttributeFilter("Resident Interaction", ["Spoke with homeowner"], PAttributeFilter.EQUAL, "Spoke with homeowner", "residentinteraction", PAttribute.STRING) );
		f.push( new PAttributeFilter("Resident Interaction", ["No contact"], PAttributeFilter.EQUAL, "No contact", "residentinteraction", PAttribute.STRING) );
		f.push( new PAttributeFilter("Active Commercial", ["Yes"], PAttributeFilter.EQUAL, "Yes", "commoperation", PAttribute.STRING) );
		f.push( new PAttributeFilter("Active Commercial", ["No"], PAttributeFilter.EQUAL, "No", "commoperation", PAttribute.STRING) );
		set.setDisplayFilters(f);
	}
	// Fairmount CDC Survey
	else if (set.id == 93300) {
		set.colorcodes = [star,star_red,star_blue,star_grey,star_green];
		var f = [];
		f.push( new PAttributeFilter("Property Type", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "propertytype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Property Type", ["Residential"], PAttributeFilter.EQUAL, "Residential", "propertytype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Property Type", ["Commercial"], PAttributeFilter.EQUAL, "Commercial", "propertytype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Property Type", ["Mixed Use"], PAttributeFilter.EQUAL, "Mixed Use", "propertytype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Property Type", ["House of Worship"], PAttributeFilter.EQUAL, "House of Worship", "propertytype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Property Type", ["Lot"], PAttributeFilter.EQUAL, "Lot", "propertytype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Residential Type", ["Single Unit"], PAttributeFilter.EQUAL, "Single Unit", "residentialtype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Residential Type", ["Multifamily (divided parcel)"], PAttributeFilter.EQUAL, "Multifamily (divided parcel)", "residentialtype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Occupancy Status", ["Fully Occupied"], PAttributeFilter.EQUAL, "Fully Occupied", "occupancystatus", PAttribute.STRING) );
		f.push( new PAttributeFilter("Occupancy Status", ["Partially Occupied"], PAttributeFilter.EQUAL, "Partially Occupied", "occupancystatus", PAttribute.STRING) );
		f.push( new PAttributeFilter("Occupancy Status", ["Vacant House"], PAttributeFilter.EQUAL, "Vacant House", "occupancystatus", PAttribute.STRING) );
		f.push( new PAttributeFilter("Occupancy Status", ["Abandoned Property"], PAttributeFilter.EQUAL, "Abandoned Property", "occupancystatus", PAttribute.STRING) );
		f.push( new PAttributeFilter("Building Condition", ["Good"], PAttributeFilter.EQUAL, "Good", "buildingcondition", PAttribute.STRING) );
		f.push( new PAttributeFilter("Building Condition", ["Stable"], PAttributeFilter.EQUAL, "Stable", "buildingcondition", PAttribute.STRING) );
		f.push( new PAttributeFilter("Building Condition", ["Fair"], PAttributeFilter.EQUAL, "Fair", "buildingcondition", PAttribute.STRING) );
		f.push( new PAttributeFilter("Building Condition", ["Poor"], PAttributeFilter.EQUAL, "Poor", "buildingcondition", PAttribute.STRING) );
		f.push( new PAttributeFilter("Recent Improvements", ["In progress"], PAttributeFilter.EQUAL, "In progress", "improvements", PAttribute.STRING) );
		f.push( new PAttributeFilter("Recent Improvements", ["In the last two years"], PAttributeFilter.EQUAL, "In the last two years", "improvements", PAttribute.STRING) );
		f.push( new PAttributeFilter("Recent Improvements", ["No recent improvements"], PAttributeFilter.EQUAL, "No recent improvements", "improvements", PAttribute.STRING) );
		f.push( new PAttributeFilter("Recent Improvements", ["New Construction"], PAttributeFilter.EQUAL, "New Construction", "improvements", PAttribute.STRING) );
		f.push( new PAttributeFilter("Sale Status", ["For Sale by Owner"], PAttributeFilter.EQUAL, "For Sale by Owner", "salestatus", PAttribute.STRING) );
		f.push( new PAttributeFilter("Sale Status", ["For Sale by Bank/Agent"], PAttributeFilter.EQUAL, "For Sale by Bank/Agent", "salestatus", PAttribute.STRING) );
		f.push( new PAttributeFilter("Sale Status", ["Sheriff Sale Sign"], PAttributeFilter.EQUAL, "Sheriff Sale Sign", "salestatus", PAttribute.STRING) );
		f.push( new PAttributeFilter("Sale Status", ["For Rent by Owner"], PAttributeFilter.EQUAL, "For Rent by Owner", "salestatus", PAttribute.STRING) );
		f.push( new PAttributeFilter("Sale Status", ["For Rent by Listing Agent"], PAttributeFilter.EQUAL, "For Rent by Listing Agent", "salestatus", PAttribute.STRING) );
		f.push( new PAttributeFilter("Sale Status", ["Not on the Market"], PAttributeFilter.EQUAL, "Not on the Market", "salestatus", PAttribute.STRING) );
		f.push( new PAttributeFilter("Active Commercial", ["Yes"], PAttributeFilter.EQUAL, "Yes", "commoperation", PAttribute.STRING) );
		f.push( new PAttributeFilter("Active Commercial", ["No"], PAttributeFilter.EQUAL, "No", "commoperation", PAttribute.STRING) );
		f.push( new PAttributeFilter("Commercial Upper Floor", ["Yes"], PAttributeFilter.EQUAL, "Yes", "upperfloor", PAttribute.STRING) );
		f.push( new PAttributeFilter("Commercial Upper Floor", ["No"], PAttributeFilter.EQUAL, "No", "upperfloor", PAttribute.STRING) );
		set.setDisplayFilters(f);
	}
	// Arcadia Land Company
	else if (set.id == 93400) {
		var f = [];
		f.push( new PAttributeFilter("Loan Status", ["WTC OREO"], PAttributeFilter.EQUAL, "WTC OREO", "arcadia1", PAttribute.STRING) );
		f.push( new PAttributeFilter("Loan Status", ["WTC Performing"], PAttributeFilter.EQUAL, "WTC Performing", "arcadia1", PAttribute.STRING) );
		f.push( new PAttributeFilter("Loan Status", ["WTC Workout"], PAttributeFilter.EQUAL, "WTC Workout", "arcadia1", PAttribute.STRING) );
		f.push( new PAttributeFilter("Loan Status", ["Not Financed by WTC"], PAttributeFilter.EQUAL, "Not Financed by WTC", "arcadia1", PAttribute.STRING) );
		f.push( new PAttributeFilter("Approval Status", ["Approved"], PAttributeFilter.EQUAL, "Approved", "arcadia13", PAttribute.STRING) );
		f.push( new PAttributeFilter("Approval Status", ["Preliminary Approval"], PAttributeFilter.EQUAL, "Preliminary Approval", "arcadia13", PAttribute.STRING) );
		f.push( new PAttributeFilter("Approval Status", ["Unapproved"], PAttributeFilter.EQUAL, "Unapproved", "arcadia13", PAttribute.STRING) );
		f.push( new PAttributeFilter("Improvement Status", ["Fully Improved","Full Improved"], PAttributeFilter.RANGE, "Fully Improved", "arcadia16", PAttribute.STRING) );
		f.push( new PAttributeFilter("Improvement Status", ["Partially Improved","Partially Improved - PH 2A Fully Improved"], PAttributeFilter.RANGE, "Partially Improved", "arcadia16", PAttribute.STRING) );
		f.push( new PAttributeFilter("Improvement Status", ["Unimproved"], PAttributeFilter.EQUAL, "Unimproved", "arcadia16", PAttribute.STRING) );
		f.push( new PAttributeFilter("Number of Approved \"For Sale\" Units", [0,99], PAttributeFilter.RANGE, "Less than 100", "arcadia19", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Number of Approved \"For Sale\" Units", [100,200], PAttributeFilter.RANGE, "100 - 200", "arcadia19", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Number of Approved \"For Sale\" Units", [200,2531], PAttributeFilter.RANGE, "More than 200", "arcadia19", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Total Improved Units", [0,49], PAttributeFilter.RANGE, "Less than 50", "arcadian27", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Total Improved Units", [50,100], PAttributeFilter.RANGE, "50 - 100", "arcadian27", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Total Improved Units", [101,1283], PAttributeFilter.RANGE, "More than 100", "arcadian27", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Total Unimproved Units", [0], PAttributeFilter.EQUAL, "0", "arcadian28", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Total Unimproved Units", [1,100], PAttributeFilter.RANGE, "1 - 100", "arcadian28", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Total Unimproved Units", [101,2219], PAttributeFilter.RANGE, "More than 100", "arcadian28", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Builder Name", ["Anderson Homes"], PAttributeFilter.RANGE, "Anderson Homes", "builder", PAttribute.STRING) );
		f.push( new PAttributeFilter("Builder Name", ["Ashburn Homes"], PAttributeFilter.RANGE, "Ashburn Homes", "builder", PAttribute.STRING) );
		f.push( new PAttributeFilter("Builder Name", ["Frank Robino Companies"], PAttributeFilter.RANGE, "Frank Robino Companies", "builder", PAttribute.STRING) );
		f.push( new PAttributeFilter("Builder Name", ["Gemcraft Homes"], PAttributeFilter.RANGE, "Gemcraft Homes", "builder", PAttribute.STRING) );
		f.push( new PAttributeFilter("Builder Name", ["K. Hovnanian Homes"], PAttributeFilter.RANGE, "K. Hovnanian Homes", "builder", PAttribute.STRING) );
		f.push( new PAttributeFilter("Builder Name", ["Lacrosse Homes Inc."], PAttributeFilter.RANGE, "Lacrosse Homes Inc.", "builder", PAttribute.STRING) );
		f.push( new PAttributeFilter("Builder Name", ["NV Homes"], PAttributeFilter.RANGE, "NV Homes", "builder", PAttribute.STRING) );
		f.push( new PAttributeFilter("Builder Name", ["Ryan Homes Inc."], PAttributeFilter.RANGE, "Ryan Homes Inc.", "builder", PAttribute.STRING) );
		f.push( new PAttributeFilter("Builder Name", ["Schell Brothers"], PAttributeFilter.RANGE, "Schell Brothers", "builder", PAttribute.STRING) );
		f.push( new PAttributeFilter("Builder Name", ["Stover Homes"], PAttributeFilter.RANGE, "Stover Homes", "builder", PAttribute.STRING) );
		set.setDisplayFilters(f);
	}
	// New Kensington CDC Survey
	else if(set.id == 93500) {
		var f = [];
		f.push( new PAttributeFilter("Structure Type", ["Rowhouse"], PAttributeFilter.EQUAL, "Rowhouse", "structuretype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Structure Type", ["Semi-detached"], PAttributeFilter.EQUAL, "Semi-detached", "structuretype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Structure Type", ["Nonresidential"], PAttributeFilter.EQUAL, "Nonresidential", "structuretype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Structure Type", ["Multi-family"], PAttributeFilter.EQUAL, "Multi-family", "structuretype", PAttribute.STRING) );
		f.push( new PAttributeFilter("Land Use", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "landuse", PAttribute.STRING) );
		f.push( new PAttributeFilter("Land Use", ["Residential"], PAttributeFilter.EQUAL, "Residential", "landuse", PAttribute.STRING) );
		f.push( new PAttributeFilter("Land Use", ["Mixed Use"], PAttributeFilter.EQUAL, "Mixed-Use", "landuse", PAttribute.STRING) );
		f.push( new PAttributeFilter("Land Use", ["Commercial"], PAttributeFilter.EQUAL, "Commercial", "landuse", PAttribute.STRING) );
		f.push( new PAttributeFilter("Land Use", ["Institutional"], PAttributeFilter.EQUAL, "Institutional", "landuse", PAttribute.STRING) );
		f.push( new PAttributeFilter("Land Use", ["Industrial"], PAttributeFilter.EQUAL, "Industrial", "landuse", PAttribute.STRING) );
		f.push( new PAttributeFilter("Land Use", ["Vacant Land"], PAttributeFilter.EQUAL, "Vacant Land", "landuse", PAttribute.STRING) );
		f.push( new PAttributeFilter("Occupancy", ["Occupied"], PAttributeFilter.EQUAL, "Occupied", "occupancy", PAttribute.STRING) );
		f.push( new PAttributeFilter("Occupancy", ["Vacant"], PAttributeFilter.EQUAL, "Vacant", "occupancy", PAttribute.STRING) );
		f.push( new PAttributeFilter("Occupancy", ["Unknown"], PAttributeFilter.EQUAL, "Unknown", "occupancy", PAttribute.STRING) );
		f.push( new PAttributeFilter("Building Condition", ["Excellent"], PAttributeFilter.EQUAL, "Excellent", "condition", PAttribute.STRING) );
		f.push( new PAttributeFilter("Building Condition", ["Good"], PAttributeFilter.EQUAL, "Good", "condition", PAttribute.STRING) );
		f.push( new PAttributeFilter("Building Condition", ["Fair"], PAttributeFilter.EQUAL, "Fair", "condition", PAttribute.STRING) );
		f.push( new PAttributeFilter("Building Condition", ["Poor"], PAttributeFilter.EQUAL, "Poor", "condition", PAttribute.STRING) );
		f.push( new PAttributeFilter("Building Condition", ["New facade"], PAttributeFilter.EQUAL, "New facade", "condition", PAttribute.STRING) );
		f.push( new PAttributeFilter("Recent Improvements", ["In progress"], PAttributeFilter.EQUAL, "In progress", "improvements", PAttribute.STRING) );
		f.push( new PAttributeFilter("Recent Improvements", ["In the last two years"], PAttributeFilter.EQUAL, "In the last two years", "improvements", PAttribute.STRING) );
		f.push( new PAttributeFilter("Recent Improvements", ["No recent improvements"], PAttributeFilter.EQUAL, "No recent improvements", "improvements", PAttribute.STRING) );
		f.push( new PAttributeFilter("Recent Improvements", ["New Construction"], PAttributeFilter.EQUAL, "New Construction", "improvements", PAttribute.STRING) );
		set.setDisplayFilters(f);
	}
	// Community First Fund
	else if(set.id == 93550) {
		var f = [];
		f.push( new PAttributeFilter("Purpose of Loan", ["COLORCODE"], PAttributeFilter.EQUAL, "Color Code All", "loanpurpose", PAttribute.STRING) );
		f.push( new PAttributeFilter("Purpose of Loan", ["BL-Micro"], PAttributeFilter.EQUAL, "BL-Micro", "loanpurpose", PAttribute.STRING) );
		f.push( new PAttributeFilter("Purpose of Loan", ["BL-Non-micro"], PAttributeFilter.EQUAL, "BL-Non-micro", "loanpurpose", PAttribute.STRING) );
		f.push( new PAttributeFilter("Purpose of Loan", ["BL-Non-Profit"], PAttributeFilter.EQUAL, "BL-Non-Profit", "loanpurpose", PAttribute.STRING) );
		f.push( new PAttributeFilter("Purpose of Loan", ["RE-AHD"], PAttributeFilter.EQUAL, "RE-AHD", "loanpurpose", PAttribute.STRING) );
		f.push( new PAttributeFilter("Purpose of Loan", ["RE-CRE"], PAttributeFilter.EQUAL, "RE-CRE", "loanpurpose", PAttribute.STRING) );
		f.push( new PAttributeFilter("Purpose of Loan", ["RE-HD"], PAttributeFilter.EQUAL, "RE-HD", "loanpurpose", PAttribute.STRING) );
		f.push( new PAttributeFilter("Purpose of Loan", ["RE-Mixed"], PAttributeFilter.EQUAL, "RE-Mixed", "loanpurpose", PAttribute.STRING) );
		f.push( new PAttributeFilter("Purpose of Loan", ["RE-Non-Profit"], PAttributeFilter.EQUAL, "RE-Non-Profit", "loanpurpose", PAttribute.STRING) );
		f.push( new PAttributeFilter("Primary Use of Funds", ["Working Capital"], PAttributeFilter.EQUAL, "Working Capital", "loanuse", PAttribute.STRING) );
		f.push( new PAttributeFilter("Primary Use of Funds", ["Equipment"], PAttributeFilter.EQUAL, "Equipment", "loanuse", PAttribute.STRING) );
		f.push( new PAttributeFilter("Primary Use of Funds", ["Rehab"], PAttributeFilter.EQUAL, "Rehab", "loanuse", PAttribute.STRING) );
		f.push( new PAttributeFilter("Primary Use of Funds", ["Inventory"], PAttributeFilter.EQUAL, "Inventory", "loanuse", PAttribute.STRING) );
		f.push( new PAttributeFilter("Primary Use of Funds", ["Debt Consolidation"], PAttributeFilter.EQUAL, "Debt Consolidation", "loanuse", PAttribute.STRING) );
		f.push( new PAttributeFilter("Primary Use of Funds", ["Refi CFF loan"], PAttributeFilter.EQUAL, "Refi CFF loan", "loanuse", PAttribute.STRING) );
		f.push( new PAttributeFilter("Primary Use of Funds", ["Expansion"], PAttributeFilter.EQUAL, "Expansion", "loanuse", PAttribute.STRING) );
		f.push( new PAttributeFilter("Primary Use of Funds", ["Other"], PAttributeFilter.EQUAL, "Other", "loanuse", PAttribute.STRING) );
		f.push( new PAttributeFilter("Loan Amount", [500,35000], PAttributeFilter.RANGE, "$0 - $35,000", "amount", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Loan Amount", [35001,50000], PAttributeFilter.RANGE, "$35,001-$50,000", "amount", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Loan Amount", [50001,100000], PAttributeFilter.RANGE, "$50,001-$100,000", "amount", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Loan Amount", [100001,250000], PAttributeFilter.RANGE, "$100,001-$250,000", "amount", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Loan Amount", [250001,500000], PAttributeFilter.RANGE, "$250,001-$500,000", "amount", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Loan Amount", [500001,750000], PAttributeFilter.RANGE, "$500,001-$750,000", "amount", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Loan Amount", [750001,765000], PAttributeFilter.RANGE, "$750,001 and greater", "amount", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Loan Date", [1995,2000], PAttributeFilter.RANGE, "2000 and earlier", "yearloan", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Loan Date", [2001], PAttributeFilter.EQUAL, "2001", "yearloan", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Loan Date", [2002], PAttributeFilter.EQUAL, "2002", "yearloan", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Loan Date", [2003], PAttributeFilter.EQUAL, "2003", "yearloan", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Loan Date", [2004], PAttributeFilter.EQUAL, "2004", "yearloan", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Loan Date", [2005], PAttributeFilter.EQUAL, "2005", "yearloan", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Loan Date", [2006], PAttributeFilter.EQUAL, "2006", "yearloan", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Loan Date", [2007], PAttributeFilter.EQUAL, "2007", "yearloan", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Loan Date", [2008], PAttributeFilter.EQUAL, "2008", "yearloan", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Loan Date", [2009], PAttributeFilter.EQUAL, "2009", "yearloan", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Loan Date", [2010], PAttributeFilter.EQUAL, "2010", "yearloan", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Start-up or Existing", ["Start-up"], PAttributeFilter.EQUAL, "Start-up", "startupexisting", PAttribute.STRING) );
		f.push( new PAttributeFilter("Start-up or Existing", ["Existing"], PAttributeFilter.EQUAL, "Existing", "startupexisting", PAttribute.STRING) );
		f.push( new PAttributeFilter("Gender", ["Female"], PAttributeFilter.EQUAL, "Female", "gender", PAttribute.STRING) );
		f.push( new PAttributeFilter("Gender", ["Male"], PAttributeFilter.EQUAL, "Male", "gender", PAttribute.STRING) );
		f.push( new PAttributeFilter("Race", ["White"], PAttributeFilter.EQUAL, "White", "race", PAttribute.STRING) );
		f.push( new PAttributeFilter("Race", ["Black"], PAttributeFilter.EQUAL, "Black", "race", PAttribute.STRING) );
		f.push( new PAttributeFilter("Race", ["Asian"], PAttributeFilter.EQUAL, "Asian", "race", PAttribute.STRING) );
		f.push( new PAttributeFilter("Race", ["Pacific Islander"], PAttributeFilter.EQUAL, "Pacific Islander", "race", PAttribute.STRING) );
		f.push( new PAttributeFilter("Race", ["Other"], PAttributeFilter.EQUAL, "Other", "race", PAttribute.STRING) );
		f.push( new PAttributeFilter("Race", ["NP"], PAttributeFilter.EQUAL, "NP", "race", PAttribute.STRING) );
		f.push( new PAttributeFilter("Ethnicity", ["Hispanic"], PAttributeFilter.EQUAL, "Hispanic", "ethnicity", PAttribute.STRING) );
		f.push( new PAttributeFilter("Ethnicity", ["Non-hispanic"], PAttributeFilter.EQUAL, "Non-hispanic", "ethnicity", PAttribute.STRING) );
		f.push( new PAttributeFilter("Ethnicity", ["NP"], PAttributeFilter.EQUAL, "NP", "ethnicity", PAttribute.STRING) );
		f.push( new PAttributeFilter("Income Level", ["Low"], PAttributeFilter.EQUAL, "Low", "income_lvl", PAttribute.STRING) );
		f.push( new PAttributeFilter("Income Level", ["Mod"], PAttributeFilter.EQUAL, "Mod", "income_lvl", PAttribute.STRING) );
		f.push( new PAttributeFilter("Income Level", ["High"], PAttributeFilter.EQUAL, "High", "income_lvl", PAttribute.STRING) );
		f.push( new PAttributeFilter("Income Level", ["NonProfit"], PAttributeFilter.EQUAL, "NonProfit", "income_lvl", PAttribute.STRING) );
		f.push( new PAttributeFilter("Jobs Created or Retained", [0,0.5], PAttributeFilter.RANGE, "0-0.5", "totaljobs", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Jobs Created or Retained", [1,1.5], PAttributeFilter.RANGE, "1-1.5", "totaljobs", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Jobs Created or Retained", [2,5.5], PAttributeFilter.RANGE, "2-5.5", "totaljobs", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Jobs Created or Retained", [6,9.5], PAttributeFilter.RANGE, "6-9.5", "totaljobs", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Jobs Created or Retained", [10,19], PAttributeFilter.RANGE, "10-19", "totaljobs", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Jobs Created or Retained", [20,60], PAttributeFilter.RANGE, "20 or more", "totaljobs", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Affordable Housing Units", [0], PAttributeFilter.EQUAL, "0", "ahunits", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Affordable Housing Units", [1,4], PAttributeFilter.RANGE, "1-4", "ahunits", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Affordable Housing Units", [5,10], PAttributeFilter.RANGE, "5-10", "ahunits", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Affordable Housing Units", [11,71], PAttributeFilter.RANGE, "11 or more", "ahunits", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Market Rate Units", [0], PAttributeFilter.EQUAL, "0", "mktunits", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Market Rate Units", [1,4], PAttributeFilter.RANGE, "1-4", "mktunits", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Market Rate Units", [5,10], PAttributeFilter.RANGE, "5-10", "mktunits", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Market Rate Units", [11,33], PAttributeFilter.RANGE, "11 or more", "mktunits", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Sale or Rental", ["Sale"], PAttributeFilter.EQUAL, "Sale", "salerent", PAttribute.STRING) );
		f.push( new PAttributeFilter("Sale or Rental", ["Rent"], PAttributeFilter.EQUAL, "Rent", "salerent", PAttribute.STRING) );
		f.push( new PAttributeFilter("Amount Leveraged", [0], PAttributeFilter.EQUAL, "$0", "leverages", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Amount Leveraged", [1,9999], PAttributeFilter.RANGE, "$1-$9,999", "leverages", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Amount Leveraged", [10000,99999], PAttributeFilter.RANGE, "$10,000-$99,999", "leverages", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Amount Leveraged", [100000,999999], PAttributeFilter.RANGE, "$100,000-$999,999", "leverages", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Amount Leveraged", [1000000,7365000], PAttributeFilter.RANGE, "$1,000,000 or greater", "leverages", PAttribute.NUMBER) );
		set.setDisplayFilters(f);
	}
	// Kansas Housing Corporation Rental Housing
	else if(set.id == 93600) {
		var f = [];
		f.push( new PAttributeFilter("Financing", ["HTC"], PAttributeFilter.RANGE, "HTC", "fin", PAttribute.STRING) );
		f.push( new PAttributeFilter("Financing", ["HOME"], PAttributeFilter.RANGE, "HOME", "fin", PAttribute.STRING) );
		f.push( new PAttributeFilter("Financing", ["CEP"], PAttributeFilter.RANGE, "CEP", "fin", PAttribute.STRING) );
		f.push( new PAttributeFilter("Financing", ["TCAP"], PAttributeFilter.RANGE, "TCAP", "fin", PAttribute.STRING) );
		f.push( new PAttributeFilter("Target Population", ["Family"], PAttributeFilter.RANGE, "Family", "targetpop", PAttribute.STRING) );
		f.push( new PAttributeFilter("Target Population", ["Elderly"], PAttributeFilter.RANGE, "Elderly", "targetpop", PAttribute.STRING) );
		f.push( new PAttributeFilter("Target Population", ["Disabled","Special Needs","HL"], PAttributeFilter.RANGE, "Other", "targetpop", PAttribute.STRING) );
		f.push( new PAttributeFilter("Total Units", [2,19], PAttributeFilter.RANGE, "Less than 20", "units", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Total Units", [20,40], PAttributeFilter.RANGE, "20 to 40", "units", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Total Units", [41,180], PAttributeFilter.RANGE, "More than 40", "units", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Proj Project Cost", [275000,999999], PAttributeFilter.RANGE, "Less than $1,000,000", "projectedcost", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Proj Project Cost", [1000000,4000000], PAttributeFilter.RANGE, "$1,000,000 to $4,000,000", "projectedcost", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Proj Project Cost", [4000001,13450000], PAttributeFilter.RANGE, "More than $4,000,000", "projectedcost", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Status", ["Developmental"], PAttributeFilter.EQUAL, "Developmental", "status", PAttribute.STRING) );
		f.push( new PAttributeFilter("Status", ["Under Construction"], PAttributeFilter.EQUAL, "Under Construction", "status", PAttribute.STRING) );
		f.push( new PAttributeFilter("Status", ["Complete"], PAttributeFilter.EQUAL, "Complete", "status", PAttribute.STRING) );
		f.push( new PAttributeFilter("Year Project Approved", [2008], PAttributeFilter.EQUAL, "2008", "year", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Year Project Approved", [2009], PAttributeFilter.EQUAL, "2009", "year", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Year Project Approved", [2010], PAttributeFilter.EQUAL, "2010", "year", PAttribute.NUMBER) );
		set.setDisplayFilters(f);
	}
	// Philadelphia Sheriff Sales
	else if(set.id == 93650) {
		var f = [];
		f.push( new PAttributeFilter("Amount Owed", [6726.84,49999], PAttributeFilter.RANGE, "Less than $50,000", "amtowed", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Amount Owed", [50000,99999], PAttributeFilter.RANGE, "$50,000 to $99,999", "amtowed", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Amount Owed", [100000,149999], PAttributeFilter.RANGE, "$100,000 to $149,999", "amtowed", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Amount Owed", [150000,199999], PAttributeFilter.RANGE, "$150,000 to $199,999", "amtowed", PAttribute.NUMBER) );
		f.push( new PAttributeFilter("Amount Owed", [200000,10737681.36], PAttributeFilter.RANGE, "More than $200,000", "amtowed", PAttribute.NUMBER) );
		set.setDisplayFilters(f);
	}
}
