rem: if ((page != null) && (page != att.pn)) { att.pn = page; loadPicture(0, keepArea); } 
add: } else if ( page && page.indexOf('+') == 0 ) { if ( parseInt(dlParams.pn.value) < parseInt(dlParams.pt.value) ) { page = Math.min(parseInt(dlParams.pn.value) + parseInt(page.slice(1)), dlParams.pt.value); dlParams.pn.value = page; display(details); } else { alert("You are already on the last page!"); } } else if ( page && page == parseInt(page) ) { if ( (page > 0) && (page <= parseInt(dlParams.pt.value)) ) { dlParams.pn.value = parseInt(page); display(details); } else { alert ("Illegal page number (1 - " + dlParams.pt.value + ")!"); } }  
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