Opens in a new tab
function updateHeaderHeight() {
        // Get the height of #brx-header
        const headerHeight = document.querySelector('#brx-header').offsetHeight;
          
        // Store the height in the CSS custom property --header-height
        document.documentElement.style.setProperty('--brxw-header-height', headerHeight + 'px');
    }

    // Execute the function as soon as the document is ready
    document.addEventListener('DOMContentLoaded', function() {
        updateHeaderHeight();  // Initial update of header height when the document is ready

        // Update the header height on window resize and orientation change
        window.addEventListener('resize', updateHeaderHeight);
        window.addEventListener('orientationchange', updateHeaderHeight);
});

Thursday, August 19 2021, 3.17pm

The driver of the Toyota Yaris vehicle killed in a traffic accident early on Tuesday morning in Formentera, had crossed over into the oncoming lane and collided with the second vehicle, a Mini, injuring four young people who were travelling in the car. This was confirmed yesterday by Guardia Civil sources as they continue inquiries to determine the reason for the violent head-on collision. The deceased young man, 21 years years old, was of Ecuadorian origin and helped his father in a hammock showroom in the area of s’Arenal beach, according to a person close to the family. Both he and the driver of the second car were given breathalyser tests at the hospital, but the results will be sent directly to the court.