var Posts = [ 
['David W.',      'Bullet',      ''],
['Robert N.',     'Cahn',        '"http://www-physics.lbl.gov/~rncahn/cahn.html"' ],
['Rodrigo B.',    'Capaz',       '"http://omnis.if.ufrj.br/~capaz/home.html"' ],
['Leonor',        'Chico',       '"mailto:Leonor.Chico@uclm.es"'],
['Hyoung Joon',   'Choi',        '"http://newton.kias.re.kr/~hjchoi/"'],
['Ole B.',        'Christensen', ''],
['Andrew N.',     'Cleland',     '"http://www.iquest.ucsb.edu/sites/cleland/"'],
['Michel M.',     'Dacorogna',   '"http://www.converium.com/1698.asp"'],
['Robert',        'Dandrea',     ''],
['Wenhui',        'Duan',        ''],
['Sverre',        'Froyen',      ''],
['Jeffrey',       'Grossman',    '"http://mint.physics.berkeley.edu/CNG/JeffG.html"'],
['John',          'Hermanson',   '"http://www.physics.montana.edu/faculty/hermanson/"'],
['Sohrab',        'Ismail-Beigi','"http://volga.eng.yale.edu/"'],
['Seung-Hoon',    'Jhi',         '"http://civet.berkeley.edu/~jhish/"'],
['Gunther P.',    'Kerker',      ''],
['Robert E.',     'Kraig',       ''],
['Young-Kyun',    'Kwon',        '"http://civet.berkeley.edu/~ykkwon/"'],
['Pay-June',      'Lin-Chung',   '"http://sinh.nrl.navy.mil/code6870/code6877/linchung/linchunghome.html"'],
['Gerard',        'Martinez',    '"mailto:gmartin@grenoble.cnrs.fr"'],
['Jos&eacute; Lu&iacute;s', 'Martins',  '"http://bohr.inesc-mn.pt/~jlm/jlm.html"'],
['Francesco',     'Mauri',       '"http://www-ext.lmcp.jussieu.fr/~mauri/"'],
['Waldemar',      'Maysenholder',''],
['Yoshimori',     'Miyamoto',    ''],
['Warren E.',     'Pickett',     '"http://yclept.ucdavis.edu/wep.html"'],
['Filipe J.',     'Ribeiro',     '"http://civet.berkeley.edu/~fribeiro"'],
['Steven L.',     'Richardson',  '"mailto:slr@imhotep.ccmpf.howard.edu"'],
['Angel',         'Rubio',       '"http://dipc.ehu.es/arubio/"'],
['Susumu',        'Saito',       '"http://www.stat.phys.titech.ac.jp/saito/"'],
['Wayne',         'Saslow',      '"http://faculty.physics.tamu.edu/saslow/"'],
['Michael',       'Schluter',    ''],
['Antonin',       'Simunek',     '"mailto:simunek@fzu.cz"'],
['Young-Woo',     'Son',         '"http://civet.berkeley.edu/~hand"'],
['Hong',          'Sun',         ''],
['Karl',          'Svozil',      '"http://tph.tuwien.ac.at/~svozil/"'],
['Paul',          'Tangney',     '"mailto:ptangney@imperial.ac.uk"'],
['Tim L.',        'Thorp',       ''],
['David',         'Tomanek',     '"http://www.pa.msu.edu/~tomanek/"'],
['Andrea',        'Trave',       '"http://civet.berkeley.edu/~atrave/"'],
['Oriol T.',      'Valls',       '"http://www.physics.umn.edu/directory/otvalls.html"'],
['David',         'Vanderbilt',  '"http://www.physics.rutgers.edu/~dhv/"'],
['Ben B.',        'Varga',       ''],
['Joseph Shy-Yih','Wang',        ''],
['Robert M.',     'White',       '"http://www.ece.cmu.edu/people/show.php?type=faculty&id=187"'], 
['Felix',         'Yndurain',    '"http://rincon.uam.es/cgi-bin/v2/dir.cgi?f=215301513671875"'],
['Alex',          'Zunger',      '"http://www.nrel.gov/research_fellows/zunger.html"']
];

