jQuery(document).ready(function() {
    jQuery('#slider').cycle({
		fx:     'scrollHorz',
    prev:   '#prev',
    next:   '#next',
    speed:  1000,
    random:  0,
    pause: 1,
    timeout: 8000

	});

  jQuery('.slider-controls').hover(function() {
		jQuery(this).animate({
      opacity:1},200);
			}, function() {
		jQuery(this).animate({
      opacity:.40},200);
    });

  jQuery('#sidebar1, #sidebar-content-bottom').find('.widgit-area').hover(function() {
   // jQuery(this).find("h3, h3 a").css('color','#2C7513');
    jQuery(this).find("h3").css('background-image', 'url(/wp-content/themes/ebfg/images/widget-header-stripe-g.png)');
    }, function() {
       //   jQuery(this).find("h3").css('color','#fff');
          jQuery(this).find("h3").css('background-image', 'url(/wp-content/themes/ebfg/images/widget-header-stripe.png)');
});

  jQuery('#events-reading-key').click(function() {
    jQuery('#events-key').toggle('slow', function() {
    // Animation complete.
    });
  });

});
