var currentTime = new Date()
var month = currentTime.getMonth() + 1
var day = currentTime.getDate()
var year = currentTime.getYear()
var hlsyear=2009
var datetotal=month+day

var eventTitle=new Array()
eventTitle[0]='Besa: Muslims Who Saved Jews in World War II (Exhibition)'
eventTitle[1]='Besa: Muslims Who Saved Jews in World War II (Exhibition Reception)'
eventTitle[2]='Besa: Muslims Who Saved Jews in World War II (Lecture)'
eventTitle[3]="Bloodlines (Australia, 2008)"
eventTitle[4]='Trip to the United States Holocaust Memorial Museum'
eventTitle[5]='Avoiding the Evils of Eugenics in a Genomic Age'
eventTitle[6]="A Survivor's Story"
eventTitle[7]='The Haunted Imagination: Holocaust Images by Gyorgy Kadar (Exhibition)'
eventTitle[8]='The Haunted Imagination: Holocaust Images by Gyorgy Kadar (Exhibition Reception)'

var eventSpeaker=new Array()
eventSpeaker[0]="Norman Gershman, Johanna Neumann, and Stuart Huck"
eventSpeaker[1]="Norman Gershman, Johanna Neumann, and Stuart Huck"
eventSpeaker[2]="Norman Gershman, Johanna Neumann, and Stuart Huck"
eventSpeaker[3]="Directed by Cynthia Connop"
eventSpeaker[4]=""
eventSpeaker[5]="Ellen Clayton<br>Director, Center for Biomedical Ethics and Society<br>Vanderbilt University"
eventSpeaker[6]="Martin Weiss"
eventSpeaker[7]="Gyorgy Kadar"
eventSpeaker[8]="Gyorgy Kadar"

var eventInst=new Array()
eventInst[0]="Vanderbilt University, Nashville, TN, USA"

var eventTextDate=new Array()
eventTextDate[0]="October 6-22"
eventTextDate[1]="Sunday, October 18, 6 p.m."
eventTextDate[2]="Sunday, October 18, 7 p.m."
eventTextDate[3]="Tuesday, October 20, 7 p.m."
eventTextDate[4]="October 23-25"
eventTextDate[5]="Tuesday, October 27, 7 p.m."
eventTextDate[6]="Sunday, November 1, 7 p.m."
eventTextDate[7]="November 5-30"
eventTextDate[8]="Thursday, November 5, 5 p.m."

var eventLoc=new Array()
eventLoc[0]="Sarratt Student Center Promenade"
eventLoc[1]="Sarratt Student Center Promenade"
eventLoc[2]="Sarratt Cinema"
eventLoc[3]="Film and Discussion, Sarratt Cinema"
eventLoc[4]=""
eventLoc[5]="Lecture, Multipurpose Room, The Commons Center, Peabody Campus"
eventLoc[6]="Lecture, Law School Auditorium"
eventLoc[7]="Sarratt Student Center Gallery"
eventLoc[8]="Sarratt Student Center Gallery"

var eventImage=new Array()
eventImage[0]="incl/portrait_besa.jpg"
eventImage[1]="incl/portrait_besa.jpg"
eventImage[2]="incl/portrait_besa.jpg"
eventImage[3]="incl/portrait_bloodlines.jpg"
eventImage[4]=""
eventImage[5]="incl/portrait_clayton.jpg"
eventImage[6]="incl/portrait_weiss.jpg"
eventImage[7]="incl/portrait_kadar.jpg"
eventImage[8]="incl/portrait_kadar.jpg"

var optionalEventImage=new Array()
optionalEventImage[0]="incl/front.jpg"
optionalEventImage[1]="incl/front.jpg"
optionalEventImage[2]="incl/front.jpg"
optionalEventImage[3]=''
optionalEventImage[4]="incl/museum.jpg"
optionalEventImage[5]=""
optionalEventImage[6]=""
optionalEventImage[7]=""
optionalEventImage[8]=""


