Array.prototype.shuffle = function() {
	var s = [];
	while (this.length) s.push(this.splice(Math.random() * this.length, 1)[0]);
	while (s.length) this.push(s.pop());
	return this;
}

$(document).ready(function() {

	var images = [];
	
	for (var i = 1; i < 6; i++) {
		images.push({ src: 'http://www.medarbetarenorr.se/img/mot/' + i + '.jpg' });
	}

	images.shuffle();

	$('#webimage').crossSlide({ sleep: 8, fade: 2}, images);

});

	
