<%-- <%@ page import="org.lordmeher.UserPlatform" %> <% //Determine browser and stash it in session UserPlatform up = (UserPlatform) session.getAttribute("up"); if (up == null) { System.out.println("Initializing UserPlatform"); up = new UserPlatform(request); session.setAttribute("up",up); } boolean ns = up.getIsNetscape(); boolean ns7 = up.getIsNetscape7(); boolean nsold = up.getIsCommunicator(); //Determine page type String pageBase = request.getParameter("pageBase"); String nextPage = request.getParameter("nextPage"); String volume = request.getParameter("volume"); String title = "Lord Meher"; if (pageBase == null || "".equals(pageBase)) { pageBase = "text.jsp"; } if (nextPage == null || "".equals(nextPage)) { nextPage = "home"; } else if ("x".equals(nextPage)) { title = title + " Volume " + volume; } if (volume == null) { volume = "1"; if (!"text.jsp".equals(pageBase)) { int pg = (Integer.valueOf(nextPage)).intValue(); if (2 <= pg && pg < 334) { volume = "1"; } else if (334 <= pg && pg < 738) { volume = "2"; } else if (738 <= pg && pg < 1154) { volume = "3"; } else if (1154 <= pg && pg < 1520) { volume = "4"; } else if (1520 <= pg && pg < 1876) { volume = "5"; } else if (1876 <= pg && pg < 2240) { volume = "6"; } else if (2240 <= pg && pg < 2722) { volume = "7"; } else if (2722 <= pg && pg < 3062) { volume = "8"; } else if (3062 <= pg && pg < 3380) { volume = "9"; } else if (3380 <= pg && pg < 3764) { volume = "10"; } else if (3764 <= pg && pg < 4118) { volume = "11"; } else if (4118 <= pg && pg < 4414) { volume = "12"; } else if (4414 <= pg && pg < 4858) { volume = "13"; } else if (4858 <= pg && pg < 5114) { volume = "14"; } else if (5114 <= pg && pg < 5474) { volume = "15"; } else if (5474 <= pg && pg < 5732) { volume = "16"; } else if (5732 <= pg && pg < 5928) { volume = "17"; } else if (5928 <= pg && pg < 6266) { volume = "18"; } else if (6266 <= pg && pg < 6464) { volume = "19"; } else if (6464 <= pg && pg <= 6742) { volume = "20"; } else { volume = "1"; } title = title + " Volume " + volume + ", Page " + nextPage; } } //System.out.println("\n\n\n\n\n"); //System.out.println("Page Base: " + pageBase); //System.out.println("Next Page: " + nextPage); //System.out.println("Volume: " + volume); %> <%= title %>
<% String menuVSpace = "2"; %>
Meher Baba copyright 1987 Charlie Mills
>



" onKeyPress="checkEnter(event, 'search')"> ">





" onKeyPress="checkEnter(event, 'page')"> ">



" onKeyPress="checkEnter(event, 'vol')"> ">











--%>