function controls(state, object) {
  if (eval("ArrPages[nPage]." + state) === true && $(object).css("display") === "none") {
    $(object).css("display", "block");
  } else if (eval("ArrPages[nPage]." + state) === false && $(object).css("display") === "block") {
    $(object).css("display", "none");
  }
}
// function that checks if the buttons should be shown or hidden
function that checks if the buttons should be shown or hidden
function that checks if the buttons should be shown or hidden
function controls(state, object) {
  if (eval("ArrPages[nPage]." + state) === true && $(object).css("display") === "none") {
    $(object).css("display", "block");
  } else if (eval("ArrPages[nPage]." + state) === false && $(object).css("display") === "block") {
    $(object).css("display", "none");
  }
}
function controls ( state , object ) { if ( eval ( "ArrPages[nPage]." + state ) === true && $ ( object ) . css ( "display" ) === "none" ) { $ ( object ) . css ( "display" , "block" ) ; } else if ( eval ( "ArrPages[nPage]." + state ) === false && $ ( object ) . css ( "display" ) === "block" ) { $ ( object ) . css ( "display" , "none" ) ; } }
function that checks if the buttons should be shown or hidden
function that checks if the buttons should be shown or hidden