function formatShell() {			
	//ROUND CORNERS
	$("#wrapper").corner("15px");
	$("#nav").corner();
	
	//TOGGLE ALL
	$("#expand_all").click(function () {
		$(".p_content").show();
		$(".s_content").show();
		$(".date").show();
		$(".tog_button").attr({src:"images/d_arrow.png"});
		$(".stog_button").attr({src:"images/d_arrow.png"});
	});
	
	$("#hide_all").click(function () {
		$(".p_content").hide();
		$(".s_content").hide();
		$(".date").hide();
		$(".tog_button").attr({src:"images/r_arrow.png"});
		$(".stog_button").attr({src:"images/r_arrow.png"});
	});  
}

function formatContent()
{
	//ROUND CORNERS
	$(".post").corner();
	$(".static").corner();
	$(".comment").corner();

	//INITIALLY HIDDEN
	$('.p_content').hide();  
	$(".comment").hide();
	$(".date").hide();
	
	
	//INDIVIDUAL TOGGLE
	$(".tog_button").click(function () {
		$(this).siblings(".p_content").toggle("fast");
		$(this).siblings(".date").toggle("fast");
		if ($(this).attr("src")=="images/d_arrow.png")			
			$(this).attr({src:"images/r_arrow.png"});
		else
			$(this).attr({src:"images/d_arrow.png"});
	});    
	
	$(".stog_button").click(function () {
		$(this).siblings(".s_content").toggle("fast");
		if ($(this).attr("src")=="images/d_arrow.png")			
			$(this).attr({src:"images/r_arrow.png"});
		else
			$(this).attr({src:"images/d_arrow.png"});
	});

	//COMMENTS SHOW/HIDE
	$(".b_link").click(function () {
		$(this).parent().parent().siblings(".comment").toggle("fast");
		if ($(this).children().html()=="show comments")
			{
				$(this).children().html("hide comments")
			}
		else
			$(this).children().html("show comments")
	});
	
}
