<!--
	function checkchange(location, p){
		mycheckpan=document.getElementById("checkpan"+p);
		//mycheckpark=document.getElementById("subparklocation"+p);
		//mychecksunset=document.getElementById("subsunsetlocation"+p);
		//mycheckredhook=document.getElementById("subredhooklocation"+p);
		if(location=="park"){
			inhtml="<label for='location"+p+"'>Substitute : <span><span class='style1'>In the event your chosen times are unavailable,  check any locations that would be acceptable substitutes (check all that apply)</span>&nbsp;&nbsp;</span></label>";
			inhtml+="<input class='check' type='checkbox' name='sunsetsublocation"+p+"' id='sunsetsublocation"+p+"' value='Sunset Park' />	<span class='style14'>Sunset Park</span>";
			inhtml+="<input class='check' type='checkbox' name='propspectsublocation"+p+"' id='propspectsublocation"+p+"' value='Prospect Heights' /><span class='style14'>Prospect Heights</span>";
			inhtml+="<input class='check' type='checkbox' name='greensublocation"+p+"' id='greensublocation"+p+"' value='Greenpoint' /><span class='style14'>Greenpoint</span>";
			inhtml+="<input class='check' type='checkbox' name='bushsublocation"+p+"' id='bushsublocation"+p+"' value='Bushwick' />	<span class='style14'>Bushwick</span>";
			inhtml+="<input class='check' type='checkbox' name='williamsublocation"+p+"' id='williamsublocation"+p+"' value='Williamsburg' /><span class='style14'>Williamsburg</span>";
			inhtml+="<input class='check' type='checkbox' name='testwicksublocation"+p+"' id='testwicksublocation"+p+"' value='TestWick' /><span class='style14'>TestWick</span>";			
			inhtml+="</p>";						
			//mycheckpark.disabled=true;
			//mychecksunset.disabled=false;
			//mycheckredhook.disabled=false;
			//mycheckpark.checked=true;
			//mychecksunset.checked=false;
			//mycheckredhook.checked=false;
		}
		if(location=="sunset"){
			inhtml="<label for='location"+p+"'>Substitute : <span><span class='style1'>In the event your chosen times are unavailable,  check any locations that would be acceptable substitutes (check all that apply)</span>&nbsp;&nbsp;</span></label>";
			inhtml+="<input class='check' type='checkbox' name='parksublocation"+p+"' id='parksublocation"+p+"' value='Park Slope' /><span class='style14'>Park Slope</span>";
			inhtml+="<input class='check' type='checkbox' name='propspectsublocation"+p+"' id='propspectsublocation"+p+"' value='Prospect Heights' /><span class='style14'>Prospect Heights</span>";
			inhtml+="<input class='check' type='checkbox' name='greensublocation"+p+"' id='greensublocation"+p+"' value='Greenpoint' /><span class='style14'>Greenpoint</span>";
			inhtml+="<input class='check' type='checkbox' name='bushsublocation"+p+"' id='bushsublocation"+p+"' value='Bushwick' />	<span class='style14'>Bushwick</span>";
			inhtml+="<input class='check' type='checkbox' name='williamsublocation"+p+"' id='williamsublocation"+p+"' value='Williamsburg' /><span class='style14'>Williamsburg</span>";	
			inhtml+="<input class='check' type='checkbox' name='testwicksublocation"+p+"' id='testwicksublocation"+p+"' value='TestWick' /><span class='style14'>TestWick</span>";					
			inhtml+="</p>";				//mycheckpark.disabled=false;
			//mychecksunset.disabled=true;
			//mycheckredhook.disabled=false;
			//mycheckpark.checked=false;
			//mychecksunset.checked=true;
			//mycheckredhook.checked=false;
		}
		if(location=="greenpoint"){
			inhtml="<label for='location"+p+"'>Substitute : <span><span class='style1'>In the event your chosen times are unavailable,  check any locations that would be acceptable substitutes (check all that apply)</span>&nbsp;&nbsp;</span></label>";
			inhtml+="<input class='check' type='checkbox' name='parksublocation"+p+"' id='parksublocation"+p+"' value='Park Slope' /><span class='style14'>Park Slope</span>";
			inhtml+="<input class='check' type='checkbox' name='sunsetsublocation"+p+"' id='sunsetsublocation"+p+"' value='Sunset Park' />	<span class='style14'>Sunset Park</span>";
			inhtml+="<input class='check' type='checkbox' name='propspectsublocation"+p+"' id='propspectsublocation"+p+"' value='Prospect Heights' /><span class='style14'>Prospect Heights</span>";
			inhtml+="<input class='check' type='checkbox' name='bushsublocation"+p+"' id='bushsublocation"+p+"' value='Bushwick' />	<span class='style14'>Bushwick</span>";
			inhtml+="<input class='check' type='checkbox' name='williamsublocation"+p+"' id='williamsublocation"+p+"' value='Williamsburg' /><span class='style14'>Williamsburg</span>";	
			inhtml+="<input class='check' type='checkbox' name='testwicksublocation"+p+"' id='testwicksublocation"+p+"' value='TestWick' /><span class='style14'>TestWick</span>";					
			inhtml+="</p>";				//mycheckpark.disabled=false;
			//mychecksunset.disabled=false;
			//mycheckredhook.disabled=true;
			//mycheckpark.checked=false;
			//mychecksunset.checked=false;
			//mycheckredhook.checked=true;
		}
		if(location=="bushwick"){
			inhtml="<label for='location"+p+"'>Substitute : <span><span class='style1'>In the event your chosen times are unavailable,  check any locations that would be acceptable substitutes (check all that apply)</span>&nbsp;&nbsp;</span></label>";
			inhtml+="<input class='check' type='checkbox' name='parksublocation"+p+"' id='parksublocation"+p+"' value='Park Slope' /><span class='style14'>Park Slope</span>";
			inhtml+="<input class='check' type='checkbox' name='sunsetsublocation"+p+"' id='sunsetsublocation"+p+"' value='Sunset Park' />	<span class='style14'>Sunset Park</span>";
			inhtml+="<input class='check' type='checkbox' name='propspectsublocation"+p+"' id='propspectsublocation"+p+"' value='Prospect Heights' /><span class='style14'>Prospect Heights</span>";
			inhtml+="<input class='check' type='checkbox' name='greensublocation"+p+"' id='greensublocation"+p+"' value='Greenpoint' /><span class='style14'>Greenpoint</span>";
			inhtml+="<input class='check' type='checkbox' name='williamsublocation"+p+"' id='williamsublocation"+p+"' value='Williamsburg' /><span class='style14'>Williamsburg</span>";	
			inhtml+="<input class='check' type='checkbox' name='testwicksublocation"+p+"' id='testwicksublocation"+p+"' value='TestWick' /><span class='style14'>TestWick</span>";					
			inhtml+="</p>";				//mycheckpark.disabled=false;
			//mychecksunset.disabled=false;
			//mycheckredhook.disabled=true;
			//mycheckpark.checked=false;
			//mychecksunset.checked=false;
			//mycheckredhook.checked=true;
		}
		if(location=="williamsburg"){
			inhtml="<label for='location"+p+"'>Substitute : <span><span class='style1'>In the event your chosen times are unavailable,  check any locations that would be acceptable substitutes (check all that apply)</span>&nbsp;&nbsp;</span></label>";
			inhtml+="<input class='check' type='checkbox' name='parksublocation"+p+"' id='parksublocation"+p+"' value='Park Slope' /><span class='style14'>Park Slope</span>";
			inhtml+="<input class='check' type='checkbox' name='sunsetsublocation"+p+"' id='sunsetsublocation"+p+"' value='Sunset Park' />	<span class='style14'>Sunset Park</span>";
			inhtml+="<input class='check' type='checkbox' name='propspectsublocation"+p+"' id='propspectsublocation"+p+"' value='Prospect Heights' /><span class='style14'>Prospect Heights</span>";
			inhtml+="<input class='check' type='checkbox' name='greensublocation"+p+"' id='greensublocation"+p+"' value='Greenpoint' /><span class='style14'>Greenpoint</span>";
			inhtml+="<input class='check' type='checkbox' name='bushsublocation"+p+"' id='bushsublocation"+p+"' value='Bushwick' />	<span class='style14'>Bushwick</span>";			
			inhtml+="<input class='check' type='checkbox' name='testwicksublocation"+p+"' id='testwicksublocation"+p+"' value='TestWick' /><span class='style14'>TestWick</span>";		
			inhtml+="</p>";				//mycheckpark.disabled=false;
			//mychecksunset.disabled=false;
			//mycheckredhook.disabled=true;
			//mycheckpark.checked=false;
			//mychecksunset.checked=false;
			//mycheckredhook.checked=true;
		}
		if(location=="propspect"){
			inhtml="<label for='location"+p+"'>Substitute : <span><span class='style1'>In the event your chosen times are unavailable,  check any locations that would be acceptable substitutes (check all that apply)</span>&nbsp;&nbsp;</span></label>";
			inhtml+="<input class='check' type='checkbox' name='parksublocation"+p+"' id='parksublocation"+p+"' value='Park Slope' /><span class='style14'>Park Slope</span>";
			inhtml+="<input class='check' type='checkbox' name='sunsetsublocation"+p+"' id='sunsetsublocation"+p+"' value='Sunset Park' />	<span class='style14'>Sunset Park</span>";
			inhtml+="<input class='check' type='checkbox' name='greensublocation"+p+"' id='greensublocation"+p+"' value='Greenpoint' /><span class='style14'>Greenpoint</span>";
			inhtml+="<input class='check' type='checkbox' name='bushsublocation"+p+"' id='bushsublocation"+p+"' value='Bushwick' />	<span class='style14'>Bushwick</span>";
			inhtml+="<input class='check' type='checkbox' name='williamsublocation"+p+"' id='williamsublocation"+p+"' value='Williamsburg' /><span class='style14'>Williamsburg</span>";
			inhtml+="<input class='check' type='checkbox' name='testwicksublocation"+p+"' id='testwicksublocation"+p+"' value='TestWick' /><span class='style14'>TestWick</span>";		
			inhtml+="</p>";				//mycheckpark.disabled=false;
			//mychecksunset.disabled=false;
			//mycheckredhook.disabled=true;
			//mycheckpark.checked=false;
			//mychecksunset.checked=false;
			//mycheckredhook.checked=true;
		}
		if(location=="testwick"){
			inhtml="<label for='location"+p+"'>Substitute : <span><span class='style1'>In the event your chosen times are unavailable,  check any locations that would be acceptable substitutes (check all that apply)</span>&nbsp;&nbsp;</span></label>";
			inhtml+="<input class='check' type='checkbox' name='parksublocation"+p+"' id='parksublocation"+p+"' value='Park Slope' /><span class='style14'>Park Slope</span>";
			inhtml+="<input class='check' type='checkbox' name='sunsetsublocation"+p+"' id='sunsetsublocation"+p+"' value='Sunset Park' />	<span class='style14'>Sunset Park</span>";
			inhtml+="<input class='check' type='checkbox' name='greensublocation"+p+"' id='greensublocation"+p+"' value='Greenpoint' /><span class='style14'>Greenpoint</span>";
			inhtml+="<input class='check' type='checkbox' name='bushsublocation"+p+"' id='bushsublocation"+p+"' value='Bushwick' />	<span class='style14'>Bushwick</span>";
			inhtml+="<input class='check' type='checkbox' name='williamsublocation"+p+"' id='williamsublocation"+p+"' value='Williamsburg' /><span class='style14'>Williamsburg</span>";
			inhtml+="<input class='check' type='checkbox' name='propspectsublocation"+p+"' id='propspectsublocation"+p+"' value='Prospect Heights' /><span class='style14'>Prospect Heights</span>";
			inhtml+="</p>";				//mycheckpark.disabled=false;
			//mychecksunset.disabled=false;
			//mycheckredhook.disabled=true;
			//mycheckpark.checked=false;
			//mychecksunset.checked=false;
			//mycheckredhook.checked=true;
		}
		mycheckpan.innerHTML = inhtml;
	}
-->
