//<!-- hide script
var x = -1;                             // set x to -1 as default (go back 1 page)
var clicked = false;                 // set clicked to false as default (not clicked)
function previousPage() {
if (clicked) history.go(x);        // if 'Top' button was clicked, go back x pages in history list
    else history.back();             // otherwise, go back one page in history list
}
function changeX() {
x--;                                         // 'Top' button was clicked, so decrement x
clicked = true;                         // and set it as true so that click won't be considered part of the history list
}
// -->
