tance ? '&distance' : '')
                + (direction ? '&direction' : '')
                + (slope ? '&slope' : '')
                + '" width="100%" height="500" frameborder="0" allowfullscreen&gt;&lt;p&gt;&lt;a href="https://gpx.studio'
                + window.location.pathname.replace('about.html','')
                + query
                + '"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/iframe&gt;';
        }

        var toggledElement = null;
        function toggle(id) {
            const element = document.getE