function getRandomInt(min,max)
{
 return Math.round(min + Math.random()*(max-min))
}

$(document).ready(function(){
  $('#headerapp').tinycarousel({
    axis: 'y',
    duration: 2000,
    intervaltime: 5000,
    start: getRandomInt(1, 20),
    display: 1,
    interval: true,
    controls: false
  });
});

