
$(document).ready(function() {
	$(".navitem").each(function(index) {
		
		if (index != 2 && $(this).attr("class") != 'navitem active') {
			$(this).mouseover(function(){
				$(this).css('backgroundPosition', '0 -81px');
			});
			
			$(this).mouseout(function(){
				$(this).css('backgroundPosition', '0 0px');
			});
			
			$(this).click(function(){
				location.href = $(this).attr("id") + '.html';
			});
			
		}
		else if (index != 2 && $(this).attr("class") == 'navitem active') {
			$(this).css('backgroundPosition', '0 -81px');
			$(this).css('cursor', 'default');
		}
		
	});
	
	$('.fb-bulletin').fbWall({
		id:'100000020841958',
		accessToken:'206158599425293|ad4f542270efbb53a45e2940.1-651707547|UzV8ZOSV5d5QOWZBnktGALIKiFw',
		showGuestEntries:false,
		showComments:false,
		max:4,
		timeConversion:24});
	
});