var Studs = [
['Thomas Karl',  'Bergstresser',          'Fall',   '1966', ''],
['Calvin Scott', 'Koonce',                'Fall',   '1967', '"http://miminvest.com/about/bios.cfm"'],
['Ching Yao',    'Fong',                  'Fall',   '1968', '"http://www.physics.ucdavis.edu/Text/Fong.html"'],
['Man Yung',     'Au-Yang',               'Fall',   '1968', ''],
['Philip Brown', 'Allen',                 'Fall',   '1968', '"http://insti.physics.sunysb.edu/~allen/"'],
['Yvonne Tung',  'Tsang',                 'Spring', '1970', '"http://www-esd.lbl.gov/ESD_staff/ytsang/"'],
['John Peyton',  'Walter',                'Fall',   '1970', ''],
['Carmen',       'Varea de Alvarez',      'Fall',   '1973', '"http://www.fisica.unam.mx/fisquim/carmenvarea.htm"'],
['John Dimitris','Joannopoulos',          'Spring', '1974', '"http://ab-initio.mit.edu/"'],
['Djamshid',     'Chadi',                 'Fall',   '1974', '"http://www.neci.nj.nec.com/homepages/chadi/"'],
['James Robert', 'Chelikowsky',           'Fall',   '1975', '"http://jrc.cems.umn.edu/"'],
['Steven Gwon Sheng','Louie',             'Fall',   '1976', '"http://civet.berkeley.edu/louie/index.html"'],
['Kai-Ming',     'Ho',                    'Fall',   '1978', '"http://www.cmp.ameslab.gov/Viewpage.php?page=ViewPerson.php&Person=Kai-Ming Ho&PrintLink=1"'],
['Jisoon',       'Ihm',                   'Fall',   '1980', '"http://physics.snu.ac.kr/~cmt/ihm.html"'],
['Mingtang',     'Yin',                   'Fall',   '1982', ''],
['Pui Kwong',    'Lam',                   'Fall',   '1983', '"http://www.phys.hawaii.edu/people/faculty/lam.html"'],
['John Edwin',   'Northrup',              'Fall',   '1983', '"mailto:northrup@parc.xerox.com"'],
['Roar',         'Kilaas',                'Spring', '1985', '"http://ncem.lbl.gov/bio/roar.html"'],
['Mei-Yin',      'Chou',                  'Spring', '1986', '"http://www.physics.gatech.edu/people/faculty/mchou.html"'],
['Kee Joo',      'Chang',                 'Fall',   '1986', '"http://dielc.kaist.ac.kr/~www/kjchang/"'],
['Renata Maria Matosinho', 'Wentzcovitch','Fall',   '1988', '"http://www.cems.umn.edu/research/wentzcovitch"'],
['Shengbai',     'Zhang',                 'Spring', '1989', '"http://www.nrel.gov/cms/zhang.html"'],
['Troy Walter',  'Barbee III',            'Fall',   '1990', ''],
['Amy Yu-May',   'Liu',                   'Fall',   '1991', '"http://www.physics.georgetown.edu/~liu/"'],
['Alberto',      'Garcia',                'Fall',   '1992', '"http://lcdx00.wm.lc.ehu.es/~wdpgaara/"'],
['Steven Paul',  'Lewis',                 'Fall',   '1993', '"http://www.physast.uga.edu/~lewis/"'],
['Jennifer Lynn','Corkill',               'Fall',   '1993', ''],
['Vincent Henry','Crespi',                'Fall',   '1994', '"http://www.phys.psu.edu/people/display/index.html?person_id=202"'],
['Sadi',         'Turgut',                'Spring', '1995', '"http://www.physics.metu.edu.tr/department/staff.html?q=TurgutSadi"'],
['Oleg',         'Zakharov',              'Fall',   '1996', ''],
['Michel',       'C&ocirc;t&eacute;',     'Fall',   '1998', '"http://www.phys.umontreal.ca/~michel_cote/"'],
['Ari Micah',    'Mizel',                 'Fall',   '1999', '"http://www.arimizel.com/"'],
['David Joel',   'Roundy',                'Fall',   '2001', ''],
['Filipe Jo&atilde;o Figueira', 'Ribeiro','Fall',   '2004', '"http://civet.berkeley.edu/~fribeiro/"'],
['Weidong',      'Luo',                   'Fall',   '2004', '"http://civet.berkeley.edu/~wdluo/"'],
['Jonathan',     'Moussa',                'Fall',   '2008', '"http://civet.berkeley.edu/~jmoussa/"']
];



function MakePostsList(Posts) {
  var ncol = 3;
  var List = '<table cellpadding="3" border="1" width="702" align="center">';
  for (var i=0; i<Posts.length; i++) {
    List += (i % ncol == 0) ? '<tr>' : ''; 
    List += '<td width="234">';
    List += (Posts[i][2] == '') ? '' : '<a href=' + Posts[i][2] + '>';
    List += Posts[i][1] + ', ' + Posts[i][0];
    List += (Posts[i][2] == '') ? '' : '<\/a>';
    List += '<\/td>';
    List += (i % ncol == 2) ? '<\/tr>' : ''; 
  }
  List += '<\/table>';
  document.write(List);
}




function MakeStudsList(Studs) {
  var ncol = 2;
  var List = '<table cellpadding="3" border="1" width="702" align="center">';
  for (var i=0; i<Studs.length; i++) {
    List += (i % ncol == 0) ? '<tr>' : '';
    List += '<td width="250">';
    List += (Studs[i][4] == '' ) ? '' : '<a href=' + Studs[i][4] + '>';
    List += Studs[i][1] + ', ' + Studs[i][0];
    List += (Studs[i][4] == '' ) ? '' : '<\/a>';
    List += '<\/td><td>';
    List += Studs[i][3] + ' ' + Studs[i][2];
    List += '<\/td>';
    List += (i % ncol == 2) ? '<\/tr>' : ''; 
  }
  List += '<\/table>';
  document.write(List);
}
