<!-- 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("Online Multimedia Links",
"-----------------",
"Introduction",
"Free Energy",
"Solutions and Colligative Properties",
"Boiling Point Elevation", 
"Freezing Point Depression",
"Osmotic Pressure",
"Redox Reactions and Electrochemical Potential" ,
"Addition of Cell Reactions",
"Half Reactions and Reduction potentials",
"Dry Cell",
"The Lead Storage Battery",
"Electrolysis Cells",
"Faraday's Law of Electrolysis",
"Redox Chemistry Gone Astray - Corrosion",
"Summary",
"-----------------",
"return to foundations of chemsitry", 
"go to the Virtual Laboratory");


// This array hold the URLs of the pages.

var urls = new makeArray("",
"",
"intro1.htm",
"free1.htm",
"solutions1.htm",
"boil1.htm",
"freeze1.htm",
"osmo1.htm",
"redox1.htm",
"addcell1.htm",
"half1.htm",
"dry1.htm",
"lead1.htm",
"electro1.htm",
"fara1.htm",
"corro1.htm",
"summ1.htm",
"",
"http://www.chem.ox.ac.uk/vrchemistry/foundation.html",
"../../default.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];  
    }
}
//-->

