var wizhistory = [];

function gid(id) { return document.getElementById(id); }

function gotobox(d,e){
  gid(d).style.display = "block";
  wizhistory.push(e.parentNode.getAttribute("id"));
  e.parentNode.style.display = "none";
}

function goback(e) {
  var d = wizhistory.pop();
  gid(d).style.display = "block";
  e.parentNode.style.display = "none";
}

function randint(a,b) { var c=(b-a)+1;return (Math.ceil(Math.random()*c)+a-1); }
