function setSubset(i) {
	
	var profile=i;
	if(profile=="Demographic")
	{
		var html="<select style='FONT-SIZE: 10px;WIDTH: 212px' onchange='SetThematicMapM()' name='ThematicLayerSelectD' id='ThematicLayerSelectD'>";
                    html=html+" <option selected='selected' value=0>Select One</option>";
                    html=html+" <option value=0>==POPULATION==</option>";
                    html=html+" <option value=1>-2000 Population</option>";
                    html=html+" <option value=2>-2005 Population</option>";
                    html=html+" <option value=3>-00-'05 Population Change(%)</option>";          
                    html=html+" <option value=4>-Population Density('05)</option>";                  
                    html=html+" <option value=5>-Percent Age 65+('00)(%)</option>";                     
                    html=html+" <option value=6>-TANF Children/ 1000 Pop('06)</option>";                 
                    html=html+" <option value=0>==RACE==</option>";                             
                    html=html+" <option value=7>-Percent African-American('00)(%)</option>";             
                    html=html+" <option value=8>-Percent Asian('00)(%)</option>";                          
                    html=html+" <option value=9>-Percent Hispanic('00)(%)</option>";                                 
                    html=html+" <option value=0>==ETHNICITY==</option>";                          
                    html=html+" <option value=10>-Percent Foreign Born('00)(%)</option>";                    
                    html=html+" <option value=11>-#1 Ancestry('00)</option>";                         
                    html=html+" <option value=12>-#2 Ancestry('00)</option>";                             
                    html=html+" <option value=13>-#3 Ancestry('00)</option>";                            
                    html=html+" <option value=0>==EDUCATION==</option>";                           
                    html=html+" <option value=14>-Percent College Graduates('00)(%)</option>";                    
                                            									                   
                    html=html+" </select>"; 
        }                                                      
	else if(profile=="Housing")
	{
		var html="<select style='FONT-SIZE: 10px;WIDTH: 212px' onchange='SetThematicMapM()' name='ThematicLayerSelectD' id='ThematicLayerSelectD'>";
                    html=html+" <option selected='selected' value=0>Select One</option>";
                    html=html+" <option value=15>-Percent Owner Occupied Units('00)</option>";
                    html=html+" <option value=16>-Median Rent('00)($)</option>";
                    html=html+" <option value=17>-Residential Bldg Permits('05)</option>";          
                    html=html+" <option value=18>-Certificates of Occupancy('05)</option>";                                   
                    html=html+" <option value=19>-Percent Residential Value('05)($)</option>";                         
                    html=html+" <option value=20>-Average Residential Value('05)($)</option>";                       
                    								                             
                    html=html+" </select>";                                                                
        }                                                                                                    
	else if(profile=="Fiscal")
	{
		var html="<select style='FONT-SIZE: 10px;WIDTH: 212px' onchange='SetThematicMapM()' name='ThematicLayerSelectD' id='ThematicLayerSelectD'>";
                    html=html+" <option selected='selected' value=0>Select One</option>";
                    html=html+" <option value=0>==FISCAL RESOURCES==</option>";
                    html=html+" <option value=21>-Property Tax Base/Capita('05)($)</option>";
                    html=html+" <option value=22>-Income per Taxpayer('03)($)</option>";
                    html=html+" <option value=23>-Percent State School Aid('05-'06)(%) </option>";          
                    html=html+" <option value=24>-Equalized Valuation/Pupil('05)</option>";                  
                    html=html+" <option value=25>-Personal Income/Pupil('03)</option>";                     
                    html=html+" <option value=0>==PROPERTY TAX BURDEN==</option>";                 
                    html=html+" <option value=26>-County Tax Rate('05)(%)</option>";                             
                    html=html+" <option value=27>-Municipal Tax Rate('05)(%)</option>";             
                    html=html+" <option value=28>-School Tax Rate('05)(%)</option>";                          
                    html=html+" <option value=29>-Rebate Tax Rate('05)(%)</option>";                                    
                    html=html+" <option value=30>-Total Tax Rate('05)(%)</option>";                               
                    html=html+" <option value=31>-Property Tax % of Income('03)(%)</option>";                         
                    html=html+" <option value=0>==GOVERNMENTAL EXPENDITURES==</option>";                              
                    html=html+" <option value=32>-Municipal Budget/Capita('03)($)</option>";                                       
                    html=html+" <option value=33>-School  Budget/Pupil('05)($)</option>";                                 
                                            								   	                   
                    html=html+" </select>";                                                                    
        }
        else if(profile=="School")
	{
		var html="<select style='FONT-SIZE: 10px;WIDTH: 212px' onchange='SetThematicMapM()' name='ThematicLayerSelectD' id='ThematicLayerSelectD'>";
                    html=html+" <option selected='selected' value=0>Select One</option>";
                    html=html+" <option value=0>==Test Score Indexes==</option>";
                    //html=html+" <option value=0>-4th Grade Assessment</option>";
                    //html=html+" <option value=0>-8th Grade Assessment</option>";
                    html=html+" <option value=51>-11th Grade Assessment('05-'06)</option>";              
                    html=html+" <option value=52>-High School Completion('05)(%)</option>";                                       
                    html=html+" <option value=53>-School Enrollment('05)</option>";                               
                    								                                        
                    html=html+" </select>";                                                                    
        }                                                                                                     
	                                                                                                                
	else if(profile=="Voting")
	{
		var html="<select style='FONT-SIZE: 10px;WIDTH: 212px' onchange='SetThematicMapM()' name='ThematicLayerSelectD' id='ThematicLayerSelectD'>";
                    html=html+" <option selected='selected' value=0>Select One</option>";
                    html=html+" <option value=0>==VOTERS==</option>";
                    html=html+" <option value=34>-Total Registered Voters('05)</option>";
                    html=html+" <option value=35>-Reg. Voters/Population('05)</option>";
                    html=html+" <option value=36>-Percent Democrats('05)(%)</option>";          
                    html=html+" <option value=37>-Percent Republicans('05)(%)</option>";                  
                    html=html+" <option value=0>==TURNOUT===</option>";                     
                    //html=html+" <option value=0>-Voter Turnout '02</option>";                 
                    //html=html+" <option value=0>-Voter Turnout '03</option>";                             
                    //html=html+" <option value=0>-Voter Turnout '04</option>";             
                    html=html+" <option value=38>-Voter Turnout '05</option>";                          
                    html=html+" <option value=0>==STATE RACES==</option>";                                    
                    html=html+" <option value=39>-State Senate 03-Democrat</option>";                                  
                    html=html+" <option value=40>-State Senate 03-Republican</option>";                             
                    html=html+" <option value=41>-Gen Assembly 05-Dem#1</option>";                                                     
                    html=html+" <option value=42>-Gen Assembly 05-Dem#2</option>";                                              
                    html=html+" <option value=43>-Gen Assembly 05-Rep#1</option>";                                          
                    html=html+" <option value=44>-Gen Assembly 05-Rep#2</option>";                            
                    html=html+" <option value=0>==FEDERAL RACES==</option>";                                
                    html=html+" <option value=45>-US Senate '00-Democrat</option>";		         
                    html=html+" <option value=46>-US Senate '00-Republican</option>";                   
                    html=html+" <option value=47>-US President 04-Democrat</option>";                   
                    html=html+" <option value=48>-US President 04-Republican</option>";                            
                    html=html+" <option value=49>-US Congress 04-Democrat</option>";                                                 
                    html=html+" <option value=50>-US Congress 04-Republican</option>";                                  
                                            								   	                        
                    html=html+" </select>";                                                                        
        }
        else if(profile=="none")
	{
		var html="<br>";
		iframe_drawmap.location = "drawmap.asp?LayerMode=2";
			//iframe_legend.location = "legend.asp";
			iframe_legend.location = "legend.asp";
                                                                                           
        }                                                                                                                  
	document.getElementById('subset').innerHTML=html;                                                              
                                                                                                                     
}                                                                                                                     
                                                                                                                     
                                                                                                          
                                                                                                           
                                                                                                              
