// This file is generated by the newspanel. Don't edit by hand!

var qltotal = 28;
qlcount = qltotal - 1;
var nf;
var c;
var q;

fl = new Array(8);

fl[0] = 999;
fl[1] = 999;
fl[2] = 999;
fl[3] = 999;
fl[4] = 999;
fl[5] = 999;
fl[6] = 999;
fl[7] = 999;


function quickl(home, absc, rsch, rsrc, educ, title, url, target) {
  this.home = home;
  this.absc = absc;
  this.rsch = rsch;
  this.rsrc = rsrc;
  this.educ = educ;
  this.title = title;
  this.url = url;
  this.target = target;
}


ql = new Array(qltotal);

ql[0] = new quickl(1, 1, 1, 1, 1, "Contact Us", "http://www.scec.org/contact.html", false);
ql[1] = new quickl(1, 1, 1, 1, 1, "Calendar/Maps to SCEC", "http://www.scec.org/aboutscec/calendar.php", false);
ql[2] = new quickl(1, 1, 1, 1, 1, "SCEC News Archive", "http://www.scec.org/news/archive/index.php", false);
ql[3] = new quickl(0, 0, 1, 0, 0, "SCEC/CME Home Page", "http://www.scec.org/cme/", false);
ql[4] = new quickl(1, 1, 1, 1, 0, "SCEC Documents", "http://www.scec.org/aboutscec/documents/index.html", false);
ql[5] = new quickl(0, 1, 1, 1, 1, "Publications Catalog", "http://www.scec.org/resources/catalog/index.html", false);
ql[6] = new quickl(0, 0, 0, 0, 0, "SCEC Facilities", "http://www.scec.org/aboutscec/scecfac.html", false);
ql[7] = new quickl(0, 0, 0, 0, 1, "<i>Earthquake Country Los Angeles</i> Online Kit", "http://www.scec.org/education/k12/eclakit/index.html", false);
ql[8] = new quickl(0, 0, 0, 0, 1, "Wallace Creek Trail Guide", "http://www.scec.org/wallacecreek/", false);
ql[9] = new quickl(0, 0, 0, 0, 0, "2002 Annual Meeting", "http://www.scec.org/aboutscec/2002annualmtg.html", false);
ql[10] = new quickl(0, 0, 0, 0, 0, "Intern Programs", "http://www.scec.org/education/college/internships/", false);
ql[11] = new quickl(1, 1, 1, 1, 1, "<i>Putting Down Roots in Earthquake Country</i> Handbook", "http://www.earthquakecountry.info/roots/", "eqcountry");
ql[12] = new quickl(0, 0, 0, 0, 0, "Earthquake Prediction for Southeastern California", "http://earthquake.usgs.gov/eqinthenews/2004/KB_prediction.html", false);
ql[13] = new quickl(1, 1, 1, 1, 1, "Dare to Prepare: Secure Your Space!", "http://www.daretoprepare.org/", false);
ql[14] = new quickl(1, 1, 1, 1, 1, "Earthquake Basics", "http://www.earthquakecountry.info/", "eqcountry");
ql[15] = new quickl(0, 0, 0, 0, 0, "2004 SCEC Annual Meeting", "http://www.scec.org/meetings/2004am/", false);
ql[16] = new quickl(0, 0, 0, 0, 0, "2006 SCEC RFP", "http://www.scec.org/proposals/", false);
ql[17] = new quickl(0, 0, 0, 0, 0, "2008 SCEC Annual Meeting", "http://www.scec.org/meetings/2008am/", false);
ql[18] = new quickl(0, 1, 1, 0, 0, "2009 RFP and Proposals", "http://www.scec.org/proposals/", false);
ql[19] = new quickl(0, 0, 0, 0, 1, "2009 Summer Internships", "http://www.scec.org/education/college/internships/", false);
ql[20] = new quickl(0, 0, 0, 0, 1, "Workshop for Interpretive Professionals: San Andreas", "http://www.scec.org/workshops/san_andreas/index.html", false);
ql[21] = new quickl(1, 1, 1, 1, 1, "Recent Earthquake Information", "http://www.scec.org/earthquakes/index.html", false);
ql[22] = new quickl(0, 0, 0, 0, 0, "Great Southern California ShakeOut", "http://www.shakeout.org/", false);
ql[23] = new quickl(0, 0, 0, 0, 0, "Disaster Earthquake Scenario Unveiled for Southern California", "http://www.usgs.gov/newsroom/article.asp?ID=1947", false);
ql[24] = new quickl(0, 0, 0, 0, 0, "M<sub>W</sub>5.4 Earthquake in Chino Hills", "http://www.scec.org/chinohills/index.html", false);
ql[25] = new quickl(0, 0, 0, 0, 0, "Bombay Beach Earthquake Swarm", "http://www.scsn.org/", false);
ql[26] = new quickl(0, 0, 0, 0, 0, "M<sub>W</sub>4.7 Inglewood Earthquake", "http://www.scec.org/earthquakes/inglewood.html", false);
ql[27] = new quickl(1, 1, 1, 1, 1, "Olancha Earthquake Sequence", "http://www.scsn.org/", false);


function decideLink() {
  if (dflt == 0) {
    homeLinks();
  }
  if (dflt == 1) {
    abscLinks();
  }
  if (dflt == 2) {
    rschLinks();
  }
  if (dflt == 3) {
    rsrcLinks();
  }
  if (dflt == 4) {
    educLinks();
  }
}

function homeLinks() {
  nf = 0;
  for (q = qlcount; q >= 0; q--) {
    if (ql[q].home == 1) {
      fl[nf] = q;
      nf++;
    }
  }
  writeLinks();
}

function abscLinks() {
  nf = 0;
  for (q = qlcount; q >= 0; q--) {
    if (ql[q].absc == 1) {
      fl[nf] = q;
      nf++;
    }
  }
  writeLinks();
}

function rschLinks() {
  nf = 0;
  for (q = qlcount; q >= 0; q--) {
    if (ql[q].rsch == 1) {
      fl[nf] = q;
      nf++;
    }
  }
  writeLinks();
}

function rsrcLinks() {
  nf = 0;
  for (q = qlcount; q >= 0; q--) {
    if (ql[q].rsrc == 1) {
      fl[nf] = q;
      nf++;
    }
  }
  writeLinks();
}

function educLinks() {
  nf = 0;
  for (q = qlcount; q >= 0; q--) {
    if (ql[q].educ == 1) {
      fl[nf] = q;
      nf++;
    }
  }
  writeLinks();
}

function writeLinks() {
  for (c = 0; c < nf; c++) {
    v = fl[c];
    var thetarget = "";
    if(ql[v].target) {
      thetarget = " target=\"" + ql[v].target + "\" ";
    }
    document.write("\n<p class=\"quick\"><a href=\"" + ql[v].url + "\"" + thetarget + ">" + ql[v].title + "</a></p>");
  }
}

decideLink();
