// JavaScript Document

$(document).ready(function(){
$('#context div').hide(); // Hide all divs
$('#context div:first').show(); // Show the first div
$('#menu ul li:first').addClass('active'); // Set the class of the first link to active
$('#menu ul li a').click(function(){ //When any link is clicked
$('#menu ul li').removeClass('active'); // Remove active class from all links
$(this).parent().addClass('active'); //Set clicked link class to active
var currentTab = $(this).attr('href'); // Set variable currentTab to value of href attribute of clicked link
$('#context div').hide(); // Hide all divs
$(currentTab).show(); // Show div with id equal to variable currentTab
return false;
});


$("#menu ul li a").click( function() { 

$('#topMn').show();	
$('#flash').show();				   
$('#rightBar').show();	

});// end click

$("a.gallery").click( function() { 

$('#topMn').hide();	
$('#flash').hide();	
$('#rightBar').hide();		

});// end click

$("a.galerie").click( function() { 

$('#topMn').hide();	
$('#flash').hide();	
$('#rightBar').hide();		

});// end click



});//end ready