   $(document).ready(function() {
      var first=0;
      var last=$('.hazem div').length-1;
      var cont=0;
        $('.hazem div').not($('.hazem div').eq(cont)).hide().fadeOut('slow');
        $('.hazem div').eq(cont).show().fadeIn('slow');
  cont++;
  var auto_refresh = setInterval(function (){

     $('.hazem div').not($('.hazem div').eq(cont)).hide().fadeOut('slow');
        $('.hazem div').eq(cont).fadeIn('slow');

        cont++;
         if(cont>last){
            cont=0;
        }

     }, 5000); // refresh every 10000 milliseconds


    });


