    var pause = false;
    
    $(document).ready(function() {
    
      $("#more td.active, .showpod, #contents, .linked").hover(
        function () {
          $(this).addClass('h');
        }, 
        function () {
          $(this).removeClass('h');
        }
      );
      
      $("#more td.active, .showpod, #contents, .linked").click(
        function () {
          document.location = $(this).find('a').attr('href');
        }
      );
    
      setTimeout('flip()',5000);
    
    
      $('#player .contents').hover(
        function() {
          pause = true;
        },
        function() {
          pause = false;
        }
      );
    
    });
    
    
    function flip() {
    
      if(pause == false) {
        var c = $('.showpod:visible');
        if (c.length > 1) {
        
          $('.showpod:visible:last').fadeOut(500);
          
        } else {
          $('.showpod').fadeIn(500);
        }
      }  
      
      setTimeout('flip()',5000);
      
      
    }
