function divcycle_next_div(domselector) {
  var max = $(domselector).children("div.item").length;
  $(domselector).children("div.item").each(function(i) {
    if (i == max - 2) {
      $(this).show();
    }
    if (i == max - 1) {
      $(this).fadeOut(1500, function() { 
        $(this).prependTo(domselector);
        setTimeout("divcycle_next_div('"+domselector+"')", 3500); 
      });
    }
  });
}