var eventText=new Array()
eventText[0]='In turbulent times when intolerance and hostility continue unabated, stories of compassion are a crucial step toward mending the world. Numbers of stories exist of Albanian and Kosovar Muslims who risked their lives to save thousands of Jews, both natives of Albania and refugees fleeing Nazi-dominated Europe. Was it the ancient guest code of <i>Besa</i> or the teachings of the Koran that led them to consider the needs of strangers above the value of their own lives? The rescuers asked for nothing in return except to learn what became of their "guests" following the war. Not until the collapse of the secretive Communist Albanian regime did the story of the rescue become internationally known. <br><br>The life of fine-art photographer Norman Gershman was changed when he decided to seek out and honor in photographs the people who risked their lives during the Holocaust to save Jews. Photographer Stuart Huck joined Gershman in Albania to help create a significant portfolio of images depicting the rescuers. The Besa photographs have been exhibitied in the United Nations in New York and Yad Va&apos;Shem in Israel. <br><br>Both Gershman and Huck are fine-art photographers trained in the tradition of Ansel Adams. Gershman&apos;s most recent book, <i>Besa: Muslims Who Saved Jews in World War II</i> was published in 2008. The stories in Besa will be the focus of a full-length documentary, God&apos;s House, by filmmaker Rachel Goslins. <br><br>Johanna Neumann was born into a family of merchants in Hamburg, Germany, on December 2, 1930. Unsuccessful in their repeated attempts to get visas to enter the United States, her family stayed in Germany until 1939, when they escaped to Albania along with other Jewish-German families. The Neumanns fled from one town to another in Albania until the close of the war, seeking refuge with their Albanian protectors. In June 1946, Johanna and her mother left Italy for the United States.'
eventText[1]=eventText[0]
eventText[2]=eventText[0]
eventText[3]='Bettina Goering, grandniece of prominent member of the Nazi regime Hermann Goering, has long tried to bury the dark legacy of her family history. Painter Ruth Rich, a daughter of Holocaust survivors, cannot resolve her deep-rooted anger over the suffering of her parents and the loss of an older brother in the Holocaust. Bettina seeks out Ruth in an attempt to confront her enormous guilt and her fear that the capacity for evil is in her blood. When the women meet, their hidden guilt and rage clash in a series of intimate and extraordinary meetings. <br><br><i>Bloodlines</i> follows Ruth and Bettina as they face the past in their quest to heal the present. Their meetings are interspersed with individual interviews, powerful images from Ruth’s paintings, and archival photos. This contemporary film brings to light, in a way never before seen, the unwritten cost of war and genocide on future generations of both victims and perpetrators. Bloodlines gives relevant and timely insight into the difficult process of reconciliation and forgiveness, and the long-term consequences of hatred. A discussion facilitated by Sara Figal, Assistant Professor of Germanic and Slavic Studies, will follow the screening. <br><br>Sponsored in conjunction with the International Lens Film Series.'
eventText[4]='Join other Vanderbilt students for a guided trip through the United States Holocaust Memorial Museum in Washington, D.C. This event will take place over the Fall Break and is open to full-time Vanderbilt students only. A co-payment is required and space is limited. For more information, telephone 322-2457.'
eventText[5]='Eugenics, the belief and scientific practice that humanity can be improved by selective breeding of those from "good stock," was born in England and thrived in the United States. This theory led to the involuntary sterilization of thousands of the "unfit" and ultimately contributed to the horrors of the Holocaust under the Nazis. In the 21st century, public discourse is full of the "gene for this" and the "gene for that" for traits ranging from cancer and common disease to intelligence and behavior. How can we avoid the earlier horrors of a misguided focus on inheritance? Will we be tempted to eliminate genetic "deficiencies"? Professor Clayton will argue that attention to the history of past abuses, legal and social changes in the last fifty years, and the science itself provide powerful strategies for protecting the dignity and promoting the well-being of each person. Ellen Wright Clayton, MD, JD, is Rosalind E. Franklin Professor of Genetics and Health Policy and director of the Center for Biomedical Ethics and Society at Vanderbilt University.'
eventText[6]='Martin Weiss was one of nine children born to Orthodox Jewish parents in Polana, a rural village in the Carpathian Mountains. His father owned a farm and a meat business, and his mother attended to the children and the home. Everyone in the family helped take care of the horses and cows. In March 1939, his life was changed dramatically when Nazi Germany and its allies dismembered Czechoslovakia. Hungarian troops occupied Polana, and Jews were subjected to discriminatory legislation. In April 1944, Hungarian gendarmes transported the village&apos;s Jews, including the Weiss family, to the Munkacs ghetto. In May, they were deported to the Auschwitz-Birkenau killing center. Weiss, his father, brother, and two uncles were selected for forced labor; the other family members were sent to the gas chambers. Weiss and his father were sent to the Mauthausen concentration camp in Austria, and then to the subcamp of Melk, where they were forced to build tunnels into the side of the mountains. His father perished there. Weiss was liberated at the Gunskirchen camp by U.S. troops in May 1945.'
eventText[7]='By February 1946, Gyorgy Kadar had completed the first cycle of fifty-seven Holocaust drawings chronicling his experiences in five concentration camps. After more than a forty-year hiatus, he started his second Holocaust series "The Haunted Imagination." The second graphic cycle was completed in two years and consists of sixteen drawings commemorating the murder of nearly one-half million Hungarian Jews, many of whom died in Auschwitz-Birkenau, the largest Nazi concentration camp and the place where most Hungarian Jews were murdered. For Kadar, Auschwitz-Birkenau is both a personal and a generic symbol: one of the sites of Kadar&apos;s own incarceration and the place where twenty-five members of his family had been killed; simultaneously, it is the metaphor and symbol for all concentration camps.'
eventText[8]=""

