    
$(document).ready(function(){
  image_count = $("#banner div").hide().size(); // Zählt die DIVs im DOM durch
  current_image = Math.floor(Math.random()*image_count) // Zufallszahl zwischen 0 und Anzahl der Bild DIVs
  $("#banner div:eq("+current_image+")").show(); // setzt display:none auf display:block
  active = setInterval(feature_rotate,7000); // natives JS Interval  
});

function feature_rotate() {
  old_image = current_image%image_count; // Modulo-Division ergibt Rest
  new_image = ++current_image%image_count; // Count Up um 1 mit Modulo-Division
  $("#banner div:eq(" + new_image + ")").fadeIn("slow", function() {
    $("#banner div:eq(" + old_image + ")").fadeOut("slow");
  });

}   
