<!-- 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",
"Crabapples and Equilibrium",
"Equilibrium and Second-Order Processes",
"The General Equilibrium-Constant Expression",
"Examples of Equilibrium Constants",
"Factors Affecting Equilibrium",
"Temperature and the Equilibrium Constant",
"Free Energy and the Equilibrium Constant",
"Spontaneity and Equilibrium: A Summary",
"Postscript: Smog and Equilibrium",
"- - - - - - - - - - - - -",
"Questions",
"Problems",
"- - - - - - - - - - - - -",
"Another Chapter..?");


// This array hold the URLs of the pages.

var urls = new makeArray("",
"",
"page01.htm",
"page05.htm",
"page15.htm",
"page22.htm",
"page24.htm",
"page29.htm",
"page33.htm",
"page36.htm",
"page40.htm",
"page43.htm",
"",
"ques01.htm",
"prob01.htm",
"",
"http://www.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];  
    }
}
//-->

