$(document).ready(function(){
	$('ul.nav li:not(li.external)').click(function(){
		/* ensures that a user will be taken to the new page if s/he clicks on either
		   the li or a element in the menu */
		var newPage = $(this).find('a').attr('href');
		window.location = newPage;
	});
	
	$('#title').click(function(){
		window.location = '/';
	});
});
