//by karen jou, same one as used in www.setbc.org


$(document).ready(function() {
$("div.hide > div.toggle").hide();
$("div.hide h2").wrapInner("<a href='#'></a>");
$("div.hide h2 a").append("<span class='plus'>show</span><span class='minus'>hide</span>")
   $("div.hide h2 a").click(function() {
	$(this).parent().next().slideToggle("fast");
	$(this).parent().parent().toggleClass("show").toggleClass("hide");	
	return false;
	});
 });



// Andy Langton's show/hide/mini-accordion - updated 23/11/2009
// Latest version @ http://andylangton.co.uk/jquery-show-hide

$(document).ready(function() {

// choose text for the show/hide link - can contain HTML (e.g. an image)
var showText='(Read More)';
var hideText='(Collapse Text)';
var is_visible = false;

// append show/hide links to the element directly preceding the element with a class of "toggle"
$('.toggle01').prev().append(' <a href="#" class="toggleLink">' +showText+ '</a>');
//$(".toggle").prev().wrap('<a href="#" class="toggleLink"></a>'); 
//$("h2").wrapInner('<a href="#" class="toggleLink"></a>');

$('.toggle01').hide();
$('a.toggleLink').click(function() {
is_visible = !is_visible;

$(this).html( (!is_visible) ? showText : hideText);

// toggle the display - uncomment the next line for a basic "accordion" style
//$('.toggle').hide();$('a.toggleLink').html(showText);
$(this).parent().next('.toggle01').toggle('slow');

return false;

});
});
