// JavaScript Document


$(function(){

// The height of the content block when it's not expanded
var adjustheight2 = 230;
// The "more" link text
var moreText2 = "» More";
// The "less" link text
var lessText2 = "» Less";

// Sets the .more-block div to the specified height and hides any content that overflows
$(".more-less2 .more-block2").css('height', adjustheight2).css('overflow', 'hidden');

// The section added to the bottom of the "more-less" div
$(".more-less2").append('<a href="#" class="adjust"></a>');

$("a.adjust").text(moreText2);

$(".adjust").toggle(function() {
		$(this).parents("div:first").find(".more-block2").css('height', 'auto').css('overflow', 'visible');
		// Hide the [...] when expanded
		$(this).parents("div:first").find("p.continued").css('display', 'none');
		$(this).text(lessText2);
	}, function() {
		$(this).parents("div:first").find(".more-block2").css('height', adjustheight2).css('overflow', 'hidden');
		$(this).parents("div:first").find("p.continued").css('display', 'block');
		$(this).text(moreText2);
});
});

