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);
});

Anunturi publice

noiembrie 2, 2026

ANUNȚ. Vânzare Opel Astra J 1.7 OPC Line.

Recent adusa din Austria. An 2011. Caracteristici tehnice: Motor 1.7 diesel. Au fost schimbate: distributia, pompa de apa, filtrele, discurile si placutele de frana. Necesita baterie noua. Dotari Incalzire in…
noiembrie 2, 2026

ANUNȚ. VÂND VW Tiguan

An fabricatie 2012 Motorizare 2.0 TDI 4 MOTION Cutie viteza6+1 manual Tractiune integrala 4x4 Km-235000 Dotari si echipamente: Dublu climatronic, Scaune incalzite, Parcare automata, Senzori parcare fata spate, Volan reglabil,…
septembrie 15, 2026

Anunt public