
	function tc()
	{
		$('input[name=Ihavereadandunderstoodthetermsandconditions][value=No]').attr("checked", "checked");
	}

/*Without jQuery Cookie*/
$(document).ready(function(){
	$("#section1").css("display","none");
	$("#section2").css("display","none");
	$("#section3").css("display","none");
	$("#section4").css("display","none");
	$("#section5").css("display","none");
	$("#section6").css("display","none");
	$("#section7").css("display","none");
	$("#section8").css("display","none");
	$("#section9").css("display","none");
	$("#section10").css("display","none");
	$("#section11").css("display","none");
	$("#section12").css("display","none");
	$("#section13").css("display","none");
	$("#section14").hide();

	$(".section1").click(function(){
    	if ($('input[name=Doyouwishtoinsurebuildingsandorcontents]:checked').val() == "Yes" ) {
        	$("#section1").slideDown("fast");
        } else {
            $("#section1").slideUp("fast");
        }
     });
	
	$(".section2").click(function(){
    	if ($('input[name=DoyouneedMoneyInsurance]:checked').val() == "Yes" ) {
        	$("#section2").slideDown("fast");
        } else {
            $("#section2").slideUp("fast");
        }
     });
	
	$(".section3").click(function(){
    	if ($('input[name=Doyouneedtoinsureitemsintheopenorawayfromthecricketclub]:checked').val() == "Yes" ) {
        	$("#section3").slideDown("fast");
        } else {
            $("#section3").slideUp("fast");
        }
     });
	
	$(".section4").click(function(){
    	if ($('input[name=Do you need Liability Insurance?]:checked').val() == "Yes" ) {
        	$("#section4").slideDown("fast");
        } else {
            $("#section4").slideUp("fast");
        }
     });
	
	$(".section5").click(function(){
    	if ($('input[name=DoyouwishtoinsureforPersonalAccident]:checked').val() == "Yes" ) {
        	$("#section5").slideDown("fast");
        } else {
            $("#section5").slideUp("fast");
        }
     });
	
	
	$(".section6").click(function(){
    	if ($('input[name=Ihavereadandunderstoodthetermsandconditions]:checked').val() == "Yes" ) {
        	$("#section6").slideDown("fast");
        } else {
            $("#section6").slideUp("fast");
        }
     });
	
	$(".section7").click(function(){
    	if ($('input[name=AreyouabletocomplywiththeMinimumStandardofSecurityrequirementsasnotedbelow]:checked').val() == "No" ) {
        	$("#section7").slideDown("fast");
        } else {
            $("#section7").slideUp("fast");
        }
     });
	
	$(".section8").click(function(){
    	if ($('input[name=Isanypartoftheroofflatandorconstructedoftimberandasphalt]:checked').val() == "Yes" ) {
        	$("#section8").slideDown("fast");
        } else {
            $("#section8").slideUp("fast");
        }
     });
	
	$(".section9").click(function(){
    	if ($('input[name=HasanIntruderAlarmbeeninstalled]:checked').val() == "Yes" ) {
        	$("#section9").slideDown("fast");
        } else {
            $("#section9").slideUp("fast");
        }
     });
	
	$(".section10").click(function(){
    	if ($('input[name=Aresportingactivitiesotherthancrickettobeincluded]:checked').val() == "Yes" ) {
        	$("#section10").slideDown("fast");
        } else {
            $("#section10").slideUp("fast");
        }
     });
	
	$(".section11").click(function(){
    	if ($('input[name=IstheClubhouseopenallyearround]:checked').val() == "No" ) {
        	$("#section11").slideDown("fast");
        } else {
            $("#section11").slideUp("fast");
        }
     });
	
	$(".section12").click(function(){
    	if ($('input[name=Areyourpremisesletouttononmembersforprivatefunctions]:checked').val() == "Yes" ) {
        	$("#section12").slideDown("fast");
        } else {
            $("#section12").slideUp("fast");
        }
     });
	
	$(".section13").click(function(){
    	if ($('input[name=DoyouhavehazardousactivitiesegBonfireNights]:checked').val() == "Yes" ) {
        	$("#section13").slideDown("fast");
        } else {
            $("#section13").slideUp("fast");
        }
     });
     
	$(".section14").click(function(){
    	if ($('input[name=Doyourequiresubsidencecover]:checked').val() == "Yes" ) {
        	$("#section14").slideDown("fast");
        } else {
            $("#section14").slideUp("fast");
        }
     });

	
	
});
