window.onload = function () {
  hideOptions();
}

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/**
 * 
 */
function about() {
  alert('Uses Decks database to build random vocab quiz. Good luck!\n\nDecks: http://www.bryanesmith.com/hundredapps/apps/decks/\n\nHundredApps: http://www.bryanesmith.com/hundredapps/\n\nPsst! You can cheat by tweaking the URL.');
  return false;
}

function showOptions() {
  document.getElementById('options').style.display = 'block';
  document.getElementById('options-link').innerHTML = '<a href="none" onclick="return hideOptions();">&laquo; Hide quiz options</a>';
  
  return false;
}

function hideOptions() {
  document.getElementById('options').style.display = 'none';
  document.getElementById('options-link').innerHTML = '<a href="none" onclick="return showOptions();">Show quiz options &raquo;</a>';
  
  return false;
}