// JavaScript Document

var captions = new Array();
captions[0] = "Members of the <strong>Tilly family (three of Charles Tilly's children, Chris, Kit and Laura; Laura's daughter, Charlotte Cottier; and Chris's wife, Marie Kennedy)</strong> at the opening reception for the Albert O. Hirschman Prize Ceremony, held at Columbia University's Italian Academy on October 3, 2008. The event kicked off a three-day celebration of Charles Tilly's life and works, organized by the SSRC and cosponsored by Columbia University and ISERP.";
captions[1] = "<strong>Ira Katznelson</strong>, Columbia University political scientist and Charles Tilly's close colleague, at the opening reception. Katznelson, who recently became an SSRC Board member, delivered remarks at the Hirschman Prize Ceremony that followed.";
captions[2] = "<strong>Doug McAdam</strong>, Stanford University sociologist and one of Charles Tilly's closest collaborators,  and <strong>Anne Born</strong>, academic administrator for Columbia University's Department of Sociology, at the opening reception. McAdam served on the 2008 Hirschman Prize selection committee.";
captions[3] = "<strong>David Stark</strong>, chair of Columbia University's Department of Sociology, at the opening reception. Columbia University was a co-sponsor of the SSRC's three-day celebration of the life and works of Charles Tilly.";
captions[4] = "<strong>Jack Goldstone</strong>, a professor of public policy at George Mason University, with <strong>Al Fishlow</strong>, a former SSRC Board member and a professor of international and public affairs at Columbia University. Goldstone delivered a paper for one of the conference panels, and Fishlow headed the 2008 Hirschman Prize selection committee.";
captions[5] = "<strong>Sid Tarrow</strong>, Cornell University sociologist and a close collaborator of Charles Tilly, with Lewis Bateman, who edited several of Tilly's works, and <strong>Victoria de Grazia</strong>, a professor of history at Columbia University, at the opening reception.";
captions[6] = "<strong>Sarah Hirschman</strong>, the wife of Albert O. Hirschman, flanked by her son-in-law Peter Gourevitch, a U.C.-San Diego political scientist, and Al Fishlow, a former SSRC Board member and a professor of international and public affairs at Columbia University, at the Albert O. Hirschman Prize Ceremony. Both Gourevitch and Fishlow served, along with Doug McAdam, on the 2008 Hirschman Prize selection committee.";
captions[7] = "<strong>SSRC President Craig Calhoun</strong> delivering welcoming remarks at the 2008 Albert O. Hirschman Prize Ceremony.  <a href=\"http://www.ssrc.org/hirschman/event/2008\">Download his remarks from this page.</a>";
captions[8] = "<strong>Ira Katznelson</strong> addressing the \"practice of originality\" in Charles Tilly's work at the 2008 Albert O. Hirschman Prize Ceremony.  <a href=\"http://www.ssrc.org/hirschman/event/2008\">Download his remarks from this page.</a>";
captions[9] = "<strong>Joan Scott</strong> recounting her memories of her exchanges with Charles Tilly when she was an SSRC research training fellow and Tilly was assigned as her mentor. <a href=\"http://www.ssrc.org/hirschman/event/2008\">Download her remarks from this page.</a>";
captions[10] = "<strong>Charles Tilly's four children--Laura, Chris, Sarah, and Kit</strong>--accepting the 2008 Albert O. Hirschman Prize certificate on behalf of their father.";
captions[11] = "<strong>Laura Tilly</strong>, daughter of Charles Tilly, delivering remarks at the 2008 Albert O. Hirschman Prize ceremony after she and her siblings accepted the certificate on behalf of their father.";


var photos = new Array();
photos[0] = "IMG_5015.jpg";
photos[1] = "IMG_4967.jpg";
photos[2] = "IMG_5021.jpg";
photos[3] = "IMG_4954.jpg";
photos[4] = "IMG_5034.jpg";
photos[5] = "IMG_4964.jpg";
photos[6] = "IMG_5103.jpg";
photos[7] = "IMG_5109.jpg";
photos[8] = "IMG_5122.jpg";
photos[9] = "IMG_5163.jpg";
photos[10] = "IMG_5195.jpg";
photos[11] = "IMG_5196.jpg";
var last = photos.length-1;

var current = 0;
var currentphoto=photos[current];
var navcopy = "";
var rowcell = 0;
var cellsPerRow = 3;

function loadThumbs() {
	for (i=0; i<=last; i++) {
		if (rowcell == 0) {
			navcopy+="<div class=\"thumbrow\">";
		}
			rowcell++;
		navcopy+="<a href=\"#\"><img src=\"/hirschman/slideshows/"+year+"/photos/"+photos[i]+"\" alt=\""+photos[i]+"\" onClick=\"jump("+i+")\" border=\"0\" class=\"thumbnail\"/></a>";
		if (rowcell == cellsPerRow) {
			rowcell=0;
			navcopy+="</div>";
		}
	}
	with (document) if (getElementById && ((obj=getElementById('thumbs'))!=null))
    	with (obj) innerHTML = unescape(navcopy);	 
}


function nextButton() { //v9.0
  current++;
  if (current>last) current = 0;
  refreshSlide();
}

function prevButton() { //v9.0
  current--;
  if (current<0) current = last;
  refreshSlide();
}

function jump(x) {
  current=x;
  if (current>last) current = 0;
  if (current<0) current = last;
  refreshSlide();
}

function refreshSlide() {
  with (document) {
  	if (getElementById && ((obj=getElementById('slide-caption'))!=null))
    	with (obj) innerHTML = unescape(captions[current]);
  	if (getElementById && ((obj=getElementById('main-slide'))!=null))
    	with (obj) innerHTML = unescape('<a href=\"/hirschman/slideshows/'+year+'/photos/hi-res/'+photos[current]+'\" target=\"_blank\"><img src=\"/hirschman/slideshows/'+year+'/photos/'+photos[current]+'\" alt=\"'+photos[current]+'\"></a>');
	}
}
