rem:  var oldpn = parseInt(getParameter("pn")); setParameter("pn", gopage, true); var pn = parseInt(getParameter("pn")); if (pn < 1) { alert("No such page! (Page number too low)"); setParameter("pn", oldpn); return; } if (hasParameter("pt")) { pt = parseInt(getParameter("pt")) if (pn > pt) { alert("No such page! (Page number too high)"); setParameter("pn", oldpn); return; } } if (keep) { display(15 + 32); } else { display(3  + 32); } 
add:  var oldpn = parseInt(getParameter("pn")); setParameter("pn", gopage, true); var pn = parseInt(getParameter("pn")); if (pn < 1) { alert("No such page! (Page number too low)"); setParameter("pn", oldpn); return; } if (hasParameter("pt")) { pt = parseInt(getParameter("pt")) if (pn > pt) { alert("No such page! (Page number too high)"); setParameter("pn", oldpn); return; } } if (keep) { display(PARAM_ALL & ~PARAM_MARK); } else { display(PARAM_FILE | PARAM_MODE | PARAM_PAGES);   } 
context: function gotoPage(gopage, keep) {	// goto given page nr (+/-: relative)	var oldpn = parseInt(getParameter("pn"));	setParameter("pn", gopage, true);	var pn = parseInt(getParameter("pn"));	if (pn < 1) {		alert("No such page! (Page number too low)");		setParameter("pn", oldpn);		return;	}	if (hasParameter("pt")) {		pt = parseInt(getParameter("pt"))		if (pn > pt) {			alert("No such page! (Page number too high)");			setParameter("pn", oldpn);			return;		}	}	if (keep) {		display(15 + 32); // all, no mark	} else {			display(3  + 32); // fn, pn, ws, mo + pt	}}
meta: 7747	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7747/b558443abc997acd0db2f5f940a087d1a2056c8e/dllib.js/clean/client/digitallibrary/greyskin/dllib.js