<!-- For javascript form control

// Array Function 

function makeArray() {
var args = makeArray.arguments;

    for (var i = 0; i < args.length; i++) {
    this[i] = args[i];
    }
this.length = args.length;
}

// This array holds the descriptions and names of the pages.

var pages = new makeArray(" -- Jump to --",
"- - - - - - - - - - - - -",
"Introduction",
"Conservation Principles",
"Weight and Mass",
"Conservation of Mass",
"Conservation of Electrons",
"Mass and Energy; Nuclear Rxns",
"Nuclear Stability and Decay",
"Isotopes and Half-lives",
"Number and Charge: a Summary",
"- - - - - - - - - - - - -",
"Questions",
"Problems",
"- - - - - - - - - - - - -",
"Another Chapter..?");


// This array hold the URLs of the pages.

var urls = new makeArray("",
"",
"page01.htm",
"page03.htm",
"page06.htm",
"page07.htm",
"page12.htm",
"page21.htm",
"page28.htm",
"page34.htm",
"page37.htm",
"",
"quest01.htm",
"x_prob1ems.htm",
"",
"http://neon.chem.ox.ac.uk/vrchemistry/foundation.html");






// This function determines which page is selected and goes to it.

function goPage(form) {
i = form.menu.selectedIndex;            
    if (i != 0) {
    window.location.href = urls[i];  
    }
}
//-->

