$(function () {
	$('#mainContent div.newlistObj div.pack:even').addClass('pack-even');
	$('#mainContent div.searchObj .list dl:last-child').addClass('last-child');
	$('#sideContent div.noticeObj div.list dl:last-child').addClass('last-child');
	$('#sideContent div.voiceObj .frm-body div.pack:last-child').addClass('last-child');
});

	$(document).ready(function() {
	    $(function(){
	      $("#kamoku-all").click(function(){
	        $("#kamoku-all_sub input[type=checkbox]").attr("checked", $(this).attr("checked"));
	      });
	    });
	    $(function(){
	      $("#kamoku-all_sub input[type=checkbox]").click(function(){
	        $("#kamoku-all").attr("checked", false);
	      });
	    });

	    $(function(){
	      $("#kamoku-naika").click(function(){
	        $(".kamoku-naika_sub input[type=checkbox]").attr("checked", $(this).attr("checked"));
	      });
	    });
	    $(function(){
	      $(".kamoku-naika_sub input[type=checkbox]").click(function(){
	        $("#kamoku-naika").attr("checked", false);
	      });
	    });

	    $(function(){
	      $("#kamoku-geka").click(function(){
	        $(".kamoku-geka_sub input[type=checkbox]").attr("checked", $(this).attr("checked"));
	      });
	    });
	    $(function(){
	      $(".kamoku-geka_sub input[type=checkbox]").click(function(){
	        $("#kamoku-geka").attr("checked", false);
	      });
	    });

	    $(function(){
	      $("#kamoku-other").click(function(){
	        $(".kamoku-other_sub input[type=checkbox]").attr("checked", $(this).attr("checked"));
	      });
	    });
	    $(function(){
	      $(".kamoku-other_sub input[type=checkbox]").click(function(){
	        $("#kamoku-other").attr("checked", false);
	      });
	    });

	    $(function(){
	      $("#area-all").click(function(){
	        $("#area-all_sub input[type=checkbox]").attr("checked", $(this).attr("checked"));
	      });
	    });
	    $(function(){
	      $("#area-all_sub input[type=checkbox]").click(function(){
	        $("#area-all").attr("checked", false);
	      });
	    });

	    $(function(){
	      $("#hokkaido-tohoku").click(function(){
	        $(".hokkaido-tohoku_sub input[type=checkbox]").attr("checked", $(this).attr("checked"));
	      });
	    });
	    $(function(){
	      $(".hokkaido-tohoku_sub input[type=checkbox]").click(function(){
	        $("#hokkaido-tohoku").attr("checked", false);
	      });
	    });

	    $(function(){
	      $("#shutoken-kanto").click(function(){
	        $(".shutoken-kanto_sub input[type=checkbox]").attr("checked", $(this).attr("checked"));
	      });
	    });
	    $(function(){
	      $(".shutoken-kanto_sub input[type=checkbox]").click(function(){
	        $("#shutoken-kanto").attr("checked", false);
	      });
	    });

	    $(function(){
	      $("#tokai-chubu").click(function(){
	        $(".tokai-chubu_sub input[type=checkbox]").attr("checked", $(this).attr("checked"));
	      });
	    });
	    $(function(){
	      $(".tokai-chubu_sub input[type=checkbox]").click(function(){
	        $("#tokai-chubu").attr("checked", false);
	      });
	    });

	    $(function(){
	      $("#kansai").click(function(){
	        $(".kansai_sub input[type=checkbox]").attr("checked", $(this).attr("checked"));
	      });
	    });
	    $(function(){
	      $(".kansai_sub input[type=checkbox]").click(function(){
	        $("#kansai").attr("checked", false);
	      });
	    });

	    $(function(){
	      $("#chugoku-shikoku").click(function(){
	        $(".chugoku-shikoku_sub input[type=checkbox]").attr("checked", $(this).attr("checked"));
	      });
	    });
	    $(function(){
	      $(".chugoku-shikoku_sub input[type=checkbox]").click(function(){
	        $("#chugoku-shikoku").attr("checked", false);
	      });
	    });

	    $(function(){
	      $("#kyushu-okinawa").click(function(){
	        $(".kyushu-okinawa_sub input[type=checkbox]").attr("checked", $(this).attr("checked"));
	      });
	    });
	    $(function(){
	      $(".kyushu-okinawa_sub input[type=checkbox]").click(function(){
	        $("#kyushu-okinawa").attr("checked", false);
	      });
	    });
	});

