function linkToSections() {
	var index = 1;

	$("h1.blog-entry-title, #contentcontainer h2").each(function() {
		$(this).html("<a name=\"sec" + index + "\"></a>" + $(this).html());
		var title = "<a href=\"#sec" + index + "\">" + $(this).text() + "</a><br />";
		$("#sidenavbar").append(title);
		index++;
	});

	//if (index != 1) {
	//	$("#sidenavbar").append("<br />");
	//}
}

function layoutFullDocument() {
	// Insert the title at the top of the document
	//$("div.contents").prepend("<h1>" + document.title + "</h1>");

	// Hide the sidebar, as we aren't using it now
	$("#sidebarColumn").css("display", "none");
	$("div.container").css("background", "#eee");

	// Remove the right-hand border from the content column, and then stretch it
	// out to nearly the full width (- 1 column).
	var content = $("#contentColumn");
	content.removeClass("border");
	content.removeClass("span-12");
	content.addClass("span-17");
}
