jQuery(document).ready(function($) {
var scrollTop = $(window).scrollTop();
var headerHeight = $("#header").height();
$(window).scroll(function() {
if ($(this).scrollTop()>= headerHeight) {
// header just passed
$(".logo, .social_bookmarks, .phone-info, #header_main>.container, #header_meta").fadeOut('slow');
}
else{
$(".logo, .social_bookmarks, .phone-info, #header_main>.container, #header_meta").fadeIn('fast');
}
})
})