        if (option.position === 'top' || option.position === 'bottom') {
            div.style.width = percent;
        }
        if (option.position === 'left' || option.position === 'right') {
            div.style.height = percent;
        }
    });

    div.style.backgroundColor = option.color;
    progress.setAttribute('class', 'scroll_progress');
    progress.appendChild(div);
    dom.appendChild(progress);
}

window.ScrollProgress = ScrollProgress;

    </script>

    <!-- NAVBAR -->
    <script src=