
  $('.tri-column').hover(function() {
  $('#slider').fadeTo('slow', 0.0) 
    // Animation complete.
  });


    // Demo functions
    // **************
    $(function(){

    
      





      // Add a slide
      var imageNumber = 1;
      $('button.add').click(function(){
        $('#slider1')
          .append('<li><img src="images/slide-tele-' + (++imageNumber%2 + 1)  + '.jpg" alt="" /></li>')
          .anythingSlider(); // update the slider
      });
      $('button.remove').click(function(){
        if ($('#slider1').data('AnythingSlider').pages > 1) {
          $('#slider1 > li:not(.cloned):last').remove();
          $('#slider1').anythingSlider(); // update the slider
        }
      });

    });

    // Set up Sliders
    // **************
    $(function(){



      $('#slider2').anythingSlider({
    
        resizeContents      : false, // If true, solitary images/objects in the panel will expand to fit the viewport
        autoPlay			: true,
        delay               : 4500,
         buildNavigation     : false, 
         buildArrows         : false, 
         
         animationTime       : 850,  

pauseOnHover        : true,     
        //startStopped        : false,  // If autoPlay is on, this can force it to start stopped
        navigationFormatter : function(index, panel){ // Format navigation labels with text
          return ['', '', '', '', ''][index - 1];
        }
      });

    });
 

