anchor.diff:  
   StringFormatter fmt = results.getWbRequest().getFormatter();
   %>
  +<jsp:include page="/WEB-INF/global-template/UI-header.jsp" flush="true" />
   
  -<h2><%= fmt.format(e.getTitleKey()) %></h2>
  -<p><b><%= fmt.format(e.getMessageKey(),e.getMessage()) %></b></p>
  +        <div id="positionHome">
  +            <section>
  +            <div id="logoHome">
  +                <h1><span>Internet Archive's Wayback Machine</span></h1>
  +            </div>
  +            </section>
  +            <section>
  +            <div id="searchHome">
  +                <form name="form1" method="get" action="<%= queryPrefix %>query">
  +					<input type="hidden" name="<%= WaybackRequest.REQUEST_TYPE %>" value="<%= WaybackRequest.REQUEST_CAPTURE_QUERY %>">
  +					<input type="text" name="<%= WaybackRequest.REQUEST_URL %>" value="http://" size="40">
  +                    <button type="submit" name="Submit">Go Wayback!</button>
  +                </form>
  +                <div id="searchAdvHome">
  +                    <a href="[ADVANCED SEARCH]">Advanced Search</a>
  +                </div>
  +            </div>
  +            </section>
  +            <section>
  +            <div id="error">
  +
  +                <h2><%= fmt.format(e.getTitleKey()) %></h2>
  +                <p><%= fmt.format(e.getMessageKey(),e.getMessage()) %></p>
   <%
   if(e instanceof ResourceNotInArchiveException) {
   	ResourceNotInArchiveException niae = (ResourceNotInArchiveException) e;
   	List<String> closeMatches = niae.getCloseMatches();
   	if(closeMatches != null && !closeMatches.isEmpty()) {
   %>
  -		<p>
  -		Other possible close matches to try:<br></br>
  +		        <p>Other possible close matches to try:</p>
  +		        <p>
   <%
   		WaybackRequest tmp = wbr.clone();
   		for(String closeMatch : closeMatches) {
  
positive.code: 			String link = queryPrefix + "query?" +
  				tmp.getQueryArguments();
  %>
  			<a href="<%= link %>"><%= closeMatch %></a><br>
  <%
  		}
  	}
  
negative.code: 		String escapedLink = fmt.escapeHtml(link);
  		String escapedParentUrl = fmt.escapeHtml(parentUrl);
  		%>
  		        </p>
  		        <p>More options:</p>
  			    <p>Try Searching all pages under <a href="<%= escapedLink %>"><%= escapedParentUrl %></a></p>
  		<%
  	}
  } else if(e instanceof ResourceNotAvailableException) {
  %>
  	<div class="wm-nav-link-div">
  	<%
  	ResourceNotAvailableException rnae = (ResourceNotAvailableException) e;
  	
  	CaptureSearchResults cResults = rnae.getCaptureSearchResults();
  	Iterator<CaptureSearchResult> itr = cResults.iterator();
  	CaptureSearchResult prev = null;
  	CaptureSearchResult next = null;
  	while(itr.hasNext()) {
  		CaptureSearchResult cur = itr.next();
  		if(cur.isClosest()) {
  			break;
  		}
  		prev = cur;
  	}
  	if(itr.hasNext()) {
  		next = itr.next();
  	}
  	if((prev != null) || (next != null)) {
  		String dateFormat = "{0,date,MMMM dd, yyyy HH:mm:ss}";
  		ResultURIConverter conv = wbr.getAccessPoint().getUriConverter();
  		%>
  		<div>Or try another close version:</div>
  		<%
  		if(prev != null) {
  			String safePrevReplay = fmt.escapeHtml(conv.makeReplayURI(prev.getCaptureTimestamp(),prev.getOriginalUrl()));
  			%>
  			<div>Previous:<a href="<%= safePrevReplay %>"><%= fmt.format(dateFormat,prev.getCaptureDate())%></a></div>
  			<%
  		}
  		if(next != null) {
  			String safeNextReplay = fmt.escapeHtml(conv.makeReplayURI(next.getCaptureTimestamp(),next.getOriginalUrl()));
  			%>
  			<div>Next:<a href="<%= safeNextReplay %>"><%= fmt.format(dateFormat,next.getCaptureDate())%></a></div>
  			<%
  		}
  	}
  	%>
  	</div>
  <%
  }
  %>
  
              </div>
              </section>
              <div id="errorBorder"></div>
  
  <jsp:include page="/WEB-INF/global-template/UI-footer.jsp" flush="true" />