rem:  document.write('<a href="?' + prevPage + ',' + pages + '"><img src="/images/screenshots/back.gif"></a>'); 
add:  if (currentPage == "1") { document.write('<img src="/images/screenshots/backx.gif">'); } else { document.write('<a href="?' + prevPage + ',' + pages + '"><img src="/images/screenshots/back.gif"></a>'); } 
context: function printThumbNav() {	    var sPath = window.location.pathname;    var sPage = sPath.substring(sPath.lastIndexOf('/') + 1);            if (queryCurrentPage == 1) {        var prevPage = 1;    } else {        var prevPage = parseInt(queryCurrentPage) - 1;    }        if (queryCurrentPage == pages) {        var nextPage = pages;    } else {        var nextPage = parseInt(queryCurrentPage) + 1;    }    document.write ('<table width="700px" border="0"><tr><td>');    //document.write('<a href="?' + prevPage + ',' + pages + '">Prev</a>');    document.write('<a href="?' + prevPage + ',' + pages + '"><img src="/images/screenshots/back.gif"></a>');    document.write ('</td><td align="center">');    if (pages != 1) {        for (x = 1; x<=pages; x++) {            document.write("<a href =" + sPage +"?"+ x +","+ pages +">");                if (x == currentPage) {                document.write("<font color = #330000><b>");            }            document.write("Page " + x);            if (x == currentPage) {                document.write("</b></font>");            }            document.write("</a>");            if (x != pages) {                document.write(" | ");            }        }    }    document.write ('</td><td align="right">');    //document.write('<a href="?' + nextPage + ',' + pages + '">Next</a>');    document.write('<a href="?' + nextPage + ',' + pages + '"><img src="/images/screenshots/next.gif"></a>');    document.write ('</td></tr></table>');}
meta: 5857	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5857/523d386b80848d162578c51392d51d61bfdcaa36/imageviewer.js/clean/pages/js/imageviewer.js