var animateSpeed = 625;
var buffer = 200;
var ssg = 3200;
var innovation = ssg - 500;
var tech = ssg + 1500;
var mgmt = tech + animateSpeed + buffer;
var home = mgmt + animateSpeed + buffer;
var poly = home;
var help = home + animateSpeed + buffer*2;
var ridd = help - 150;
//var start = new Date().getSeconds();
$('#ssg').animate({ left: '96' }, ssg);
$('#innovation').delay( innovation ).fadeIn();

// Technology
$("#innovation h3").eq(0).delay( tech ).animate({color: "#fff"}, animateSpeed);
$('#main_navigation li').eq(0).delay( tech ).fadeIn(animateSpeed);

// Management
$("#innovation h3").eq(1).delay( mgmt ).animate({color: "#fff"}, animateSpeed);
$('#main_navigation li').eq(1).delay( mgmt ).fadeIn(animateSpeed);

// Policy, Help
$("#innovation h3").eq(2).delay( poly ).animate({color: "#fff"}, animateSpeed);
$('#main_navigation li').eq(2).delay(home).fadeIn(animateSpeed);
$('#main_navigation li').eq(3).delay(poly).fadeIn(animateSpeed);
$('#main_navigation li').eq(4).delay( help ).fadeIn(animateSpeed);

$('#innovation').delay( ridd ).fadeOut( animateSpeed/2, function() {
	$.getScript('_assets/js/show.js');
    $('#content').fadeIn();
    $('#li-home').delay( animateSpeed + 100 ).addClass('lihighlighted');
	$('#skip-animate').fadeOut();
});

