function open_lesson(id) {
            if (jQuery('#descr_'+id).css("display") == "block") 
            {
                jQuery('#title_lesson_'+id).css("background-image", "url(static/images/black_arrow_act.gif)");
                jQuery('#show_'+id).text("Show details");
                jQuery('#descr_'+id).css("display", "none");
                jQuery('#big_'+id).css("display", "none");
               
            }
            else {
                jQuery('#title_lesson_'+id).css("background-image", "url(static/images/black_arrow.gif)");
                jQuery('#show_'+id).text("Hide details");
                jQuery('#descr_'+id).css("display", "block");
                jQuery('#big_'+id).css("display", "block");
               
            }
        }
		
		function open_all() {
				jQuery('#hideall').html('<a href="javascript:void(0)" onclick="hide_all();return false;">Hide All</a>');
				jQuery('#showall').html('Show All');
				jQuery('[id^=show_p]').text("Hide details");
                jQuery('[id^=desc_p]').css("display", "");
            }
		function hide_all(){
            	jQuery('#showall').html('<a href="javascript:void(0)" onclick="open_all();return false;">Show All</a>');
				jQuery('#hideall').html('Hide All');
                jQuery('[id^=show_p]').text("Show details");
                jQuery('[id^=desc_p]').css("display", "none");
         }
		
        function open_tr(id) {
            if (jQuery('#desc_' + id).css("display") == "none") 
            {
				jQuery('#show_' + id).text("Hide details");
                jQuery('#desc_' + id).css("display", "");
            }
            else 
            {
                jQuery('#show_' + id).text("Show details");
                jQuery('#desc_' + id).css("display", "none");
            }
        }
        function open_menu(id) {            
            if (jQuery('#menu_' + id).css("display") == "none") jQuery('[id^=menu_]').slideUp('slow');
            jQuery('#menu_' + id).slideToggle('slow');            /*	alert('o_'+id);                //jQuery('[id^=menu_]').slideUp(500);
//                jQuery('#menu_' + id).css("display", "block");  				jQuery('#menu_' + id).slideDown();  	
  				jQuery('descr_1').slideDown(1000);			 
            }
            else {
               // jQuery('#menu_' + id).css("display", "none");
                alert(id);                jQuery('#menu_' + id).slideUp(500);
            } */
            
        }
        
        
        //-------------------------------
        
        
        function open_lesson2() {
            if (jQuery('#desc').css("display") == "block") 
            {
                jQuery('#title_lesson').css("background-image", "url(/static/images/black_arrow_act.gif)");
                jQuery('#show').text("Show details");
                jQuery('#desc').css("display", "none");
                jQuery('#big').css("display", "none");
               
            }
            else {
                jQuery('#title_lesson').css("background-image", "url(/static/images/black_arrow.gif)");
                jQuery('#show').text("Hide details");
                jQuery('#desc').css("display", "block");
                jQuery('#big').css("display", "block");
               
            }
        }
         
        function open_cat(id) {
            if (jQuery('#desc_' + id).css("display") == "none") 
            {
                jQuery('#title_cat_' + id).css("background", "url(/static/images/black_arrow.gif) no-repeat left center");
                jQuery('#show_' + id).text("Hide details");
                jQuery('#desc_' + id).css("display", ""); 
                jQuery('#video_' + id).css("display", "");
            }
            else 
            {
                jQuery('#title_cat_' + id).css("background", "url(/static/images/black_arrow_act.gif) no-repeat left center");
                jQuery('#show_' + id).text("Show details");
                jQuery('#desc_' + id).css("display", "none"); 
                jQuery('#video_' + id).css("display", "none");
            }
        } 
          
       function open_content() { 
                jQuery('#s_content').hide();
                jQuery('#full_content').show();
       } 
       function hide_content() { 
                jQuery('#s_content').show();
                jQuery('#full_content').hide();
       }
       function open_over_menu(i)
		{
			return false;
		};
       