Set div height dinamically to window height
////////////////////////////////////////
// SET HEADER MEDIA HEIGHT
////////////////////////////////////////
jQuery(document).ready( function($) {
// get the view height
var VH = $(window).height();
// set the height
function set_header_height() {
$('#header_media').css('height', VH + 'px');
}
// reset height on window resize
$(window).resize(function() {
set_header_height();
});
});