function rotateDivContent(){$('.rotatable.shown').each(function(){if($(this).siblings('.rotatable.hidden').length){$(this).fadeOut(700,function(){var hidden=$(this).siblings('.rotatable.hidden');var toShow=hidden[0|(Math.random()*hidden.length)];$(toShow).fadeIn(700).removeClass('hidden').addClass('shown');$(this).hide().removeClass('shown').addClass('hidden');});}});setTimeout(rotateDivContent,6000);}
$(document).ready(function(){setTimeout(rotateDivContent,6000);});