var eventMonth=new Array(10,10,10,10,10,10,11,11,11)
var eventDay=  new Array( 6,18,18,20,23,27, 1, 5, 5)

var monthName=new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October","November", "December");

function outputCard(index) {
	document.write('<p class="eventDate">'+eventTextDate[index]+'</p>');
	//document.write('<p class="eventTitle">'+eventTitle[index]+'</p>');
	document.write('<a class="eventTitle" href="hlsevent.html?event='+index+'">'+eventTitle[index]+'</a>');
	document.write('<p class="eventLoc">'+eventLoc[index]+'</p>');
	if(eventSpeaker[index] != "") {
		document.write('<table border=0 cellpadding=5 style="border: 1px solid gray;"><tr>');
		if(eventImage[index] != "") {
			document.write('<td><img src="'+eventImage[index]+'"></td>');
		}
		document.write('<td><p class="eventSpeaker">'+eventSpeaker[index]+'</p>');
	//	document.write('<p class="eventInst">'+eventInst[index]+'</p>');
		document.write('</td></tr></table>');
	}
}

function outputCardFull(index) {
	document.write('<p class="eventDate">'+eventTextDate[index]+'</p>');
	document.write('<p class="eventTitle">'+eventTitle[index]+'</p>');
	document.write('<p class="eventLoc">'+eventLoc[index]+'</p>');
	if(eventSpeaker[index] != "") {
		document.write('<table border=0 cellpadding=5 style="border: 1px solid gray;"><tr>');
		if(eventImage[index] != "") {
			document.write('<td><img src="'+eventImage[index]+'"></td>');
		}
		document.write('<td><p class="eventSpeaker">'+eventSpeaker[index]+'</p>');
	//	document.write('<p class="eventInst">'+eventInst[index]+'</p>');
		document.write('</td></tr></table>');
	}
	if(optionalEventImage[index] != "") {
		document.write('<img src="'+optionalEventImage[index]+'" style="float:right; margin: 25px 0 25px 15px;">');
	}
	document.write('<p class="eventText">'+eventText[index]+'</p>');
}


