<!-- 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: Eight-Electron Chemistry",
"The Buildup of the Elements",
"How Big is an Atom?",
"Gain and Loss of Electrons: Ionization Energy",
"Electron Affinity",
"Electronegativity",
"Fixed Shells and the Rule of Eight: A Summary",
"- - - - - - - - - - - - -",
"Questions",
"Problems",
"- - - - - - - - - - - - -",
"Another Chapter..?");


// This array hold the URLs of the pages.

var urls = new makeArray("",
"",
"page01.htm",
"page02.htm",
"page08.htm",
"page11.htm",
"page17.htm",
"page19.htm",
"page21.htm",
"",
"questi01.htm",
"x_problems.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];  
    }
}
//-->

