// This file is generated by the newspanel. Don't edit by hand!
var caltotal = 6;
var caluse = 6;

function calitem(date, title, calkey, url) {
  this.date = date;
  this.title = title;
  this.calkey = calkey;
  this.url = url;
}


ci = new Array(caltotal);

ci[0] = new calitem("Sep. 12-16", "SCEC Annual Meeting", 0, "");
ci[1] = new calitem("Sep. 16-17", "SCEC CEO Program Review", 0, "");
ci[2] = new calitem("Oct. 15", "The Great California ShakeOut", 0, "http://www.shakeout.org/");
ci[3] = new calitem("Nov. 6", "Proposal Submission Deadline", 0, "http://www.scec.org/proposals/");
ci[4] = new calitem("Dec. 3-4", "GeoEarthScope and B4 LiDAR Workshop", 0, "http://www.opentopography.org/index.php/news/detail/");
ci[5] = new calitem("Dec. 14-18", "AGU Fall Meeting", 0, "http://www.agu.org/meetings/index.shtml");


function writeCallist() {
  for (cci = 0; cci < caluse ; cci++) {
  if (ci[cci].url != "") {
    document.write("\n<p><a href=\"" + ci[cci].url + "\">" + ci[cci].date + ": " + ci[cci].title + "</a></p>");
  }
  else {
    document.write("\n<p><a href=\"http://www.scec.org/aboutscec/calendar.php\">" + ci[cci].date + ": " + ci[cci].title + "</a></p>");
  }
  }
}

writeCallist();

