preloader
var perfData = window.performance.timing,
EstimatedTime = -(perfData.loadEventEnd - perfData.navigationStart),
loadTime = parseInt((EstimatedTime/1000)%60)*100;
console.log(loadTime);
jQuery('.intro-line').animate({
width: "100%"
}, loadTime, function() {
jQuery('.intro-half-top').css({
top: '-100%'
});
jQuery('.intro-half-bottom').css({
bottom: '-100%'
});
jQuery('.intro-bg').css({
opacity: '0'
});
jQuery('.intro-line').hide();
setTimeout(function() {
jQuery('.intro-container').remove();
}, 700)
});