rem: do { var page = prompt("Goto Page (1 - " + att.pt + "):", 1);  } while ((page != null) && ((isNaN(page)) || (page < 1) || (page > att.pt))); 
add: if ( details == null ) { details = 1; }  if ( page && page.indexOf('-') == 0 ) { if ( dlParams.pn.value > 1 ) { page = Math.max(parseInt(dlParams.pn.value) - parseInt(page.slice(1)), 1); dlParams.pn.value = page; display(details); } else { alert("You are already on the first page!"); } 
context: function page(keepArea) {	do {    	var page = prompt("Goto Page (1 - " + att.pt + "):", 1);    		} while ((page != null) && ((isNaN(page)) || (page < 1) || (page > att.pt)));   	if ((page != null) && (page != att.pn)) {		att.pn = page;		loadPicture(0, keepArea);	}}
meta: 7747	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7747/6647ba133248cf61073719823eeb5c62a8aa0eaa/pagesTotal.js/buggy/client/digitallibrary/modules/pagesTotal.js