$(document).ready(function() {
			$('.video-category-selector').each(function() {
				var container = $(this);
                var label = $('.video-selector-label', container);
				$(container).hover(function() {
                    label.addClass('actSel');
					$('.video-menu-overlay', container).addClass('video-menu-subact');
					}, function() {
                        label.removeClass('actSel');
					$('.video-menu-overlay', container).removeClass('video-menu-subact');
            });	
		});
});
$(document).ready(function() {
    
   var container = $('.simpleSelector');
   container.each(function(s, i){
       
       var this_con = $(this);
       this_con.css('zIndex', 5-s);
       this_con.click(function(){
           $(this)
               .hover(
                   function(){},
                   function(){
                       $('.simpleSubSel', $(this)).hide();
                   });
                   
           $('.simpleSubSel', this_con)
               .show()
               .hover(
                   function(){},
                   function(){
                       $(this).hide();
                   }
               );
       },
       function(){
           $('.simpleSubSel', this_con).hide();
       }
       );
   }); 
});