﻿$(document).ready(function(){

	$("#inner_content").each(function (i) {
		$(this).children("ol").children("li").children("div,p,ul").hide(); // Used .answer but alt langs didn't have div - PR
		$(this).children("ol").children("li").children("h3").prepend('<a class="expand">[+]</a> ');
		$(this).children("ol").children("li").children("h3").children("a.expand")
			.click(function(){
				if ($(this).text() == "[+]") {
					$(this).parent().parent().children("div,p,ul").slideDown();
					$(this).text("[-]");
				} else {
					$(this).parent().parent().children("div,p,ul").slideUp();
					$(this).text("[+]");
				}
			})
		});
	
});
