$(window).load(function() {
	var total = $('#slider img').length;
	var rand = Math.floor(Math.random()*total);
	$('#slider').nivoSlider({
	    controlNav:false,
	    pauseTime:7000,
	    startSlide:rand,
	    directionNav:true,
	    directionNavHide:false,
	    pauseOnHover:false,
		nextText:'',
		prevText:''
	});
	$(".view-display-id-block_1 .item-list").jCarouselLite({
	    auto: 1000,
	    speed: 1000,
	    circular:true,
	    visible:1,
	    pause: true,
	});
});