function outputBrief(index) {
	document.write('<p class="eventDate">'+eventTextDate[index]+'</p>');
	document.write('<p class="eventSpeaker">'+eventSpeaker[index]+'</p>');
	document.write('<p class="eventTitle">'+eventTitle[index]+'</p><div style="margin:0px 0px 10px 0px;"><p class="eventLoc">'+eventLoc[index]+'</p></div>');
}


function minmax(a,e){
var b=a[0];
var c=a[0];
for(d=0;d<a.length;d++){
b=Math.max(b,a[d]);
c=Math.min(c,a[d]);
}
return eval(e);
}

function outputCalendar()
{
	for(loopMonth=minmax(eventMonth,'c'); loopMonth<=minmax(eventMonth,'b');loopMonth++) {
		document.write('<table border=0 style="background-color: #FFFFCC; border: 5px solid #5E3C3C;">');
		document.write('<tr><td align="left" valign="top" width=115><center><p class="month">'+monthName[loopMonth-1]+'</p></center></td><td width=16></td><td width=400 style="padding: 3px;">');
		for(i=0;i<eventMonth.length;i++) {
			if(eventMonth[i] == loopMonth) {
				document.write('<table border=0 style="border-left: solid 2px #888; padding-left: 5px"><tr><td width=330>');
				outputBrief([i]);
				document.write('</td><td width=16></td><td valign="top"><form action="hlsevent.html" method="get">');
				document.write('<input');
				document.write('   type="submit"');
				document.write('   value="Details"');
				document.write('   title="">');
				document.write('<input type="hidden" name="event" value="',i,'">');
				document.write('</form></td></tr></table>');
			}
		}
		document.write('</td></tr>');
		/*<tr style="background-color: white;" height=20><td colspan=3></td></tr>'*/
		document.write('</tr></table><div style="margin-top: 30px;"></div>');
	}
}
function outputSideCal()
{
	for(loopMonth=minmax(eventMonth,'c'); loopMonth<=minmax(eventMonth,'b');loopMonth++) {
		for(i=0;i<eventMonth.length;i++) {
			if(eventMonth[i] == loopMonth) {
				outputBriefSideCal([i]);
			}
		}
	}
}
function outputBriefSideCal(index) {
	//document.write('<center><div class="sideCalHR"></div></center>');
	document.write('<hr style="height:1px; width:80%" align="center">');
document.write('<p class="eventDateSideCal">'+eventTextDate[index]+'</p>');
	//document.write('<p class="eventTitleSideCal">'+eventTitle[index]+'</p>');
	document.write('<a class="eventTitleSideCal" href="hlsevent.html?event='+index+'">'+eventTitle[index]+'</a>');
	document.write('<p class="eventSpeakerSideCal">'+eventSpeaker[index]+'</p>');
	document.write('<div style="margin:0px 0px 10px 0px;"><p class="eventLocSideCal">'+eventLoc[index]+'</p></div>');
}
function outputEvent()
{
	var query = window.location.search;
    query = query.substring(7,8);
	outputCardFull(query);
}
function outputNext()
{
	bestIndex=-1;
	bestMonth=100;
	bestDay=100;
	for(i=0;i<eventMonth.length;i++) {
		if(eventMonth[i] > month || (eventMonth[i] == month && eventDay[i] >= day)) {
			if(eventMonth[i]<bestMonth || (eventMonth[i]==bestMonth && eventDay[i]<bestDay)) {
				bestIndex=i; bestMonth=eventMonth[i]; bestDay=eventDay[i];
			}
		}
	}
	if(bestIndex==-1 || year > hlsyear) {
		document.write('<div id="next">');
		document.write('<div class="nextHeader">>>Next event</div>');
		document.write('<div class="nextBody">');
		document.write('<p>All events have occured already this year. Check back later for the 2010 lecture series.</p>');
	    document.write('</div>');		

		//document.write('<p>All events have occured already this year. Check back later for the 2010 lecture series!</p>');
	} else {
		document.write('<div id="next">');
		document.write('<div class="nextHeader"><a class="cardlink" href="hlsevent.html?event=',bestIndex,'">>>Next event <span class="smalllink">(click on title for details)</span></a></div>');
		document.write('<div class="nextBody">');
		outputCard(bestIndex);
	    document.write('</div>');		
	}

//document.write(eventTitle[0],eventDay[2])
//document.write(month,',',day,',',datetotal,'<br>\n')
//document.write('fartjoke')
}

