/**
 * @author philipp.paul
 */
(function($) {
var elm, h;
$(function() {
	elm = $('#navPrimary');
	h 	= elm.outerHeight();
	
	elm.css({
	height: 0,
	paddingTop: h,
	overflow: 'hidden'
	});
	$(window).bind('load', function() {
	setTimeout(animateElm, 1);
	});
});
function animateElm() {
	elm.animate({
	paddingTop: 0,
	height: h
	}, {
	duration: 1000,
	complete: function() {
		elm.removeAttr('style')
	}
	});
}
})(jQuery);
