$(function(){
	$('.backnumber h6')
	.click(function(event){
		if (this == event.target) {
			var parent = $(this).parent();

			if ($(parent).children('.block-backnum').is(':hidden')) {
				$(parent).children('.block-backnum').slideDown()
			}
			else {
				$(parent).children('.block-backnum').slideUp()
			}

		}
		return false;
	})


	$('.backnumber .block-backnum .close span')
	.click(function(event){
		if (this == event.target) {
			var parent = $(this).parent().parent();

			if ($(parent).is(':hidden')) {
				$(parent).slideDown()
			}
			else {
				$(parent).slideUp()
			}

		}
		return false;
	})

});


$(function(){
	$('.voice-date h5')
	.click(function(event){
		if (this == event.target) {
			var parent = $(this).parent();

			if ($(parent).children('.block-voice').is(':hidden')) {
				$(parent).children('.block-voice').slideDown()
			}
			else {
				$(parent).children('.block-voice').slideUp()
			}

		}
		return false;
	})

	$('.voice-date .block-voice .close span')
	.click(function(event){
		if (this == event.target) {
			var parent = $(this).parent().parent();

			if ($(parent).is(':hidden')) {
				$(parent).slideDown()
			}
			else {
				$(parent).slideUp()
			}

		}
		return false;
	})

});


$(function(){
	$('.nw h6')
	.click(function(event){
		if (this == event.target) {
			var parent = $(this).parent();

			if ($(parent).children('.block-nw').is(':hidden')) {
				$(parent).children('.block-nw').slideDown()
			}
			else {
				$(parent).children('.block-nw').slideUp()
			}

		}
		return false;
	})

	$('.nw .block-nw .close span')
	.click(function(event){
		if (this == event.target) {
			var parent = $(this).parent().parent();

			if ($(parent).is(':hidden')) {
				$(parent).slideDown()
			}
			else {
				$(parent).slideUp()
			}

		}
		return false;
	})

});


$(function(){
	$('.target th h5')
	.click(function(event){
		if (this == event.target) {
			var parent = $(this).parent();

			if ($(parent).children('.blockText').is(':hidden')) {
				$(parent).children('.blockText').slideDown()
			}
			else {
				$(parent).children('.blockText').slideUp()
			}

		}
		return false;
	})

	$('.target th .blockText .close')
	.click(function(event){
		if (this == event.target) {
			var parent = $(this).parent();

			if ($(parent).is(':hidden')) {
				$(parent).slideDown()
			}
			else {
				$(parent).slideUp()
			}

		}
		return false;
	})

});
