$(function(){

// The height of the content block when it's not expanded
var adjustheight = 90;
// The "more" link text
var moreText = "Read More";
// The "less" link text
var lessText = "Read Less";

// Sets the .more-block div to the specified height and hides any content that overflows
$(".more-less .more-block").css('height', adjustheight).css('overflow', 'hidden');

// The section added to the bottom of the "more-less" div
$(".more-less").append('<br><a href="#" class="adjust" style="font-family:Arial;font-size:12px;font-weight:bold;color:#099;text-decoration:underline;" rel="nofollow"></a>');

$("a.adjust").text(moreText);

$(".adjust").toggle(function() {
		$(this).parents("div:first").find(".more-block").css('height', 'auto').css('overflow', 'visible').css('font-weight', 'bold');
		// Hide the [...] when expanded
		$(this).parents("div:first").find("p.continued").css('display', 'none').css('font-weight', 'bold');
		$(this).text(lessText);
	}, function() {
		$(this).parents("div:first").find(".more-block").css('height', adjustheight).css('overflow', 'hidden').css('font-weight', 'bold');
		$(this).parents("div:first").find("p.continued").css('display', 'block').css('font-weight', 'bold');
		$(this).text(moreText);
});
});
