} else {
if (page >= 0 && page < pages.length) {
content.clear();
annPanel.clearAnnotations();
addMessage();
currentImage = new ScalableImage(pages[page],
SCALES[currentScale]);
if (sourceHints.containsKey(page)) {
annPanel.setAnnotations(sourceHints.get(page));
annPanel.setAnnotationsVisibility(false);
currentImage.addLoadHandler(new LoadHandler() {