// 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("Select Size in Inches",
                          "3&#47;8&#34",
                          "1&#47;2&#34",
                          "5&#47;8&#34",
                          "3&#47;4&#34",
                          "7&#47;8&#34",
                          "1&#34",
                          "1&#45;1&#47;8&#34",
                          "1&#45;1&#47;4&#34",
                          "1&#45;3&#47;8&#34",
                          "1&#45;1&#47;2&#34",
                          "1&#45;3&#47;4&#34",
                          "2&#34",
                          "2&#45;1&#47;4&#34",
                          "2&#45;1&#47;2&#34",
                          "2&#45;3&#47;4&#34",
                          "3&#34",
                          "3&#45;1&#47;4&#34",
                          "3&#45;1&#47;2&#34",
                          "4&#34");


// This array hold the URLs of the pages.

var urls = new makeArray("",
                         "/products/selector/data/us375.html",
                         "/products/selector/data/us5.html",
                         "/products/selector/data/us625.html",
                         "/products/selector/data/us75.html",
                         "/products/selector/data/us875.html",
                         "/products/selector/data/us1.html",
                         "/products/selector/data/us1_125.html",
                         "/products/selector/data/us1_25.html",
                         "/products/selector/data/us1_375.html",
                         "/products/selector/data/us1_5.html",
                         "/products/selector/data/us1_75.html",
                         "/products/selector/data/us2.html",
                         "/products/selector/data/us2_25.html",
                         "/products/selector/data/us2_5.html",
                         "/products/selector/data/us2_75.html",
                         "/products/selector/data/us3.html",
                         "/products/selector/data/us3_25.html",
                         "/products/selector/data/us3_5.html",
                         "/products/selector/data/us4.html");

// This function determines which page is selected and goes to it.

function goPage(form) {
i = form.menu.selectedIndex;
    if (i != 0) {
    frames['main'].location.href = urls[i];
    }
}


// Array Function

function makeArray() {
var metrics = makeArray.arguments;
    for (var i = 0; i < metrics.length; i++) {
    this[i] = metrics[i];
    }
this.length = metrics.length;
}

// This array holds the descriptions and names of the pages.

var mpages = new makeArray("Select a Metric Size",
                          "M10",
			  "M12",
			  "M16",
			  "M20",
			  "M22",
			  "M24",
			  "M27",
			  "M30",
			  "M33",
			  "M36",
			  "M39",
			  "M42",
			  "M48",
                          "M52");

// This array hold the URLs of the pages.

var murls = new makeArray("",
                         "/products/selector/data/m10index.html",                         
                         "/products/selector/data/m12index.html",
                         "/products/selector/data/m16index.html",
                         "/products/selector/data/m20index.html",
                         "/products/selector/data/m22index.html",
                         "/products/selector/data/m24index.html",
                         "/products/selector/data/m27index.html",
                         "/products/selector/data/m30index.html",
                         "/products/selector/data/m33index.html",                         
                         "/products/selector/data/m36index.html",                                                  
                         "/products/selector/data/m39index.html",                         
                         "/products/selector/data/m42index.html",                         
                         "/products/selector/data/m48index.html",                         
                         "/products/selector/data/m52index.html");

// This function determines which page is selected and goes to it.

function goMpage(form) {
i = form.mmenu.selectedIndex;
    if (i != 0) {
    frames['main'].location.href = murls[i];
    }
}

