    $(document).ready(function(){
       
        //Hide div w/id extra
       $("#townhome_yes").css("display","none");
       $("#condo_yes").css("display","none");
       $("#single_fam_yes").css("display","none");

        // Add onclick handler to checkbox w/id checkme
       $("#type_of_community").click(function(){
       
        // If checked
        if ($("#townhome").is(":checked"))
        {
            //show the hidden div
            $("#townhome_yes").show("fast");
        }
        else
        {     
            //otherwise, hide it
            $("#townhome_yes").hide("fast");
        }
        
        // If checked
        if ($("#condo").is(":checked"))
        {
            //show the hidden div
            $("#condo_yes").show("fast");
        }
        else
        {     
            //otherwise, hide it
            $("#condo_yes").hide("fast");
        }

        // If checked
        if ($("#single").is(":checked"))
        {
            //show the hidden div
            $("#single_fam_yes").show("fast");
        }
        else
        {     
            //otherwise, hide it
            $("#single_fam_yes").hide("fast");
        }

      });
   
    });

$(document).ready(function(){
       
        //Hide div w/id extra
       $("#other_details").css("display","none");

        // Add onclick handler to checkbox w/id checkme
       $("#other").click(function(){
       
        // If checked
        if ($("#other").is(":checked"))
        {
            //show the hidden div
            $("#other_details").show("fast");
        }
        else
        {     
            //otherwise, hide it
            $("#other_details").hide("fast");
        }
      });
   
    });
