$(document).ready(function(){
	$("div.row div").append('<p class="showMe">More info ></p>');
	$("div.row div").append('<p class="showMe2">< Hide info</p>');
	$(".showMe2").hide();

	$("div.row p").nextAll("p").hide();
	$("div.row p").nextAll("p").attr("role","complementary");
	$("div.row p").nextAll("p").attr("aria-hidden","true");
	$("div.row p").nextAll("p").attr("aria-live","polite");
	$(".showMe").show();
	$(".showMe").attr("aria-hidden","false");
	
	$("p.showMe").click(
		function () {
			$(this).parent().children().slideDown(1000);
			$(this).parent().children().attr("aria-hidden","false");
			$(this).siblings(".showMe2").show();
			$(this).siblings(".showMe2").attr("aria-hidden","false");
			$(this).hide();
			$(this).attr("aria-hidden","true");
		}
	);
	
	$("p.showMe2").click(
		function () {
			$(this).parent().children(":nth-child(2)").nextAll("p").slideUp(1000);
			$(this).parent().children(":nth-child(2)").nextAll("p").attr("aria-hidden","true");
			$(this).siblings(".showMe").show();
			$(this).siblings(".showMe").attr("aria-hidden","false");
			$(this).hide();
			$(this).attr("aria-hidden","true");
		}
	);
	
	$(".postContent ol li:odd").addClass("oddRow");
	
	$("#rollMe").rollSM(true);
});