
// 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 titles of pages for a pop-up navigator - samples from informat.org.

var choices = new makeArray("select a section of the site",
						  "---------------------------------------",
                          "About Information Management Associates",
						  "Briefing Notes on information management",
						  "IMA Articles, Evaluations and Reports",
                          "Best Value &amp; better performance in Libraries",
                          "IMA Publications: List and Order Form",
                          "---------------------------------------",
                          "Feedback Form and IMA Contact Details");

// This array hold the URLs of the pages.

var urls = new makeArray("",
						  "#",
                          "aboutmen.html",
						  "notesmen.html",
						  "articmen.html",
                          "bstvlmen.html",
                          "publish.html",
                          "#",
                          "imafdbk.html");

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

function goPage(form) {
i = form.section.selectedIndex;            
    if (i != 0) {
    location.href = urls[i];  
    }
}


// This function is for popup windows


function open_window(url) {
viewer = window.open(url,"Viewer",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=416,height=316');
	if (viewer.opener == null) viewer.opener = window;
viewer.opener.name = "opener";
}
