     hrTop.style.width = totalWidth + 'px';
                hrBottom.style.width = totalWidth + 'px';
            }

            setHrWidth();
            window.addEventListener('resize', setHrWidth);
        });
    </script>
</body>

</html>