﻿Instructions.prototype = new BasePage();
Instructions.prototype.constructor = Instructions;

function Instructions(pageID)
{
   BasePage.call(this, pageID);
}

Instructions.prototype.setContent = function()
{
    var n = this.holder;
    var ph = new PageHeader("Instructions Page");
    var a1 = new Button("Main Page", Pages.INTRO, "button1");
    var a2 = new Button("Play Game", Pages.GAME, "button2");
    var content = enTag('p', "Click the button and stuff");

    n.appendChild(ph);
    n.appendChild(content);
    n.appendChild(a1);
    n.appendChild(a2);
    document.body.appendChild(n);
}
