$(document).ready(function(){
	var urlParam = location.href.split("#");
	selectContent ((urlParam.length > 1 && urlParam[1])? urlParam [1] : 'intro');

	$("ul#MAIN_MENU").superfish({delay : 100});
});

/*
** selectContent - displays one div.cont#id and hides the other div.content's.
**
** Input: id - a string containing the unique id value for the content to be displayed.
*/
function selectContent (id)
{
	$(".content").not ("#" + id).hide ();
	$("#" + id).fadeIn("normal");
}