// 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 names of the pages.

var pages = new makeArray("Select a Page",
                          "Welcome",
                          "Intro",
                          "Services",
                          "Clients",
                          "Thoughts");

// This array hold the URLs of the pages.

var urls = new makeArray("",
                         "dc_main.htm",
                         "dc_intro.htm",
                         "dc_servc.htm",
                         "dc_clnts.htm",
                         "dc_thots.htm");

// This function determines which page is selected and goes to it.

function goPage(form) {
var i = form.menu.selectedIndex;            
    if (i != 0) {
    parent.frames[1].location.href = urls[i];  
    }
}

