
            $(document).ready(function(){
            	
            	$("#newsLink").click(function(){
                    if ($("#newsPane").is(":hidden")){
                    	
                    	$("#aboutPane").slideUp("slow");
                        $("#wherePane").slideUp("slow");
                        $("#storesPane").slideUp("slow");
                        $("#linksPane").slideUp("slow");
                        $("#contactPane").slideUp("slow");
                        
                        $("#newsPane").slideDown("slow");
                    }
                    else{
                        $("#newsPane").slideUp("slow");
                    }
                }); 
            });
            
           $(document).ready(function(){
      
                 $("#aboutLink").click(function(){
                    if ($("#aboutPane").is(":hidden")){
                    	
                    	$("#newsPane").slideUp("slow");
                    	$("#wherePane").slideUp("slow");
                    	$("#storesPane").slideUp("slow");
 						$("#linksPane").slideUp("slow");
                    	$("#contactPane").slideUp("slow");
 
                        $("#aboutPane").slideDown("slow");
                    }
                    else{
                        $("#aboutPane").slideUp("slow");
                    }
                });
            
                }); 
                
                $(document).ready(function(){

                $("#whereLink").click(function(){
                    if ($("#wherePane").is(":hidden")){
                    	
                    	$("#newsPane").slideUp("slow");
                    	$("#aboutPane").slideUp("slow");
                    	$("#storesPane").slideUp("slow");
                    	$("#linksPane").slideUp("slow");
                    	$("#contactPane").slideUp("slow");
                       
                         $("#wherePane").slideDown("slow");
                    }
                    else{
                        $("#wherePane").slideUp("slow");
                    }
                }); 
            });
            
                        
              $(document).ready(function(){
      
                 $("#storesLink").click(function(){
                    if ($("#storesPane").is(":hidden")){
                    	
                    	$("#newsPane").slideUp("slow");
                    	$("#aboutPane").slideUp("slow");
                    	$("#wherePane").slideUp("slow");
                    	$("#linksPane").slideUp("slow");
                    	$("#contactPane").slideUp("slow");

                        $("#storesPane").slideDown("slow");
                    }
                    else{
                        $("#storesPane").slideUp("slow");
                    }
                });
            
                }); 
            
              $(document).ready(function(){
      
                 $("#linksLink").click(function(){
                    if ($("#linksPane").is(":hidden")){
                    	
                    	$("#newsPane").slideUp("slow");
                    	$("#aboutPane").slideUp("slow");
                    	$("#storesPane").slideUp("slow");
                    	$("#wherePane").slideUp("slow");
                    	$("#contactPane").slideUp("slow");

                        $("#linksPane").slideDown("slow");
                    }
                    else{
                        $("#linksPane").slideUp("slow");
                    }
                });
            
                }); 
  $(document).ready(function(){

                $("#contactLink").click(function(){
                    if ($("#contactPane").is(":hidden")){
                    	
                    	$("#newsPane").slideUp("slow");
                    	$("#aboutPane").slideUp("slow");
                    	$("#storesPane").slideUp("slow");
                        $("#wherePane").slideUp("slow");
                        $("#linksPane").slideUp("slow");
                        
                        $("#contactPane").slideDown("slow");
                    }
                    else{
                        $("#contactPane").slideUp("slow");
                    }
                }); 
            });
            

                

            
            

                                             
   
$(document).ready(function(){
$("#ajax-contact-form").submit(function(){

var str = $(this).serialize();

   $.ajax({
   type: "POST",
   url: "contact_submit.php",
   data: str,
   success: function(msg){
    
$("#note").ajaxComplete(function(event, request, settings){

if(msg == 'OK') // Message Sent? Show the 'Thank You' message and hide the form
{
result = '<div class="notification_ok">Your message has been sent. Thank you!</div>';
}
else
{
result = msg;
}

$(this).html(result);

});

}

 });

return false;

});

});

