$("document").ready(function() {
	$(".hideBlock").toggle(
		function() {
			$(this).parents("div").children("div:first").hide();
            $(this).text("Show");
		},
		function() {
			$(this).parents("div").children("div").show();
            $(this).text("Hide");
		}
	);
});

