
var $o = jQuery.noConflict();

$o(document).ready(function($){
	
	myFirst = Math.floor(Math.random()*$('#splash li').size());
	myFirstB1 = myFirst+1;
	$('#splashOverlay a').each(function($){$o(this).attr('href',$o('#li'+myFirstB1+' a').attr('href'))});
	$("#splash").jCarouselLite({
		visible: 1,
		speed: 1000,
		auto:4000,
		start:myFirst,
	    afterEnd: function(a) {
			$('#splashOverlay a').each(function($){$o(this).attr('href',$o('#'+a[0].id+' a').attr('href'))});
        }
	});
});
