Index: artwork.js =================================================================== --- artwork.js (revision 16911) +++ artwork.js (working copy) @@ -36,7 +36,7 @@ } function showArrows(firstOne, secondOne, lastOne) { - if (firstOne == '1') { + if (firstOne == '0') { if ($('last_cover_click')) { $('last_cover_click').onclick = emptyFunction; $('last_cover_click').src = '[% webroot %]html/images/rew.gif'; @@ -70,8 +70,8 @@ parsedData = fillDataHash(theData); showArrows(thisAlbum, thatAlbum, parsedData['last']); hideAlbumInfo(); - refreshThumb(parsedData, '1', thisAlbum); - refreshThumb(parsedData, '2', thatAlbum); + refreshThumb(parsedData, '0', thisAlbum); + refreshThumb(parsedData, '1', thatAlbum); } function refreshThumb(theData, whichOne, thatOne) { @@ -120,7 +120,7 @@ if (albumId) { lookupId = thisOne; } else { - if (thisOne == 1) { + if (thisOne == 0) { clickedItem = thisAlbum; } else { clickedItem = thatAlbum; @@ -210,7 +210,7 @@ } window.onload= function() { - artworkBrowse(blankRequest, 1, 2); + artworkBrowse(blankRequest, 0, 1); globalOnload(); } Index: browsedb.html =================================================================== --- browsedb.html (revision 16911) +++ browsedb.html (working copy) @@ -74,10 +74,10 @@ - [% INCLUDE coverTable cover = 1 %] + [% INCLUDE coverTable cover = 0 %] - [% INCLUDE coverTable cover = 2 %] + [% INCLUDE coverTable cover = 1 %] @@ -150,7 +150,7 @@ [% END %] [% BLOCK coverTable %] -[% IF cover == 1 %][% whichAlbum = 'thisAlbum' %][% ELSE %][% whichAlbum = 'thatAlbum' %][% END %] +[% IF cover == 0 %][% whichAlbum = 'thisAlbum' %][% ELSE %][% whichAlbum = 'thatAlbum' %][% END %]