San Jose Heart Institute
<% if (strBack.length() > 0) { %> <% } %>
<% String strMenu = (String)session.getAttribute("menu"); String strStaff = (String)session.getAttribute("staff"); String strDiagnostic = (String)session.getAttribute("diagnostic"); String strTreatment = (String)session.getAttribute("treatment"); String strPrevention = (String)session.getAttribute("prevention"); String strBack = ""; String strPrefix = "../en/"; String strPage = strPrefix; if (strMenu == null || strMenu.length() == 0) { strMenu = "home"; } strPage += strMenu; if (strStaff != null && strStaff.length() > 0) { strBack = strPrefix + "index.jsp?m=" + strMenu; strPage += strStaff; } if (strTreatment != null && strTreatment.length() > 0) { strBack = strPrefix + "index.jsp?m=" + strMenu; strPage += strTreatment; } if (strDiagnostic != null && strDiagnostic.length() > 0) { strBack = strPrefix + "index.jsp?m=" + strMenu; strPage += strDiagnostic; } if (strPrevention != null && strPrevention.length() > 0) { strBack = strPrefix + "index.jsp?m=" + strMenu; strPage += strPrevention; } strPage += ".jsp"; %>