window.onload = function () {
$('#header ul:not(.first) li').css({display:'none'});
$('.slideshow').css({display:'none'});

function outer(){
var a = 0;
function inner(){
	if(a===$('#header ul:not(.first) li').length){
     $('.slideshow').fadeIn(1000, function() {
       	$('.slideshow').cycle({
			fx: 'fade',
			timeout: 75 
		});
      });
	return;
	}
	$('#header ul:not(.first) li').eq(a).fadeIn(75,function(){fader();});
	a++;
	}
return inner;
}

var fader = outer();
fader();
};

$('body').animate({scrollTop:0}, 'slow'); 