// Information Object

var persons = new Object();

persons.name = new Array();

persons.full = new Array();

persons.mail = new Array();



// 1.

 persons.name[0] = 'Alex';

 persons.full[0] = 'Alexander Nikitin';

 persons.mail[0] = 'an58@cornell.edu';

// 2.

 persons.name[1] = 'Andrea';

 persons.full[1] = 'Andrea Flesken-Nikitin';

 persons.mail[1] = 'af78@cornell.edu';

// 3.

 persons.name[2] = 'Le';

 persons.full[2] = 'Le Cheng';

 persons.mail[2] = 'lc287@cornell.edu';

// 4.

 persons.name[3] = 'Jinhyang';

 persons.full[3] = 'Jinhyang Choi';

 persons.mail[3] = 'jc465@cornell.edu';

// 5.

 persons.name[4] = 'Benjamin';

 persons.full[4] = 'Benjamin Ranard';

 persons.mail[4] = 'blr63@cornell.edu';

// 6.

 persons.name[5] = 'Chieh-Yang';

 persons.full[5] = 'Chieh-Yang Cheng';

 persons.mail[5] = 'cc838@cornell.edu';

// 7.

 persons.name[6] = 'Meredith';

 persons.full[6] = 'Meredith Stone';

 persons.mail[6] = 'mls396@cornell.edu';

// 8.

 persons.name[7] = 'Eric';

 persons.full[7] = 'Eric Yu';

 persons.mail[7] = 'ey78@cornell.edu';

// 9.

 persons.name[8] = 'Samantha';

 persons.full[8] = 'Samantha Palmaccio';

 persons.mail[8] = 'sjp228cornell.edu';

// 10.

 persons.name[9] = 'Chang-il';

 persons.full[9] = 'Chang-il Hwang';

 persons.mail[9] = 'ch342@cornell.edu';
 
// 11. 
 
 persons.name[12] = 'Mouse';

 persons.full[12] = 'The Mouse';

 persons.mail[12] = 'mouse@cornell.edu';
 
 



// to add further persons simply increase the number as above





function show_pers(pers_name, pers_mail) {

 var elem = document.getElementById("person");

 elem.innerHTML = "<b>" + pers_name + "</b><br><br>\n"

 				  + "e-Mail: <a href=\"mailto:" + pers_mail + "\">" + pers_mail

 				  + "</a>" ;

}



function get_person(pers_name) {

 for (i=0; i<persons.name.length; i++) {

  if (persons.name[i] == pers_name) {

   show_pers(persons.full[i], persons.mail[i]);

   break

  }

 }

}
