Right now on my current website, I have it going through the pictures in the order of the array, but I would like it so whenever the user refreshes the website, the slideshow randomly shuffles the pictures in a different order.

<script type="text/javascript">
var imgs = [
var cnt = imgs.length;

$(function() {
setInterval(Slider, 3000);

function Slider() {
$('#imageSlide').fadeOut("slow", function() {
// the source of the problem
$(this).attr('src', imgs[Math.floor (Math.random( ) * imgs.length) % cnt]).fadeIn("slow");

Any help is appreciated! =]