<%@page import="org.springframework.context.i18n.LocaleContextHolder"%>
<%@include file="/WEB-INF/includeTemplate.inc"%>
<%@ taglib prefix="spring" uri="/WEB-INF/tld/spring.tld"%>
<%@ taglib uri="/WEB-INF/tld/tiles-jsp.tld" prefix="tiles"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="idiomaMovil">${idiomaMovil}</c:set>
<c:set var="idiomaNavegacion"><%=LocaleContextHolder.getLocale().getLanguage() %></c:set>
	<!-- Navigation -->
	<div class="container navbar navbar-fijo">
        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="menuBobinas">
            <ul class="nav navbar-nav navbar-right">
                <li class="hidden">
                    <a href="#page-top"></a>
                </li>
                <li>
                    <a class="page-scroll" href="#introduccion"><spring:message code="menu.introduccion"/></a>
                </li>
                <li>
                    <a class="page-scroll" href="#documentacion"><spring:message code="menu.recomendaciones"/></a>
                </li>
                <li>
                    <a class="page-scroll" href="#calculo"><spring:message code="menu.calculo"/></a>
                </li>  
                <c:if test="${idiomaMovil == true }">                           
                    <c:if test="${idiomaNavegacion == 'es'}">
	                <li>
	                    <a class="page-scroll" onclick="cambiarIdioma('eu')"  onkeypress="cambiarIdioma('eu')">
	                    <spring:message code="menu.idioma.es"/>
	                    </a>
	                </li>
	                </c:if>
	                <c:if test="${idiomaNavegacion == 'eu'}">
	                <li>
	                    <a class="page-scroll" onclick="cambiarIdioma('es')"  onkeypress="cambiarIdioma('es')">
	                    <spring:message code="menu.idioma.eu"/>
	                    </a>
	                </li>
	                </c:if>
                </c:if>
            </ul>
        </div>
        <!-- /.navbar-collapse -->
    </div>

<!-- Inicio Header -->
  <header>
    <div class="container">
        <div class="intro-text">
            <div class="intro-lead-in"><spring:message code="intro.mensaje"/></div>
            <!--<a href="#introduccion" class="page-scroll btn btn-xl">Entrar</a>-->
<!--<a href="#introduccion" class="btn btn-primary btn-md boton formaBoton">Entrar</a>-->
        </div>
    </div>
</header>
<!-- Fin Header -->