        function play_Epansion(ID)
        {
            var url = 'EpansionPlay.php?ID='+ID;
            var a = window.open(url,ID+'Epansion','height=350,width=430,status=yes,toolbar=no,menubar=no,location=no');
        }
        function play_LeadershipTraining(ID)
        {
            var url = 'LeadershipTrainingPlay.php?ID='+ID;
            var a = window.open(url,ID+'LeadershipTraining','height=350,width=430,status=yes,toolbar=no,menubar=no,location=no');
        }
        function play_Other(ID)
        {
            var url = 'OtherPlay.php?ID='+ID;
            var a = window.open(url,ID+'Other','height=350,width=430,status=yes,toolbar=no,menubar=no,location=no');
        }
        function play_pic(ID)
        {
            var url = 'picPlay.php?ID='+ID;
            var a = window.open(url,ID+'Pic','height=590,width=780,status=yes,toolbar=no,menubar=no,location=no');
        }
        function play_Sermon(ID)
        {
            var url = 'SermonPlay.php?ID='+ID;
            var a = window.open(url,ID+'Sermon','height=350,width=430,status=yes,toolbar=no,menubar=no,location=no');
        }
        function play_Debate(ID)
        {
            var url = 'DebatePlay.php?ID='+ID;
            var a = window.open(url,ID+'Debate','height=380,width=430,status=yes,toolbar=no,menubar=no,location=no');
        }
        function play_Conferences(ID)
        {
            var url = 'ConferencesPlay.php?ID='+ID;
            var a = window.open(url,ID+'Conferences','height=380,width=430,status=yes,toolbar=no,menubar=no,location=no');
        }
        function play_Video(ID)
        {
            var url = 'VideoPlay.php?ID='+ID;
            var a = window.open(url,ID+'Video','height=520,width=650,status=yes,toolbar=no,menubar=no,location=no');
        }
        function playlink(ID)
        {
            var url = 'linksPlay.php?ID='+ID;
            var a = window.open(url,ID+'links');
        }
        function play_Songs(ID)
        {
            var url = 'SongsPlay.php?ID='+ID;
            var a = window.open(url,ID+'Songs','height=370,width=430,status=yes,toolbar=no,menubar=no,location=no');
        }
        function play_SongsAll(ID)
        {
            var url = 'SongsPlayAll.php?ID='+ID;
            var a = window.open(url,ID+'SongsAll','height=370,width=430,status=yes,toolbar=no,menubar=no,location=no');
        }



        function play_EV(ID)
        {
            var url = 'Events_come.php?ID='+ID;
            var a = window.open(url,ID+'Events_come','height=420,width=550,status=yes,toolbar=no,menubar=no,location=no');
        }
        function play_Pray(ID)
        {
            var url = 'PraySend.php?pray='+ID;
            var a = window.open(url,null,'height=390,width=500,status=yes,toolbar=no,menubar=no,location=no');
        }
       function ShowOrHide(ID)
        {
           for (i=1;i<=10;i++)
			     {
			        if(i==ID)
              {
                 $("#div_new_all_"+i).slideDown("slow");
              }
			        else 
			        {
			           $("#div_new_all_"+i).hide();
			        }
			     }   
        }
        function PrayShowOrHide(ID)
        {
            $("#Pray_toggle1_"+ID).toggle("slow");
            $("#Pray_toggle2_"+ID).toggle("slow");
			  }
        
    
  
  
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
	  // When the document loads do everything inside here ...
	  $(document).ready(function(){
		
		// When a link is clicked
		$("a.tab").click(function () {
			
			
			// switch all tabs off
			$(".active").removeClass("active");
			
			// switch this tab on
			$(this).addClass("active");
			
			// slide all content up
			$(".content").slideUp();
			
			// slide this content up
			var content_show = $(this).attr("title");
			$("#"+content_show).slideDown();
		  
		});
	
	  });
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