function outputFeatured()
{
	bestIndex=-1;
	numAfter=0;
	bestMonth=100;
	bestDay=100;
	for(i=0;i<eventMonth.length;i++) {
		if(eventMonth[i] > month || (eventMonth[i] == month && eventDay[i] >= day)) {
			numAfter++;
			if(eventMonth[i]<bestMonth || (eventMonth[i]==bestMonth && eventDay[i]<bestDay)) {
				bestIndex=i; bestMonth=eventMonth[i]; bestDay=eventDay[i];
			}
		}
	}
	if(numAfter==0) {
			document.write('<div class="nextHeader">>>Featured event</div>');
			document.write('<div class="nextBody">');
			document.write('<p>All events have occured already this year. Check back later for the 2010 lecture series.</p>');
	} else {
		if(numAfter==1) {
			document.write('<div class="nextHeader"><a class="cardlink"href="hlsevent.html?event=',bestIndex,'">>>Featured event <span class="smalllink">(click for details)</span></a></div>');
			document.write('<div class="nextBody">');
			outputCard(bestIndex);
		} else {
			picked=0;
			while(picked<1) {
				var randomIndex = Math.round((eventMonth.length-1)*Math.random())
				if(randomIndex != bestIndex && (eventMonth[randomIndex] > month || (eventMonth[randomIndex] == month && eventDay[randomIndex] >= day))) {
					picked=1;
				}
			}
			document.write('<div class="nextHeader"><a class="cardlink"href="hlsevent.html?event=',randomIndex,'">>>Featured event <span class="smalllink">(click for details)</span></a></div>');
			document.write('<div class="nextBody">');
			outputCard(randomIndex);
		}
	//document.write(bestIndex,',',bestMonth,',',bestDay);
	}

//document.write(eventTitle[0],eventDay[2])
//document.write(month,',',day,',',datetotal,'<br>\n')
//document.write('fartjoke')
}

function outputHeaderNew() {
	document.write('<table width=100% border=0 cellpadding=0 cellspacing=0><tr><td colspan=2 bgcolor="#222222" style="padding-top: 10px; padding-left: 10px; padding-right: 10px;"><div style="margin-bottom: 10px;"><span class="title1">30th Annual Vanderbilt University</span> <span class="title2">HOLOCAUST LECTURE SERIES</span> <span class="title1">October-November 2007</span></div><span class="title3">BROKEN</span></td></tr><tr><td><span class="title4">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SILENCE</span></td><td valign="top" style="text-align:right;"><div id="linkheader"><ul><li><a href="index.html">home</a></li><li><a href="hlsnews.html">news</a><li><a href="hlsparking.html">parking</a><li><a href="hlssponsors.html">contributors</a><li><a href="hlspast.html">past series</a></li></ul></div></td></tr></table>');
}

function outputHeader() {
	document.write('<table width=100% border=0 cellspacing=0 cellpadding=0><tr><td rowspan=2 bgcolor="#000000"><font color="#b32316" size=1>.</font></td><td rowspan=2 valign="top" width=372><img src="incl/headerl.gif"></td><td valign="top" width=388><img src="incl/headerr.gif" /></td></tr><tr><td valign="top"><div id="linkheader"><ul><li><a href="index.html">[home]</a></li><li><a href="hlsnews.html">[news]</a><li><a href="hlsparking.html">[parking]</a><li><a href="hlssponsors.html">[contributors]</a><li><a href="hlspast.html">[past series]</a></li></ul></div></td></tr></table>');
}



function outputNextFeat() {
	outputNext();
	outputFeatured();
    document.write('</div>    ');
    
	document.write('</div>');
}