﻿Intro.prototype = new BasePage();
Intro.prototype.constructor = Intro;

function Intro(pageID)
{
    BasePage.call(this, pageID);
}

Intro.prototype.setContent = function()
{
    var n = this.holder;
    var ph = new PageHeader("jSpace Invaders");
    var a1 = new Button("Instructions", Pages.INSTRUCTIONS, "button1");
    var a2 = new Button("Play Game", Pages.GAME, "button2");
    var content = enTag('p', "thsi is rox0r gaem.");

    n.appendChild(ph);
    n.appendChild(content);
    n.appendChild(a1);
    n.appendChild(a2);
    document.body.appendChild(n);   
}
