function openWindow(url){
  popupWin = window.open(url, "targetWin", "menubar,toolbar,scrollbars,resizable,location,width=800,height=600");
}

function buildArray() {
  var a = buildArray.arguments;
  for (i=0; i<a.length; i++) {
    this[i] = a[i];
  }
  this.length = a.length;
}

var urls1 = new buildArray("",
"http://www.projectcounter.org/",
"http://www.library.yale.edu/consortia/",
"http://www.arl.org",
"http://www.cni.org",
"http://www.lockss.org",
"http://www.niso.org",
"http://www.nclive.org",
"http://www.ndltd.org",
"http://www.portico.org",
"http://www.arl.org/sparc/DI");

var urls2 = new buildArray("",
"http://www.hsl.unc.edu/AboutLib/employment/jobindex.cfm",
"http://www.lib.unc.edu/jobs/epa/index.html",
"http://www.lib.unc.edu/jobs/spa/index.html",
"http://www.lib.ncsu.edu/jobs/",
"http://www.lib.duke.edu/jobs/",
"http://www.mclibrary.duke.edu/about/jobs.html");

var urls3 = new buildArray("",
"/enews/mar10.htm",
"/enews/archive2010.htm",
"/enews/Collections/cnewsmay09.htm",
"/enews/Collections/cnewsarchive.htm",
"/press/consortia_icolc-econcrisis-0109.pdf",
"/press/pressarchive.htm");

var urls4 = new buildArray("",
"/committee/CollectionCouncil/index.htm",
"/committee/CommunicationsCommittee/index.htm",
"/committee/cod/index.htm",
"/docdel/docdel.html",
"/eresource/index.htm",
"/endeca/operations.html",
"/committee/ec/index.htm",
"/committee/gb/index.htm",
"/committee/hr/index.htm",
"/committee/ServicesCouncil/index.htm",
"/singlecopy/index.htm",
"/committee/StaffDev/index.htm",
"/committee/TechnologyCouncil/index.htm",
"/committee/academy/Advisory%20Board%20Charge.pdf",
"/committee/academy/index.htm");


function go(which, num, win) {
  n = which.selectedIndex;
  if (n != 0) {
    var url = eval("urls" + num + "[n]")
    if (win) {
      openWindow(url);
    } else {
      location.href = url;
    }
  }
}