$(document).ready(function(){
	//add event listneres to the contentController items
	$('nav#contentController li').bind('click', swapCont);
	
	function swapCont(e){
		$('nav#contentController ul li').removeClass('selected');
		$(this).addClass('selected');
		var hook = this.id;
		hook = hook.substr(4);
		//hide all the content for a sec.
		$('div.content').hide();
		$('div.content').removeClass('hidden');
		//grab element with the hook and show it.
		$('div#' + hook.toString()).show();
	}
});
