var a = new Array();

a[0] = new Array();
a[0][0] = 'hhdl';
a[0][1] = 'His Holiness the 14th Dalai Lama of Tibet: <em>Cultivating Happiness</em> Public Talk';
a[0][2] = 'Presented by the <a href="http://www.tibetancc.com/">Tibetan Cultural Center in Bloomington, IN</a> ' + 
		  'and <a href="http://www.purdue.edu/convos/">Purdue Convocations</a> ' + 
		  'in cooperation with the <a href="http://www.cla.purdue.edu/">College of Liberal Arts</a>.';
a[0][3] = 'Friday, October 26, 2 p.m.';
a[0][4] = 'Elliott Hall of Music';


a[1] = new Array();
a[1][0] = 'joycecaroloates';
a[1][1] = 'An Evening with Joyce Carol Oates';
a[1][2] = 'Sponsored by the <a href="http://www.cla.purdue.edu/english/creativewriting/">Creative Writing Program</a> and the <a href="http://www.cla.purdue.edu/english/">Department of English</a>.';
a[1][3] = 'Tuesday, October 30, 7:30&ndash;9 p.m.';
a[1][4] = 'Loeb Playhouse, Stewart Center';


a[2] = new Array();
a[2][0] = 'muirhead';
a[2][1] = 'Deborah Muirhead: Fly Away';
a[2][2] = 'Sponsored by <a href="http://www.purdue.edu/galleries/">Purdue Galleries</a>.';
a[2][3] = 'August 27&ndash;October 7<br>M&ndash;Sat: 10 a.m.&ndash;5 p.m.<br>Thurs: 10 a.m.&ndash;8 p.m.<br>Sun: 1&ndash;5 p.m.';
a[2][4] = 'Stewart Center Gallery';


a[3] = new Array();
a[3][0] = 'beadedprayers';
a[3][1] = 'The Beaded Prayers Project';
a[3][2] = 'Sponsored by <a href="http://www.purdue.edu/galleries/">Purdue Galleries</a>.';
a[3][3] = 'August 27&ndash;October 7<br>M&ndash;Sat: 10 a.m.&ndash;5 p.m.<br>Thurs: 10 a.m.&ndash;8 p.m.<br>Sun: 1&ndash;5 p.m.';
a[3][4] = 'Robert L. Ringel Gallery in the Purdue Memorial Union';


a[4] = new Array();
a[4][0] = 'brazil';
a[4][1] = 'Affirmative Action in Brazil: Affirming Rights or Realities';
a[4][2] = 'Sponsored by the <a href="http://www.cla.purdue.edu/african-american/">African American Studies and Resources Center</a> and the <a href="http://www.education.purdue.edu/">College of Education</a>; co-sponsored by the <a href="http://www.purdue.edu/humanrel/dro/">Diversity Resource Center</a> and the <a href="http://www.purdue.edu/humanrel/aao/">Office of Affirmative Action</a>';
a[4][3] = 'October 1, 3:30 p.m.';
a[4][4] = 'Black Cultural Center (at the corner of 3rd and Russell Streets)';


a[5] = new Array();
a[5][0] = 'coatsworth';
a[5][1] = 'Inequality, Intervention, and Immigration: The Future of US-Latin American Relations';
a[5][2] = 'Sponsored by the <a href="http://www.cla.purdue.edu/history/">Department of History</a> and the Latino Cultural Center';
a[5][3] = 'October 1, 7 p.m.';
a[5][4] = 'Fowler Hall, Stewart Center';


a[6] = new Array();
a[6][0] = 'excellentcadavers';
a[6][1] = 'World Film Forum showcasing the documentary <em>Excellent Cadavers</em>, directed by Marco Turco';
a[6][2] = 'Sponsored by the <a href="http://www.cla.purdue.edu/fll/">Department of Foreign Languages and Literatures</a>';
a[6][3] = 'October 17, 5:30 p.m.';
a[6][4] = 'West Lafayette Public Library';


a[7] = new Array();
a[7][0] = 'turvey';
a[7][1] = 'Theory of Brain and Behavior in the 21st Century: No Ghost, No Machine';
a[7][2] = 'Sponsored by the departments of <a href="http://www.cla.purdue.edu/hk/">Health and Kinesiology</a>, <a href="http://www.cla.purdue.edu/slhs/">Speech, Language, and Hearing Sciences</a>, and <a href="http://www.psych.purdue.edu/">Psychological Sciences</a>';
a[7][3] = 'October 18, 3:30&ndash;5 p.m.';
a[7][4] = 'Anniversary Drawing Room, Purdue Memorial Union';


a[8] = new Array();
a[8][0] = 'installations';
a[8][1] = 'Dried, Cracked, Wet, Dripping, Blooming: Charles Gick: <em>Installations</em>';
a[8][2] = 'Sponsored by <a href="http://www.purdue.edu/galleries/">Purdue Galleries</a>';
a[8][3] = 'October 22–December 2<br />M-Sat: 10 a.m.–5 p.m.<br />Thurs: 10 a.m.–8 p.m.<br />Sun: 1–5 p.m.';
a[8][4] = 'Stewart Center Gallery';


a[9] = new Array();
a[9][0] = '1950s';
a[9][1] = 'Loud, Fast, and Out of Control: The Politics of Rock, Race, and Rebellion in the 1950s';
a[9][2] = 'Sponsored by <a href="http://www.cla.purdue.edu/history/">Department of History</a>';
a[9][3] = 'October 23, 3&ndash;4 p.m.';
a[9][4] = 'Pappy\'s Sweet Shop, Purdue Memorial Union';


a[10] = new Array();
a[10][0] = 'killerwithin';
a[10][1] = 'Premier of <em>The Killer Within</em>, a Documentary';
a[10][2] = 'Sponsored by the <a href="http://www.cla.purdue.edu/">College of Liberal Arts</a>';
a[10][3] = 'October 29, time TBD';
a[10][4] = 'TBD';



function addSpots() {
	var spot1, spot2;
	spot1 = Math.floor(Math.random()*a.length);
	spot2 = Math.floor(Math.random()*a.length);
	while (spot1==spot2) spot2 = Math.floor(Math.random()*a.length);
	
	var s = new String();
	s = '<li>' + writeSpot(a[spot1]) + '</li>';
	s+= '<li>' + writeSpot(a[spot2]) + '</li>';

	document.write(s);
	
}

function writeSpot(spot) {

	var s = new String();
	s = '<div class="incl_1">\n';
	s+= '<a href="events/' + spot[0] + '/"><img width="100" \n' +
		'src="events/'+spot[0]+'/home.jpg" border="0" alt="' + spot[1] + '" /></a>\n';
	s+= '</div>';
	s+= '<div class="incl_2">\n';
	s+= '<a href="events/'+spot[0]+'/" class="including_title">'+spot[1]+'</a>\n';
	s+= '<p>' + spot[2] + '</p>';
	s+= '<p><strong>' + spot[3] + '</strong><br />' + spot[4] + '</p>';
	s+= '<a href="events/'+spot[0]+'/">More information</a>';
	s+= '</div><br class="including_end" />';
	
	return s;
}
