# wedding

<%! int getNThumbs() { return nThumbs == void ? 7 : nThumbs; } String relPage(int rel) { int i = imageNum-1+rel; if (i<0) i = 0; if (i>=files.length) i = files.length-1; Map vars = (Map)fileVariables.get(files[i]); return vars.get("currentPage"); } void makeThumbLinks() { nThumbs = getNThumbs(); int curr = imageNum-1; int start = 0; if (nThumbs < totalImages) { start = curr-nThumbs/2; if (start < 0) start = 0; else if (start+nThumbs >= totalImages) start = totalImages-nThumbs; } for (int i=start; (i<start+nThumbs) && (i<totalImages); i++) { // out.print(i + " "); Map vars = (Map)fileVariables.get(files[i]); out.println("<td align=\"center\">" + ""); } } %>

<%=makeThumbLinks() %>

| $imageNum/$totalImages |
| $comment |

$generator | Lantz Design | Sponsor CE