/* show/hide sections of content with sidebar menu */

var currentIndex;
function selectContent(index) {
	currentIndex = index;
	showContent()
}
function showContent() {
	var index = currentIndex;
	$("div.swap").hide();
	$("div.swap:eq(" + index + ")").show();
	$("ul#tabs li").removeClass("current");
	$("ul#tabs li:eq(" + index + ")").addClass("current");
}
function initNews() {
	currentIndex = 0;
	showContent();
}
