<#-- $This file is distributed under the terms of the license in LICENSE$ -->
<#import "lib-home-page.ftl" as lh>
</div> <!-- #wrapper-content -->

<footer role="contentinfo">

<div id="footerWrapper">
    <p class="copyright">
        <#if copyright??>
            <small>&copy;${copyright.year?c}
            <#if copyright.url??>
                <a href="${copyright.url}" title="${i18n().menu_copyright}">${copyright.text}</a>
            <#else>
                ${copyright.text}
            </#if>
              <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/4.0/"><img alt="Creative Commons" style="border-width:0;" src="https://i.creativecommons.org/l/by-nc-nd/4.0/80x15.png" /></a></small> 
        </#if>
         <a class="powered-by-vivo" href="http://vivoweb.org" target="_blank" title="${i18n().menu_powered} VIVO">Powered by  <strong>VIVO</strong></a>
        <#if user.hasRevisionInfoAccess>
              ${i18n().menu_version} <a href="${version.moreInfoUrl}" title="${i18n().menu_version}">${version.label}</a>
        </#if>
    </p>

 	<#--  <nav role="navigation">
	 <ul id="footer-nav" role="list">
            <li role="listitem"><a href="${urls.about}" title="${i18n().menu_about}">${i18n().menu_about}</a></li>-->
           <#-- <#if urls.contact??>
                <li role="listitem"><a href="${urls.contact}" title="${i18n().menu_contactus}">${i18n().menu_contactus}</a></li>
            </#if>
            <li role="listitem"><a href="http://www.vivoweb.org/support" target="blank" title="${i18n().menu_support}">${i18n().menu_support}</a></li> -->
        </ul>
    </nav>
<button id="scrollToTopBtn">${i18n().scroll_to_top_label}</button>
<script>
    var scrollToTopBtn = document.getElementById("scrollToTopBtn");
	var rootElement = document.documentElement;
	function scrollToTop() {
  	  rootElement.scrollTo({
        top: 0,
        behavior: "smooth"
 	  });
	}
	scrollToTopBtn.addEventListener("click", scrollToTop)
</script>
</div>
</footer>

<#include "scripts.ftl">
