$(document).ready(function(){
  $timer = 0;
  $cycles = ["div#promoMegadog", "div#cake", "div#shake", "div#promoProf", "div#cone", "div#hotdog"];
  setInterval(cycleFront, 8000);
});
function cycleFront() {
    $($cycles[$timer]).fadeOut(500, function () {
	  $timer = $timer+1;
	  if ($timer == $cycles.length) {
		 $timer = 0;
	  };
      $($cycles[$timer]).fadeIn(500);
    });
};
