jQuery(document).ready(function($) {

//reveal - hide authors About in sidebar

   $('.aboutAuth').toggle(function(){
      $('#aboutAuthors').css("background-image", "url(http://newathoovers.com/wp/wp-content/themes/hoovLatelyV1/images/blue-minusBox.jpg)");
    },function(){
      $('#aboutAuthors').css("background-image", "url(http://newathoovers.com/wp/wp-content/themes/hoovLatelyV1/images/blue-plusBox.jpg)");
    });
   $('.aboutAuth').bind('click', function() {
   $('#hiddenAboutAuth').toggle(300); return false;
   });


	$('img.Duran').attr('src','http://newathoovers.com/wp/wp-content/themes/hoovLatelyV1/images/white-box.gif');


//Featured Text Fader

var jS = $('div.featuredContent');
	jS.hide(); // not needed if css hides elements initially
var i = 0;

function do_ticker() {
  jS.eq(i).fadeIn(2000, function() {
    var me = $(this);
    setTimeout(function() { me.fadeOut(2000,
      function() {
        i = ++i % jS.length;
        do_ticker();
      });
    },3000); // setTimeout
  });
};
do_ticker();

// new window script

//$('.roiToolsBox a').click(function() {
//	window.open(this.href);
//	return false;
//	});



});


