$(document).ready(function() {
  
  /* HOME ANIMATION */
  function contentRotate(feature) {
	if (doAnimate) {  
	  feature.fadeOut("normal", function (feature) {
	    return function () {
		  $(".bannerset div").hide();
			
		  /* HIGHLIGHT RELEVANT CONTROL */
		 
		  /* FADE IN NEXT ITEM OR GO BACK TO FIRST */
		  feature.fadeIn("normal", function () {
		    if ($(this).attr("id") == "banner_4") {
			  setTimeout(function () {
			    contentRotate($(".bannerset div:first"));
			  }, 10000);
		    }
		    else {
		      setTimeout(function () {
			    contentRotate($(feature.next()));
			  }, 10000);
		    }
		  });
	    };
	  }(feature));
	}
  }


 

  var doAnimate = true;

  contentRotate($(".bannerset div:first"));

 
  
 
  
});
