$(document).ready(function(){  

$("#ministries").hover( 
  function () {
			$("#ministries > ul").fadeIn("fast");  
			},
  function () {
			$("#ministries > ul").fadeOut("fast");  
		}
);  

$("#resources").hover( 
  function () {
			$("#resources > ul").fadeIn("fast");  
			},
  function () {
			$("#resources > ul").fadeOut("fast");  
		}
);  

	$(".about_menu > li").click(function(){  
			var id = this.id;
       switch(id){  
            case "history":  
                //change status & style menu  
                $("#history").addClass("hover");  
                $("#vision").removeClass("hover");
                $("#values").removeClass("hover");  
                $("#believe").removeClass("hover");
                $("#service").removeClass("hover");
                //display selected division, hide others  
                $("div#content_14").fadeIn();  
                $("div#content_15").css("display", "none");  
                $("div#content_16").css("display", "none"); 
                $("div#content_17").css("display", "none");  
                $("div#content_82").css("display", "none");  
            break;  
            case "vision":  
                //change status & style menu  
                $("#vision").addClass("hover");  
                $("#history").removeClass("hover");
                $("#values").removeClass("hover");  
                $("#believe").removeClass("hover");
                $("#service").removeClass("hover");
                //display selected division, hide others  
                $("div#content_15").fadeIn();  
                $("div#content_14").css("display", "none");  
                $("div#content_16").css("display", "none"); 
                $("div#content_17").css("display", "none");  
                $("div#content_82").css("display", "none");  
            break;  
            case "values":  
                //change status & style menu  
                $("#values").addClass("hover");  
                $("#history").removeClass("hover");
                $("#vision").removeClass("hover");  
                $("#believe").removeClass("hover");
                $("#service").removeClass("hover");
                //display selected division, hide others  
                $("div#content_16").fadeIn();  
                $("div#content_14").css("display", "none");  
                $("div#content_15").css("display", "none"); 
                $("div#content_17").css("display", "none"); 
                 $("div#content_82").css("display", "none");  
            break;   
            case "believe":  
                //change status & style menu  
                $("#believe").addClass("hover");  
                $("#history").removeClass("hover");
                $("#values").removeClass("hover");  
                $("#vision").removeClass("hover");
                $("#service").removeClass("hover");
                //display selected division, hide others  
                $("div#content_17").fadeIn();  
                $("div#content_14").css("display", "none");  
                $("div#content_15").css("display", "none"); 
                $("div#content_16").css("display", "none");  
                $("div#content_82").css("display", "none");  
            break;  
            case "service":  
                //change status & style menu  
                $("#service").addClass("hover");  
                $("#believe").removeClass("hover");
                $("#history").removeClass("hover");
                $("#values").removeClass("hover");  
                $("#vision").removeClass("hover");
                //display selected division, hide others  
                $("div#content_82").fadeIn();  
                $("div#content_17").css("display", "none");  
                $("div#content_14").css("display", "none");  
                $("div#content_15").css("display", "none"); 
                $("div#content_16").css("display", "none");  
            break;    
            } 
        return false;  
    });  
    
    $(".creative_menu > li").click(function(){  
			var id = this.id;
       switch(id){  
            case "band":  
                //change status & style menu  
                $("#band").addClass("hover");  
                $("#orchestra").removeClass("hover");
                $("#dance").removeClass("hover");
                $("#vocals").removeClass("hover");  
                $("#design").removeClass("hover");
                $("#drama").removeClass("hover");
                //display selected division, hide others  
                $("div#content_209").fadeIn();  
                $("div#content_210").css("display", "none");  
                $("div#content_211").css("display", "none"); 
                $("div#content_212").css("display", "none");  
                $("div#content_213").css("display", "none");  
                $("div#content_214").css("display", "none");
            break;  
            case "orchestra":  
                //change status & style menu  
                $("#orchestra").addClass("hover");  
                $("#band").removeClass("hover");
                $("#dance").removeClass("hover"); 
                $("#vocals").removeClass("hover");  
                $("#design").removeClass("hover");
                $("#drama").removeClass("hover");
                //display selected division, hide others  
                $("div#content_210").fadeIn();  
                $("div#content_209").css("display", "none");  
                $("div#content_211").css("display", "none"); 
                $("div#content_212").css("display", "none");  
                $("div#content_213").css("display", "none");  
                $("div#content_214").css("display", "none");
            break;  
            case "vocals":  
                //change status & style menu  
                $("#vocals").addClass("hover");  
                $("#band").removeClass("hover");
                $("#orchestra").removeClass("hover");
                $("#dance").removeClass("hover");   
                $("#design").removeClass("hover");
                $("#drama").removeClass("hover");
                //display selected division, hide others  
                $("div#content_211").fadeIn();  
                $("div#content_209").css("display", "none");  
                $("div#content_210").css("display", "none"); 
                $("div#content_212").css("display", "none"); 
                 $("div#content_213").css("display", "none");  
                 $("div#content_214").css("display", "none");
            break;   
            case "dance":  
                //change status & style menu  
                $("#dance").addClass("hover");  
                $("#band").removeClass("hover");
                $("#design").removeClass("hover");  
                $("#vocals").removeClass("hover"); 
                $("#orchestra").removeClass("hover");
                $("#drama").removeClass("hover");
                //display selected division, hide others  
                $("div#content_212").fadeIn();  
                $("div#content_209").css("display", "none");  
                $("div#content_210").css("display", "none"); 
                $("div#content_211").css("display", "none");  
                $("div#content_213").css("display", "none"); 
                $("div#content_214").css("display", "none"); 
            break;  
            case "design":  
                //change status & style menu  
                $("#design").addClass("hover");  
                $("#drama").removeClass("hover");
                $("#band").removeClass("hover");
                $("#vocals").removeClass("hover"); 
                $("#dance").removeClass("hover");  
                $("#orchestra").removeClass("hover");
                //display selected division, hide others  
                $("div#content_213").fadeIn();  
                $("div#content_209").css("display", "none");  
                $("div#content_210").css("display", "none");  
                $("div#content_211").css("display", "none"); 
                $("div#content_212").css("display", "none"); 
                $("div#content_214").css("display", "none"); 
            break;  
            case "drama":  
                //change status & style menu  
                $("#drama").addClass("hover");  
                $("#design").removeClass("hover");
                $("#band").removeClass("hover");
                $("#vocals").removeClass("hover"); 
                $("#dance").removeClass("hover");  
                $("#orchestra").removeClass("hover");
                //display selected division, hide others  
                $("div#content_214").fadeIn();  
                $("div#content_209").css("display", "none");  
                $("div#content_210").css("display", "none");  
                $("div#content_211").css("display", "none"); 
                $("div#content_212").css("display", "none"); 
                $("div#content_213").css("display", "none"); 
            break;  
            } 
        return false;  
    });  
    
    
    $(".messages_menu > li").click(function(){  
    var id = this.id;
       switch(id){  
            case "sunday":  
                //change status & style menu  
                $("#recent_message").show();
                $("#sunday").addClass("hover");
                $("#wednesday").removeClass("hover");  
                $("#special").removeClass("hover");
                $("#twenty20").removeClass("hover");  
                $("#impact").removeClass("hover");
                //display selected division, hide others  
                $(".sunday").fadeIn();  
                $(".special").css("display", "none");
                $(".wednesday").css("display", "none"); 
                $(".twenty20").css("display", "none");  
                $(".impact").css("display", "none"); 
            break;  
            case "wednesday":  
                //change status & style menu  
                $("#recent_message").hide();
                $("#wednesday").addClass("hover")
                $("#sunday").removeClass("hover");  
                $("#special").removeClass("hover");
                $("#twenty20").removeClass("hover");  
                $("#impact").removeClass("hover");
                //display selected division, hide others  
                $(".wednesday").fadeIn();  
                $(".sunday").css("display", "none");
                $(".special").css("display", "none"); 
                $(".twenty20").css("display", "none");  
                $(".impact").css("display", "none"); 
            break; 
            case "special":  
                //change status & style menu  
                $("#recent_message").hide();
                $("#special").addClass("hover");  
                $("#sunday").removeClass("hover");
                $("#wednesday").removeClass("hover");
                $("#twenty20").removeClass("hover");  
                $("#impact").removeClass("hover");
                //display selected division, hide others  
                $(".special").fadeIn();  
                $(".sunday").css("display", "none"); 
                $(".wednesday").css("display", "none"); 
                $(".twenty20").css("display", "none");  
                $(".impact").css("display", "none"); 
            break;  
            case "twenty20":  
                //change status & style menu  
                $("#recent_message").hide();
                $("#twenty20").addClass("hover");  
                $("#wednesday").removeClass("hover");
                $("#sunday").removeClass("hover");
                $("#special").removeClass("hover");  
                $("#impact").removeClass("hover");
                //display selected division, hide others  
                $(".twenty20").fadeIn();  
                $(".sunday").css("display", "none"); 
                $(".wednesday").css("display", "none"); 
                $(".special").css("display", "none");  
                $(".impact").css("display", "none"); 
            break;   
            case "impact":  
                //change status & style menu  
                $("#recent_message").hide();
                $("#impact").addClass("hover");  
                $("#wednesday").removeClass("hover");
                $("#sunday").removeClass("hover");
                $("#special").removeClass("hover");  
                $("#twenty20").removeClass("hover");
                //display selected division, hide others  
                $(".impact").fadeIn();  
                $(".sunday").css("display", "none"); 
                $(".wednesday").css("display", "none"); 
                $(".special").css("display", "none");  
                $(".twenty20").css("display", "none"); 
            break;    
            } 
        return false;  
    });  
});  