//Current Event. This appears on the home page
function CurrentEvent(speakerTitle,speakerTitle2,speakerFirst,speakerLast,speakerGender,speakerLetters,speakerCredentials,speakerBio,topic,date,venueName,venueAddress,CutoffDate,CutoffDate2,CutoffDate3,specialoffer,VIPstart,VIPstop,VIPPrice1,VIPPrice2,VIPPrice3,receptionStart,receptionStop,speakerStart,booksigningStart,dinnerStart,imagename,speakerpage,bookimage,booklink,eventCity) {
currentEventstring='\n';
//currentEventstring+='	&quot;life, God, and other small topics&quot;</p>\n';
currentEventstring+='	<div id="speakerphoto">\n';
currentEventstring+='	<IMG SRC="images/'+imagename+'" BORDER=0><BR><p class="caption">'+speakerTitle+''+speakerTitle2+''+speakerFirst+''+speakerLast+'</p></div>\n';
currentEventstring+='	<div id="eventinfotop">\n';
//currentEventstring+='	<h1>SAVE THE DATE</h1>\n';
currentEventstring+='	<h2>Socrates in the City <br>'+date+'</h2>\n';
currentEventstring+='	<p>Please join  host <a href="Bio_Metaxas.html">Eric Metaxas</a> and special guest</p>\n';
currentEventstring+='	<h1><a href="'+speakerpage+'"><strong>'+speakerTitle+''+speakerTitle2+''+speakerFirst+''+speakerLast+'<span>'+speakerLetters+'</span></strong></a></h1><p class="creds">'+speakerCredentials+'</p><p>who will engage in conversation with Eric Metaxas on the topic of his book</p>\n';
currentEventstring+='	<h1><b>"'+topic+'"</b></h1>\n';
//currentEventstring+='	<P>&nbsp;<\/p><p>Registration and event details to follow.</p>\n';
//currentEventstring+='	<a href="http://www.socratesinthecity.com/gamma/sitc-ny/register.php" target="_self"><div id="registerbutton"><strong>REGISTER NOW</strong></div></a>\n';
//currentEventstring+='	'+specialoffer+'\n';
currentEventstring+='	<p><br><B>** EVENT REGISTRATION CLOSED **<BR></B></p>\n';
//currentEventstring+='	<p><br><B>** EVENT REGISTRATION CLOSED **<BR>(For inquiries about the VIP Reception or Dinner <em>only</em>, please call 646.724.5176)</B></p>\n';
//currentEventstring+='	<p style="margin:20px 0px -30px 0px; padding:0px 0px 20px 20px; font-size:16px;"><a href="#details" target="_self">CLICK HERE FOR FULL EVENT DETAILS</a></p>\n';
currentEventstring+='	<p>&nbsp;</p></div>\n';
currentEventstring+='	<div id="bioinfo" style="position:relative; padding-left:0px; clear:both;">\n';
currentEventstring+='		<p style="font-size:14px; margin-bottom:18px;"><p>'+speakerBio+'&nbsp;&nbsp;<a href="'+speakerpage+'">more ></a></p>\n';
currentEventstring+='	</div>\n';
currentEventstring+='	<div id="booklist">\n';
currentEventstring+='	<h1>Purchase '+speakerFirst+''+speakerLast+'\'s book<\/h1>\n';
currentEventstring+='	<div id="book" class="clearfix">\n';
currentEventstring+='		<a href="'+booklink+'" TARGET="_new"/><img src="images/books/'+bookimage+'" border=0></a>\n';
currentEventstring+='		<a href="'+booklink+'"  TARGET="_new"/><div id="buybutton">BUY IT NOW</div></a>\n';
currentEventstring+='	</div>\n';
currentEventstring+='	</div>\n';
//currentEventstring+='	<div id="blurbs" style="padding:30px 30px 20px 20px;">\n';
//currentEventstring+='		<p style="font-size:17px; margin-bottom:16px;"><strong>Praise for Eric Metaxas\' <em>Bonhoeffer<\/em><\/strong></p>\n';
//currentEventstring+='		<p style="font-size:14px; margin-bottom:20px;">"For anyone whose faith has been strengthened by the life and witness of Dietrich Bonhoeffer, this is the biography you have always wanted. Eric Metaxas has written a rich, detailed, and beautiful account of the great pastor and theologian who gave us <em>The Cost of Discipleship<\/em> and sacrificed his life for opposing Hitler. Metaxas’ <em>Bonhoeffer<\/em> is a monumental achievement and a deeply important work."<strong>-- Greg Thornbury, PhD, Dean of the School of Christian Studies at Union University</strong></p>\n';
//currentEventstring+='		<p style="font-size:14px; margin-bottom:20px;">"<em>A captivating and inspiring read from start to finish.<\/em> Sets the record straight on Bonhoeffer’s commitment to Scripture and his unyielding passion for truth that led him to give up his life in the battle to save the Jews of Europe. Buy it. This book could change your life."<strong>-- James N. Lane, Founder, New Canaan Society; Former General Partner, Goldman, Sachs & Co.</strong></p>\n';
//currentEventstring+='		<p style="font-size:14px; margin-bottom:20px;">"Dietrich Bonhoeffer’s great gift is that his understanding of faith in times of conflict speaks to generation after generation. Eric Metaxas’ <em>Bonhoeffer<\/em> is the biography for this generation. A masterpiece that reads like a great novel and weaves together in one opus an understanding of Bonhoeffer’s theology, the complex and tragic history of 20th century Germany, and the human struggle of a true Christian hero. Eric Metaxas is claiming his place as the preeminent biographer of Christianity’s most courageous figures."<strong>-- Martin Doblmeier, Filmmaker, PBS\' <em>BONHOEFFER<\/em></strong></p>\n';
//currentEventstring+='		<p style="font-size:14px; margin-bottom:20px;">"With great skill, energy, and warmth, Metaxas reminds us why the life of Dietrich Bonhoeffer stands as a rebuke both to believers and skeptics. Rarely has the story of a Christian martyr been told with such realism and depth. It’s a gem of a book."<strong>-- Joseph Loconte, Lecturer in Politics, The King’s College, New York City; Editor of <em>The End of Illusions: Religious Leaders Confront Hitler’s Gathering Storm<\/em></strong></p>\n';
//currentEventstring+='	</div>\n';
currentEventstring+='	<a name="details">\n';
currentEventstring+='	<div id="eventinfo">\n';
currentEventstring+='	<div id="eventspecifics">\n';
currentEventstring+='	<h3>Date and Times</h3>\n';
currentEventstring+='	<p><B>'+date+'</B><br>\n';
currentEventstring+='	Wine and Cheese Reception from '+receptionStart+' till '+receptionStop+'<br>\n';
//currentEventstring+='	The performance will be 75 minutes long, followed by a brief Q&A with Mr. Simonides.\n';
currentEventstring+='	Speaking will begin at '+speakerStart+' SHARP<br>\n';
currentEventstring+='	'+speakerTitle+''+speakerLast+' will sign copies of '+speakerGender+' books at '+booksigningStart+'<br>\n';
currentEventstring+='	<h3>Location</h3>\n';
currentEventstring+='	<p>'+venueName+'<br>\n';
currentEventstring+='	'+venueAddress+'<br>\n';
currentEventstring+='	<p class="footer">**Club requires appropriate attire for all persons; coat and tie for gentlemen.</p>\n';
currentEventstring+='	<h3>Event Registration</h3>\n';
//currentEventstring+='	<p>Details to follow.</p>\n';
currentEventstring+='	<p>Please register/rsvp for this event by clicking <a href="http://www.socratesinthecity.com/gamma/sitc-ny/register.php" target="_self"><strong>here</strong></a> to pay online, <br>or by calling <strong>1.646.201.3375</strong>.</p>\n';
currentEventstring+='	<h3>Admission Price</h3>\n';
currentEventstring+='	<p>\n';
currentEventstring+='	<strong>$35</strong> Before '+CutoffDate+'<br>\n';
currentEventstring+='	<strong>$50</strong> Between '+CutoffDate+' and '+CutoffDate2+'<BR>\n';
currentEventstring+='	<strong>$75</strong> On '+CutoffDate3+'<BR>\n';
currentEventstring+='	<strong>No registration accepted after '+CutoffDate3+' or at the door</strong></p>\n';
currentEventstring+='	<h3>VIP Reception</h3>\n';
currentEventstring+='	<p>There will be an hors d\'oeuvres and wine VIP Reception with '+speakerTitle+''+speakerLast+' from '+VIPstart+' until '+VIPstop+'. Attendance at this reception (and which includes the event immediately following with '+speakerTitle+''+speakerLast+') is $'+VIPPrice1+' before '+CutoffDate+' -- or $'+VIPPrice2+' between '+CutoffDate+' and '+CutoffDate2+', or $'+VIPPrice3+' on<!-- or after--> '+CutoffDate3+'. To rsvp, please click <a href=\"http://www.socratesinthecity.com/gamma/sitc-ny/register.php\"><b>here</b></a>.</p>\n';
currentEventstring+='		<p><em>Please be advised that space for this reception is limited</em>.<br>\n';
currentEventstring+='	<strong>No registration accepted after '+CutoffDate3+' or at the door</strong></p>\n';
currentEventstring+='	<h3><strong><em>SITC</em></strong> Patron\'s Dinner</h3>\n';
currentEventstring+='	<p>There will be a <strong><em>SITC</em></strong> Patron\'s Dinner with '+speakerTitle+''+speakerLast+' and other special guests immediately following the event (approx. '+dinnerStart+')<!--, also on the Ninth Floor-->. Attendance at this dinner (and which includes the VIP Reception and the event with '+speakerTitle+''+speakerLast+') is open to any persons making a tax-deductible donation to <strong><em>Socrates in the City</em></strong> of $500\n';
//currentEventstring+='	<p>There will be a <strong><em>SITC</em></strong> Patron\'s Dinner with special guests immediately following the event (approx. '+dinnerStart+')<!--, also on the Ninth Floor-->. Attendance at this dinner (and which includes the VIP Reception and the event with '+speakerTitle+''+speakerLast+') is open to any persons making a tax-deductible donation to <strong><em>Socrates in the City</em></strong> of $500\n';
currentEventstring+='	or more by clicking <a href="http://www.socratesinthecity.com/gamma/sitc-ny/register.php" target="_self"><b>here</b></a>.</p>\n';
currentEventstring+='		<p><em>Please be advised that seating for this dinner is very limited</em>.<br>\n';
currentEventstring+='	<strong>No registration accepted after '+CutoffDate3+' or at the door</strong></p>\n';
currentEventstring+='		<h3>Donations to <strong><EM>SITC</EM></strong></h3>\n';
currentEventstring+='		<p>If you are unable to be with us on '+date+' for this special evening with '+speakerTitle+''+speakerLast+' but would like to contribute to the work of <strong><em>Socrates in the City</em></strong> by making a tax-deductible donation at this time, we would be very grateful to you. To make a tax-deductible donation to <strong><em>Socrates in the City</em></strong> please <a href="http://www.socratesinthecity.com/donate.html" target="_self"><b>click here</b></a>.</p>\n';
currentEventstring+='	<p>For information on how to sponsor a <em>Socrates in the City</em> event please contact Eric Metaxas at <a href="mailto:metaxas@socratesinthecity.com">metaxas@socratesinthecity.com</a>.<br>\n';
currentEventstring+='	<p class="footer">** <em>Socrates in the City</em> is made possible by Patrons and Friends of <em>Socrates in the City</em>. **</p>\n';
currentEventstring+='	</div>\n';
currentEventstring+='	</div>\n';
currentEventstring+='	\n';
document.write(currentEventstring);
}

//Current Event. This appears on the home page
function CurrentEvent2(speakerTitle,speakerTitle2,speakerFirst,speakerLast,speakerGender,speakerLetters,speakerCredentials,speakerBio,topic,date,venueName,venueAddress,CutoffDate,CutoffDate2,CutoffDate3,specialoffer,VIPstart,VIPstop,VIPPrice1,VIPPrice2,VIPPrice3,receptionStart,receptionStop,speakerStart,booksigningStart,dinnerStart,imagename,speakerpage) {
currentEvent2string='\n';
currentEvent2string+='	<div id="speakerphoto"><a name="event2"><br>&nbsp;</a>\n';
currentEvent2string+='	<IMG SRC="images/'+imagename+'" BORDER=0><BR><p class="caption">'+speakerTitle+''+speakerTitle2+''+speakerFirst+''+speakerLast+'</p></div>\n';
currentEvent2string+='	<div id="eventinfotop">\n';
//currentEvent2string+='	<h1>SAVE THE DATE</h1>\n';
currentEvent2string+='	<h2>Socrates in the City <br>'+date+'</h2>\n';
currentEvent2string+='	<p>Please join  host <a href="Bio_Metaxas.html">Eric Metaxas</a> and special guest</p>\n';
currentEvent2string+='	<h1><a href="'+speakerpage+'"><B>'+speakerTitle+''+speakerTitle2+''+speakerFirst+''+speakerLast+'</B><span>'+speakerLetters+'</span></a></h1><p class="creds">'+speakerCredentials+'</p><p>who will speak on the subject of '+speakerGender+' book</p>\n';
currentEvent2string+='	<h1><b>"'+topic+'"</b></h1>\n';
//currentEvent2string+='	<P>&nbsp;<\/p><p>Registration and event details to follow.</p>\n';
currentEvent2string+='	<div id="registerbutton"><a href="http://www.socratesinthecity.com/gamma/sitc-ny2/register.php" target="_self" style="color:#ffffff;">REGISTER NOW!</a></p></div>\n';
//currentEvent2string+='	'+specialoffer+'\n';
//currentEvent2string+='	<p><br><B>** EVENT REGISTRATION CLOSED **<BR>(For inquiries about the VIP Reception or Dinner <em>only</em>, please call 646.724.5176)</B></p>\n';
currentEvent2string+='	<p>&nbsp;</p></div>\n';
currentEvent2string+='	<div id="bioinfo" style="position:relative; padding-left:0px; clear:both;">\n';
currentEvent2string+='	<p style="font-size:14px; margin-bottom:18px;"><p>'+speakerBio+'&nbsp;<a href="'+speakerpage+'">more ></a></p>\n';
currentEvent2string+='	</div>\n';
currentEvent2string+='	<div id="booklist">\n';
currentEvent2string+='	<h1>Purchase '+speakerFirst+''+speakerLast+'\'s books<\/h1>\n';
currentEvent2string+='	<div id="book" class="clearfix">\n';
currentEvent2string+='		<a href="http://www.amazon.com/gp/product/0465092683?ie=UTF8&tag=wwwericmetaxc-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=0465092683" TARGET="_new"/><img src="images/books/weigel-thecube.jpg" border=0></a>\n';
currentEvent2string+='		<div id="buybutton"><a href="http://www.amazon.com/gp/product/0465092683?ie=UTF8&tag=wwwericmetaxc-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=0465092683"  TARGET="_new"/>BUY IT NOW</a></div>\n';
currentEvent2string+='	</div>\n';
currentEvent2string+='	<div id="book" class="clearfix">\n';
currentEvent2string+='		<a href="http://www.amazon.com/gp/product/0060732032?ie=UTF8&tag=wwwericmetaxc-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=0060732032" TARGET="_new"/><img src="images/books/weigel-witnesstohope.jpg" border=0></a>\n';
currentEvent2string+='		<div id="buybutton"><a href="http://www.amazon.com/gp/product/0060732032?ie=UTF8&tag=wwwericmetaxc-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=0060732032"  TARGET="_new"/>BUY IT NOW</a></div>\n';
currentEvent2string+='	</div>\n';
currentEvent2string+='	</div>\n';
currentEvent2string+='	<div id="eventinfo">\n';
currentEvent2string+='	<div id="eventspecifics">\n';
currentEvent2string+='	<h3>Date and Times</h3>\n';
currentEvent2string+='	<p><B>'+date+'</B><br>\n';
currentEvent2string+='	Wine and Cheese Reception from '+receptionStart+' till '+receptionStop+'<br>\n';
//currentEvent2string+='	The performance will be 75 minutes long, followed by a brief Q&A with Mr. Simonides.\n';
currentEvent2string+='	Speaking will begin at '+speakerStart+' SHARP<br>\n';
currentEvent2string+='	'+speakerTitle+''+speakerLast+' will sign copies of '+speakerGender+' books at '+booksigningStart+'<br>\n';
currentEvent2string+='	<h3>Location</h3>\n';
currentEvent2string+='	<p>'+venueName+'<br>\n';
currentEvent2string+='	'+venueAddress+'<br>\n';
//currentEvent2string+='	<p class="footer">*Club requires appropriate attire for all persons; coat and tie for gentlemen.</p>\n';
currentEvent2string+='	<h3>Event Registration</h3>\n';
//currentEvent2string+='	<p>Details to follow.</p>\n';
currentEvent2string+='	<p>Please register/rsvp for this event by clicking <a href="http://www.socratesinthecity.com/gamma/sitc-ny2/register.php" target="_self"><strong>here</strong></a> to pay online, <br>or by calling <strong>1.646.201.3375</strong>.</p>\n';
currentEvent2string+='	<h3>Admission Price</h3>\n';
currentEvent2string+='	<p>\n';
currentEvent2string+='	<strong>$35</strong> Before '+CutoffDate+'<br>\n';
currentEvent2string+='	<strong>$50</strong> Between '+CutoffDate+' and '+CutoffDate2+'<BR>\n';
currentEvent2string+='	<strong>$75</strong> On or after '+CutoffDate3+' or at the door<BR>(No RSVPs accepted day of event)</p>\n';
currentEvent2string+='	<h3>VIP Reception</h3>\n';
currentEvent2string+='	<p>There will be an hors d\'oeuvres and wine VIP Reception with '+speakerTitle+''+speakerLast+' from '+VIPstart+' until '+VIPstop+'. Attendance at this reception (and which includes the event immediately following with '+speakerTitle+''+speakerLast+') is $'+VIPPrice1+' before '+CutoffDate+' -- or $'+VIPPrice2+' between '+CutoffDate+' and '+CutoffDate2+', or $'+VIPPrice3+' on or after '+CutoffDate3+'. To rsvp, please click <a href=\"http://www.socratesinthecity.com/gamma/sitc-ny2/register.php\"><b>here</b></a>.</p>\n';
currentEvent2string+='		<p><em>Please be advised that space for this reception is limited</em>.</p>\n';
currentEvent2string+='	<h3><strong><em>SITC</em></strong> Patron\'s Dinner</h3>\n';
//currentEvent2string+='	<p>There will be a <strong><em>SITC</em></strong> Patron\'s Dinner with '+speakerTitle+''+speakerLast+' and other special guests immediately following the event (approx. '+dinnerStart+')<!--, also on the Ninth Floor-->. Attendance at this dinner (and which includes the VIP Reception and the event with '+speakerTitle+''+speakerLast+') is open to any persons making a tax-deductible donation to <strong><em>Socrates in the City</em></strong> of $500\n';
currentEvent2string+='	<p>There will be a <strong><em>SITC</em></strong> Patron\'s Dinner with special guests immediately following the event (approx. '+dinnerStart+')<!--, also on the Ninth Floor-->. Attendance at this dinner (and which includes the VIP Reception and the event with '+speakerTitle+''+speakerLast+') is open to any persons making a tax-deductible donation to <strong><em>Socrates in the City</em></strong> of $500\n';
currentEvent2string+='	or more by clicking <a href="http://www.socratesinthecity.com/gamma/sitc-ny2/register.php" target="_self"><b>here</b></a>.</p>\n';
currentEvent2string+='		<p><em>Please be advised that seating for this dinner is very limited</em>.</p>\n';
currentEvent2string+='		<h3>Donations to <strong><EM>SITC</EM></strong></h3>\n';
currentEvent2string+='		<p>If you are unable to be with us on '+date+' for this special evening with '+speakerTitle+''+speakerLast+' but would like to contribute to the work of <strong><em>Socrates in the City</em></strong> by making a tax-deductible donation at this time, we would be very grateful to you. To make a tax-deductible donation to <strong><em>Socrates in the City</em></strong> please <a href="http://www.socratesinthecity.com/donate.html" target="_self"><b>click here</b></a>.</p>\n';
currentEvent2string+='	<p>For information on how to sponsor a <em>Socrates in the City</em> event please contact Eric Metaxas at <a href="mailto:metaxas@socratesinthecity.com">metaxas@socratesinthecity.com</a>.<br>\n';
currentEvent2string+='	<p class="footer">** <em>Socrates in the City</em> is made possible by Patrons and Friends of <em>Socrates in the City</em>. **</p>\n';
currentEvent2string+='	</div>\n';
currentEvent2string+='	</div>\n';
currentEvent2string+='	\n';
document.write(currentEvent2string);
}

//Current Event. This appears on the home page
function CurrentEventAdd(speakerTitle,speakerFirst,speakerLast,speakerGender,speakerLetters,speakerCredentials,topic,date,venueName,venueAddress,CutoffDate,CutoffDate2,CutoffDate3,specialoffer,VIPstart,VIPstop,receptionStart,receptionStop,speakerStart,booksigningStart,dinnerStart,imagename,speakerpage) {
currentEventstringAdd='\n';
//currentEventstringAdd+='	Please join us for an evening of<BR>entertaining and thought-provoking discussions on<br>\n';
//currentEventstringAdd+='	&quot;life, God, and other small topics&quot;</p>\n';
currentEventstringAdd+='	<div id="speakerphoto">\n';
currentEventstringAdd+='	<IMG SRC="http://www.socratesinthecity.com/images/'+imagename+'" BORDER=0><BR><p class="caption">'+speakerTitle+''+speakerFirst+''+speakerLast+'</p></div>\n';
currentEventstringAdd+='	<div id="eventinfotop">\n';
currentEventstringAdd+='	<h2>Socrates in the City <br>'+date+'</h2>\n';
currentEventstringAdd+='	<p>Please join  host <a href="Bio_Metaxas.html">Eric Metaxas</a> and special guest</p>\n';
currentEventstringAdd+='	<h1><a href="'+speakerpage+'"><B>'+speakerTitle+''+speakerFirst+''+speakerLast+'</B><span>'+speakerLetters+'</span></a></h1><p class="creds">'+speakerCredentials+'</p><p>who will speak on the subject of '+speakerGender+' upcoming book</p>\n';
currentEventstringAdd+='	<h1><b>"'+topic+'"</b></h1>\n';
currentEventstringAdd+='	<div id="registerbutton"><a href="http://www.socratesinthecity.com/gamma/sitc-ny2/register.php" target="_self" style="color:#ffffff;">REGISTER NOW!</a></p></div>\n';
currentEventstringAdd+='	<p>&nbsp;</p></div>\n';
currentEventstringAdd+='	<div id="bioinfo" style="position:relative; padding-left:0px; clear:both;">\n';
currentEventstringAdd+='	<p style="font-size:14px; margin-bottom:18px;"><strong>DR. WILLIAM B. HURLBUT</strong> is a physician and Consulting Professor at the Neuroscience Institute. After receiving his undergraduate and medical training at Stanford Univeristy, he completed postdoctoral studies in theology and medical ethics, studying with William Hamerton-Kelly, the Dean of the Chapel at Stanford, and subsequently with the Rev. Louis Bouyer of the Institut Catholique de Paris.</p><p>His primary areas of interest involve the ethical issues associated with advancing biomedical technology, the biological basis of moral awareness, and studies in the integration of theology and philosophy of biology. He is the author of numerous publications on science and ethics including the co-edited volume <em>Altruism and Altruistic Love: Science, Philosophy, and Religion in Dialogue</em> (2002, Oxford University Press), and "Science, Religion and Human Spirit" in the forthcoming Oxford Handbook of Science and Religion. He is also a co-chair of two interdisciplinary faculty projects at Stanford University, "Becoming Human: The Evolutionary Origins of Spiritual, Religious, and Moral Awareness," and "Brain, Mind and Emergence."</p><p>In addition to teaching at Stanford, he has worked with NASA on projects in Astrobiology and is a member of the Chemical and Biological Warfare working group at the Center for International Security and Cooperation. Since 2002 he has served on the President\'s Council on Bioethics. He is the author of <em>Altered Nuclear Transfer</em>, a proposed technological solution to the moral controversy over embryonic stem cell research.</p>\n';
currentEventstringAdd+='	</div>\n';
currentEventstringAdd+='	<div id="eventinfo">\n';
currentEventstringAdd+='	<div id="eventspecifics">\n';
currentEventstringAdd+='	<h3>Date and Times</h3>\n';
currentEventstringAdd+='	<p><B>'+date+'</B><br>\n';
currentEventstringAdd+='	Wine and Cheese Reception from '+receptionStart+' till '+receptionStop+'<br>\n';
currentEventstringAdd+='	Speaking will begin at '+speakerStart+' SHARP<br>\n';
//currentEventstringAdd+='	'+speakerFirst+' '+speakerLast+' will sign copies of '+speakerGender+' books at '+booksigningStart+'<br>\n';
currentEventstringAdd+='	<h3>Location</h3>\n';
currentEventstringAdd+='	<p>'+venueName+'<br>\n';
currentEventstringAdd+='	'+venueAddress+'<br>\n';
currentEventstringAdd+='	<h3>Event Registration</h3>\n';
currentEventstringAdd+='	<p>Please register/rsvp for this event by clicking <a href="http://www.socratesinthecity.com/gamma/sitc-ny2/register.php" target="_self"><strong>here</strong></a> to pay online, <br>or by calling <strong>1.646.201.3375</strong>.</p>\n';
currentEventstringAdd+='	<h3>Admission Price</h3>\n';
currentEventstringAdd+='	<p>\n';
currentEventstringAdd+='	<strong>$35</strong> Before '+CutoffDate+'<br>\n';
currentEventstringAdd+='	<strong>$50</strong> Between '+CutoffDate+' and '+CutoffDate2+'<BR>\n';
currentEventstringAdd+='	<strong>$75</strong> On or after '+CutoffDate3+' or at the door<BR>(No RSVPs accepted day of event)</p>\n';
currentEventstringAdd+='	<h3>VIP Reception</h3>\n';
currentEventstringAdd+='	<p>There will be an hors d\'oeuvres and wine VIP Reception with '+speakerFirst+''+speakerLast+' from '+VIPstart+' until '+VIPstop+'. Attendance at this reception (and which includes the event immediately following with '+speakerTitle+''+speakerLast+') is $75 before '+CutoffDate+' -- or $100 between '+CutoffDate+' and '+CutoffDate2+', or $125 on or after '+CutoffDate3+'. To rsvp, please click <a href=\"http://www.socratesinthecity.com/gamma/sitc-ny/register.php\"><b>here</b></a>.</p>\n';
currentEventstringAdd+='		<p><em>Please be advised that space for this reception is limited</em>.</p>\n';
currentEventstringAdd+='	<h3><strong><em>SITC</em></strong> Patron\'s Dinner</h3>\n';
currentEventstringAdd+='	<p>There will be a <strong><em>SITC</em></strong> Patron\'s Dinner with '+speakerTitle+''+speakerLast+' and other special guests immediately following the event (approx. '+dinnerStart+')<!--, also on the Ninth Floor-->. Attendance at this dinner (and which includes the VIP Reception and the event with '+speakerFirst+''+speakerLast+') is open to any persons making a tax-deductible donation to <strong><em>Socrates in the City</em></strong> of $500\n';
currentEventstringAdd+='	or more by clicking <a href="http://www.socratesinthecity.com/gamma/sitc-ny2/register.php" target="_self"><b>here</b></a>.</p>\n';
currentEventstringAdd+='		<p><em>Please be advised that seating for this dinner is very limited</em>.</p>\n';
currentEventstringAdd+='		<h3>Donations to <strong><EM>SITC</EM></strong></h3>\n';
currentEventstringAdd+='		<p>If you are unable to be with us on '+date+' for this special evening with '+speakerFirst+''+speakerLast+' but would like to contribute to the work of <strong><em>Socrates in the City</em></strong> by making a tax-deductible donation at this time, we would be very grateful to you. To make a tax-deductible donation to <strong><em>Socrates in the City</em></strong> please <a href="http://www.socratesinthecity.com/donate.html" target="_self"><b>click here</b></a>.</p>\n';
currentEventstringAdd+='	<p>For information on how to sponsor a <em>Socrates in the City</em> event please contact Eric Metaxas at <a href="mailto:metaxas@socratesinthecity.com">metaxas@socratesinthecity.com</a>.<br>\n';
currentEventstringAdd+='	<p class="footer">** <em>Socrates in the City</em> is made possible by Patrons and Friends of <em>Socrates in the City</em>. **</p>\n';
currentEventstringAdd+='	</div>\n';
currentEventstringAdd+='	</div>\n';
currentEventstringAdd+='	\n';
document.write(currentEventstringAdd);
}




//Menu of all speakers. This appears on each page
function speakerList() {

SPEAKERstring='<div id="speakerlist"> \n';
SPEAKERstring+='<H1>HOST</H1> \n';
SPEAKERstring+='<UL> \n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Metaxas.html">Eric Metaxas</A></LI>\n';
SPEAKERstring+='</UL> \n';
SPEAKERstring+='<H1>PAST SPEAKERS</H1> \n';
SPEAKERstring+='<UL> \n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Aikman.html">David Aikman</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Aitken.html">Jonathan Aitken</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Batstone.html">David Batstone</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_BethkeElshtain.html">Dr. Jean<BR> Bethke Elshtain</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Collins.html">Francis Collins</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Colson.html">Chuck Colson</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Cox.html">Baroness Cox</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_DSouza.html">Dinesh D\'Souza</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_George.html">Robert George</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Gingerich.html">Owen Gingerich</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Gioia.html">Dana Gioia</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Guillen.html">Michael Guillen</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Guinness.html">Os Guinness</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Howard.html">Tom Howard</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Huckabee.html">Mike Huckabee</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Hurlbut.html">William Hurlbut</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Jacobs.html">Alan Jacobs</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Kreeft.html">Peter Kreeft</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Loconte.html">Joseph Loconte</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_London.html">Herbert London</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Mathewes-Green.html">Frederica <BR>Mathewes-Green</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_McGrath.html">Alister McGrath</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Metaxas.html">Eric Metaxas</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Neuhaus.html">Fr. Richard J. Neuhaus</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Nicholi.html">Armand Nicholi</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Norris.html">Kathleen Norris</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Polkinghorne.html">Sir John Polkinghorne</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Sacks.html">Rabbi Sir Jonathan Sacks</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_RobackMorse.html">Dr. Jennifer Roback Morse</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Schroeder.html">Gerald Schroeder</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Scruton.html">Roger Scruton</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Sherman.html">Scot Sherman</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Simonides.html">Yannis Simonides</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Vitz.html">Paul C. Vitz</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_vonHildebrand.html">Alice von Hildebrand</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Ward.html">Michael Ward</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Weigel.html">George Weigel</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Winner.html">Lauren Winner</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Wright.html">N.T. Wright</A></LI>\n';
SPEAKERstring+='<LI><a href="http://www.socratesinthecity.com/Bio_Yousef.html">Mosab Hassan Yousef</A></LI>\n';
SPEAKERstring+='</UL> \n';
SPEAKERstring+='</div> \n';
document.write(SPEAKERstring);
}








//Current Event. This appears on the home page
function CurrentEventSpecial(hostName,author1,author2,hostLetters,author1Letters,author2Letters,speakerCredentials,author1Credentials,author2Credentials,date,startTime,venueName,venueAddress,CutoffDate,CutoffDate2,specialoffer) {
currentEventstring='<td width=100%>\n';
//currentEventstring+='	<p>Please join us for an evening of<BR>entertaining and thought-provoking discussions on<br>\n';
//currentEventstring+='	&quot;life, God, and other small topics&quot;</p>\n';
//currentEventstring+='	<div id="speakerphoto">\n';
currentEventstring+='	<div id="eventinfoSpecial">\n';
currentEventstring+='	<h2>'+date+'</h2>\n';
currentEventstring+='	<p>\n';
currentEventstring+='	<p>Please join  special guest host</p>\n';
currentEventstring+='	<h1><a href="Bio_Sherman.html"><B>'+hostName+', '+hostLetters+'</B></a></h1><p class="creds"><IMG SRC="http://www.socratesinthecity.com/images/ssherman.jpg" WIDTH="60" HEIGHT="74" BORDER=0 align="left" style="padding:0 12px 10px 0;">'+speakerCredentials+'</p>\n';
currentEventstring+='	<p><BR>and his special guests</p>\n';
currentEventstring+='	<h1><a href="Bio_Batstone.html"><B>'+author1+', '+author1Letters+'</B></a></h1><p class="creds"><img src="images/dbatstone.jpg" width="60" HEIGHT=74 align="left" style="padding:0 12px 10px 0;">'+author1Credentials+'</p>\n';
currentEventstring+='	<p><BR>and</p>\n';
currentEventstring+='	<h1><a href="Bio_Metaxas.html"><B>'+author2+' '+author2Letters+'</B></a></h1><p class="creds"><img src="images/emetaxas.jpg" width="60" HEIGHT=74 align="left" style="padding:0 12px 10px 0;">'+author2Credentials+'</p>\n';
currentEventstring+='	<br><p>'+hostName+' will interview his two guests on the subjects of their new books, followed by a q & a with the audience and a book signing.</p>\n';
//currentEventstring+='	<div id="registerbutton"><a href="http://www.socratesinthecity.com/gamma/sitc-ny/register.php" target="_self"><strong>REGISTER NOW!</strong></a></p></div>'+specialoffer+'</div>\n';
currentEventstring+='	<p><B>** EVENT REGISTRATION CLOSED **<BR>(For inquiries about the VIP Reception or Dinner <em>only</em>, please call 646.724.5176)</B></p></div>\n';
currentEventstring+='	<div id="eventspecifics">\n';
currentEventstring+='	<br><h3>Date</h3>\n';
currentEventstring+='	<p><B>'+date+'</B></p>\n';
//currentEventstring+='	<h3>Reception</h3>\n';
//currentEventstring+='	<p>Wine &amp; Cheese Reception from 6:30 till '+startTime+'<br>\n';
currentEventstring+='	<p>Speaking will begin at '+startTime+' SHARP<br>'+author1+' and '+author2+' will sign copies of their books at 8:30pm</p>\n';
currentEventstring+='	<br><h3>Location</h3>\n';
currentEventstring+='	<p>'+venueName+'<br>\n';
currentEventstring+='	'+venueAddress+'<br>\n';
//currentEventstring+='	<p class="footer">*Club requires appropriate attire for all persons; coat and tie for gentlemen.</p>\n';
//currentEventstring+='	<h3>Event Registration</h3>\n';
//currentEventstring+='	<p>Please register/rsvp for this event by clicking <a href="http://www.socratesinthecity.com/gamma/sitc-ny/register.php" target="_self"><strong>here</strong></a> to pay online, <br>or by calling <strong>1.646.201.3375</strong>.</p>\n';
currentEventstring+='	<br><h3>Admission Price</h3>\n';
currentEventstring+='	<p><strong>$15</strong> Before '+CutoffDate+'<br>\n';
currentEventstring+='	<strong>$20</strong> On or after '+CutoffDate+' and before '+CutoffDate2+'<BR>\n';
currentEventstring+='	<strong>$25</strong> On or after '+CutoffDate2+' or at the door<BR>(No RSVPs accepted day of event)</p>\n';
currentEventstring+='	<br><h3>VIP Reception</strong></h3>\n';
currentEventstring+='	<p>There will be an hors d\'oeuvres and wine VIP Reception with '+hostName+', '+author1+', '+author2+', and other special guests from 6:00 pm until 7 pm.  Attendance at this reception (and which includes the event immediately following with '+hostName+', '+author1+', and '+author2+') is available to anyone making a tax-deductible donation of $45 or more to <strong><em>Socrates in the City</em></strong> before '+CutoffDate+' -- or $55 or more between '+CutoffDate+' and '+CutoffDate2+', or $65 or more on or after '+CutoffDate2+' -- by clicking <a href="http://www.socratesinthecity.com/gamma/sitc-ny/register.php" target="_self"><b>here</b></a></p>\n';
currentEventstring+='	<p><em>Please be advised that space for this reception is limited to approximately 100 guests.</em></p>\n';
currentEventstring+='	<br><h3><strong><em>SITC</em></strong> Patron\'s Dinner</h3>\n';
currentEventstring+='	<p>There will be a <strong><em>SITC</em></strong> Patron\'s Dinner with '+hostName+', '+author1+', '+author2+', and other special guests immediately following the event (approx. 9:00 pm). Attendance at this dinner (and which includes the VIP Reception and the event with '+hostName+', '+author1+', and '+author2+') is open to any persons making a tax-deductible donation of $150 or more to <strong><em>Socrates in the City</em></strong> before '+CutoffDate+' -- or $175 or more between '+CutoffDate+' and '+CutoffDate2+', or $200 or more on or after '+CutoffDate2+' -- by clicking <a href="http://www.socratesinthecity.com/gamma/sitc-ny/register.php" target="_self"><b>here</b></a></p>\n';
currentEventstring+='		<p><em>Please be advised that seating for this dinner is very limited</em>.</p>\n';
currentEventstring+='		<h3>Donations to <strong><em>SITC</em></strong></h3>\n';
currentEventstring+='		<p>If you are unable to be with us on '+date+' for this special evening with '+hostName+', '+author1+', and '+author2+' but would like to contribute to the work of <strong><em>Socrates in the City</em></strong> by making a tax-deductible donation at this time, we would be very grateful to you. To make a tax-deductible donation to <strong><em>Socrates in the City</em></strong> please <a href="http://www.socratesinthecity.com/donate.html" target="_self"><b>click here</b></a>.</p>\n';
currentEventstring+='	<p>For information on how to sponsor a <em>Socrates in the City</em> event please contact Eric Metaxas at <a href="mailto:metaxas@socratesinthecity.com">metaxas@socratesinthecity.com</a>.<br>\n';
currentEventstring+='	<p class="footer">** <em>Socrates in the City</em> is made possible by Patrons and Friends of <em>Socrates in the City</em>. **</p>\n';
currentEventstring+='	</div>\n';
currentEventstring+='	</td>\n';
document.write(currentEventstring);
}



//mp3Link code. This link pops up a window that plays an mp3.
function mp3Link() {
mp3Linkstring='<A HREF="javascript:openPopUp(\'http://www.socratesinthecity.com/audio/BaronessCox/mp3-cox.html\',550,600)"><IMG SRC="images/linkBaronessCox.gif" BORDER=0></A>\n';
document.write(mp3Linkstring);
}


//Action Links code. This appears on each page
function ActionLinks() {
ActionLinkstring=' \n';
ActionLinkstring+='<div id="nextad" style="margin:-20px 0px 40px -2px; padding:none;"> \n';
//ActionLinkstring+='<a href="http://www.socratesinthecity.com/index.html#event2" target="_self"><img src="http://www.socratesinthecity.com/images/ads/ad-GeorgeWeigel.jpg" border="0" style="padding-left:-1px;" width="137"></a> \n';
//ActionLinkstring+='<img src="http://www.socratesinthecity.com/images/ads/ad-GalaSTD.jpg" border="0" style="padding-left:-1px;" width="137"> \n';
ActionLinkstring+='	<MAP NAME="fbmap">\n';
ActionLinkstring+='		<AREA HREF="http://www.facebook.com/group.php?gid=26032871786&ref=search&sid=595401708.915756227..1" TARGET="_new" ALT="Join Facebook fan page" TITLE="Join Facebook fan page" SHAPE=RECT COORDS="8,133,129,159">\n';
ActionLinkstring+='		<AREA HREF="http://www.facebook.com/share.php?u=http://www.socratesinthecity.com" onClick="return fbs_click()" target="_blank" class="fb_share_link" SHAPE=RECT COORDS="8,166,129,192">\n';
ActionLinkstring+='	</MAP>\n';
ActionLinkstring+='<a href="javascript:openPopUp(\'http://visitor.constantcontact.com/d.jsp?m=1101836938517&p=oi\',600,650)"><img src="//www.socratesinthecity.com/images/ads/ad-default.jpg" border="0" style="padding-left:-1px;" width="137"></a> \n';
ActionLinkstring+='<img USEMAP="#fbmap" src="//www.socratesinthecity.com/images/ads/ad-facebook.jpg" border="0" style="padding-left:-1px;" width="137"> \n';
ActionLinkstring+='</div> \n';
ActionLinkstring+='<div id="actionbuttons"> \n';
ActionLinkstring+='<UL> \n';
ActionLinkstring+='<LI class="donate"><a href="http://www.socratesinthecity.com/donate.html" target="_self">DONATE to <strong><em>SITC</em></strong></A></LI>\n';
ActionLinkstring+='<LI class="listen"><a href="http://www.socratesinthecity.com/gamma/soc/store.php" target="_self">PURCHASE CDs!</A></LI>\n';
ActionLinkstring+='</UL> \n';
ActionLinkstring+='<H1>PRESS!</H1> \n';
ActionLinkstring+='<UL> \n';
ActionLinkstring+='<LI class="press"><a href="http://www.ericmetaxas.com/?p=113" target="_new"><em>NY Daily News</em> article</A></LI>\n';
ActionLinkstring+='</UL> \n';
ActionLinkstring+='<H1>AUDIO EXCERPTS</H1> \n';
ActionLinkstring+='<UL> \n';
ActionLinkstring+='<LI class="listen"><A HREF="javascript:openPopUp(\'http://www.socratesinthecity.com/audio/BaronessCox/mp3-cox.html\',550,600)\">Baroness Cox<BR><span>Islam and Democracy</span></A></LI>\n';
ActionLinkstring+='<LI class="listen"><A HREF="javascript:openPopUp(\'http://www.socratesinthecity.com/audio/Polkinghorne-Scientist/mp3-polkinghorne.html\',550,600)\">Sir John Polkinghorne<BR><span>Can a Scientist Pray?</span></A></LI>\n';
ActionLinkstring+='<LI class="listen"><A HREF="javascript:openPopUp(\'http://www.socratesinthecity.com/audio/Kreeft-Suffering/mp3-kreeft.html\',550,600)\">Peter Kreeft<BR><span>Making Sense out of Suffering</span></A></LI>\n';
ActionLinkstring+='</UL> \n';
ActionLinkstring+='<H1>WORTH READING</H1> \n';
ActionLinkstring+='<UL> \n';
ActionLinkstring+='<LI class="read"><a href="http://www.nytimes.com/2008/04/22/opinion/22brooks.html?ex=1366603200&en=da01cfd2a4cc5212&ei=5124&partner=permalink&exprod=permalink" target="_new"><em>NYT:<\/em> The Great Escape</a></LI>\n';
ActionLinkstring+='<LI class="read"><a href="http://www.newcriterion.com/archives/26/02/between-art-science" target="_new">Between Art & Science</a></LI>\n';
ActionLinkstring+='<LI class="read"><a href="http://weeklystandard.com/Content/Public/Articles/000/000/012/736fyrpi.asp" target="_new">Socrates or Muhammad?</a></LI>\n';
ActionLinkstring+='<LI class="read"><a href="http://www.christianitytoday.com/bc/2006/005/20.30.html" target="_new">With or Against Culture?</a></LI>\n';
ActionLinkstring+='</UL> \n';
ActionLinkstring+='</div> \n';
document.write(ActionLinkstring);
}




//Action Links code. This appears on each page
function topnav() {
topnavstring='<div id="topnav"> \n';
topnavstring+='<UL> \n';
topnavstring+='<LI class="short"><A HREF="http://www.socratesinthecity.com/index.html" target="_self">HOME</A></LI>\n';
topnavstring+='<LI class="short"><A HREF="http://www.socratesinthecity.com/AboutUs.html" target="_self">ABOUT SITC</A></LI>\n';
topnavstring+='<LI class="short"><a href="http://www.socratesinthecity.com/gamma/soc/store.php" target="_self">SITC STORE</A></LI>\n';
topnavstring+='<LI class="short"><a href="http://www.socratesinthecity.com/Links.html" target="_self">LINKS</A></LI>\n';
topnavstring+='<LI class="long"><a href="http://www.socratesinthecity.com/donate.html" target="_self">MAKE A DONATION</A></LI>\n';
topnavstring+='<LI class="long"><a href="http://www.socratesinthecity.com/ContactUs.html" target="_self">CONTACT US</A></LI>\n';
topnavstring+='<LI class="short"><a href="http://www.socratesinthecity.com/gallery.html" target="_self">PHOTO GALLERIES</A></LI>\n';
//topnavstring+='<LI class="long"><a href="http://www.socratesinthecity.com/gala2009.html" target="_self" style="color:red; font-weight:bold;">2009 CHRISTMAS GALA PHOTOS!</A></LI>\n';
topnavstring+='</UL> \n';
topnavstring+='</div> \n';
document.write(topnavstring);
}


//Current Speaker Photo code. This appears on the home page
function CurrentSpeakerPhoto() {
//SPEAKERPHOTOstring='<p><img src="images/KethleenNorris.jpg"><br>\n';
//document.write(SPEAKERPHOTOstring);
}

//Registration ammount   this shows up on the form
function EventAmount() {
EventAmountstring='<input type="hidden" name="x_amount" value="15.00">\n';
document.write(EventAmountstring);
}


//Day of Event message
//function dayofEventMessage() {
//dayofEventstring='<p style="padding-top:40px;">We\'re sorry, but the online registration deadline for this evening\'s event has passed. You are welcome to pay at the door.</p><p>For inquiries about the VIP Reception or Dinner <em>only</em>, please call 646.724.5176.</p><P>We look forward to seeing you there.</p><P>Sincerely,<BR>Eric Metaxas<BR>President, <em>Socrates in the City</em></p>\n';
//document.write(dayofEventstring);
//}


//Day of Event message
function dayofEventstring() {
dayofEventstring='<p style="padding-top:40px;">We\'re sorry, but the registration deadline for this event has passed.</p><p>Sincerely,<BR>Eric Metaxas<BR>President, <em>Socrates in the City</em></p>\n';
document.write(dayofEventstring);
}


//Day of Event message
function dayofEventMessageSpecial() {
dayofEventstring='<p style="padding-top:40px;">We\'re sorry, but the registration deadline for this evening\'s First Annual Christmas Gala Dinner has passed.  You are welcome to pay $150 at the door, space-permitting.</p><p>For inquiries about the VIP Reception, Friends of Socrates, and Patrons of Socrates seats only, please call 646.724.5176.</p><p>We look forward to seeing you there.</p><P>Sincerely,<BR>Eric Metaxas<BR>President, <em>Socrates in the City</em></p>\n';
document.write(dayofEventstring);
}


//No Events currently scheduled
function noEvents() {
noEventsstring='<p style="padding-top:40px;">We are working on scheduling our next event. Please stay tuned for future events at <A HREF="http://www.socratesinthecity.com" TARGET="_self">www.SocratesintheCity.com</A></p><P>If you\'d like to subscribe to our email list to keep informed about future <em>Socrates</em> events, <a href="javascript:openPopUp(\'http://visitor.constantcontact.com/d.jsp?m=1101836938517&p=oi\',550,400)"><B>click here</B></A>.</P><P>Sincerely,<BR>Eric Metaxas<BR>President, <em>Socrates in the City</em></p>\n';
document.write(noEventsstring);
}

//No Events currently scheduled
function systemDown() {
noEventsstring='<h2>We\'re sorry</h2><p style="padding-top:40px;">We are experiencing technical difficulties with our registration system.</p><p>Send us an email at <strong><a href="mailto:registration@socratesinthecity.com?subject=Let me know when registration is back online&Body=Please%20send%20me%20an%20email%20when%20the%20Socrates%20in%20the%20City%20registration%20system%20is%20back%20online.%0D%0DThank you.">registration@socratesinthecity.com</a></strong>, and we\'ll inform you when the system is back online and ready for your registration.</p><p>We apologize for the inconvenience and will be contacting you shortly.</P><P>Sincerely,<BR>Eric Metaxas<BR>President, <em>Socrates in the City</em></p>\n';
document.write(noEventsstring);
}



//Current Speaker info code. This appears on each page
function CurrentSpeakerInfo() {
SPEAKERINFOstring='<B><font size="2" face="Palatino Linotype" color="#DCBF3B">OUR NEXT EVENT</font></b><BR><BR> \n';
SPEAKERINFOstring+='<IMG SRC="http://www.socratesinthecity.com/images/amcgrath.jpg" WIDTH="120" HEIGHT="147" BORDER=0><BR>\n';
SPEAKERINFOstring+='<b><a href="http://www.socratesinthecity.com/Bio_McGrath.html" target="_self">\n';
SPEAKERINFOstring+='<P><SPAN CLASS="ltblue">Alister McGrath</SPAN></P>\n';
SPEAKERINFOstring+='<img border="0" src="http://www.socratesinthecity.com/images/TriangleGauche.jpg" width="18" height="14">\n';
SPEAKERINFOstring+='<font face="Palatino Linotype" size="2" color="#E6E6E6">View Bio</font></a>\n';
SPEAKERINFOstring+='<img border="0" src="http://www.socratesinthecity.com/images/TriangleDroit.jpg" width="18" height="14">\n';
SPEAKERINFOstring+='<p><font face="Palatino Linotype" size="2" color="#6F94C8">Scheduled<BR>Engagement<br><BR>\n';
SPEAKERINFOstring+='<a href="http://www.socratesinthecity.com/index.html"><font color="#FFFFFF">Friday<BR>October 27, 2006</font></a></font>\n';
document.write(SPEAKERINFOstring);
}



//Current Event info code. This appears on the HOME page
function CurrentEventInfo() {
SPEAKERINFOstring='<P><SPAN CLASS="ltblue">Broadway Premiere Screening of<BR> <I>C.S. LEWIS:<BR> Beyond Narnia</I></SPAN></P>\n';
SPEAKERINFOstring+='<img border="0" src="http://www.socratesinthecity.com/images/TriangleGauche.jpg" width="18" height="14">\n';
SPEAKERINFOstring+='<A HREF="Event_BeyondNarnia.html" TARGET="_self"><font face="Palatino Linotype" size="2" color="#E6E6E6">Film details</font></a>\n';
SPEAKERINFOstring+='<img border="0" src="http://www.socratesinthecity.com/images/TriangleDroit.jpg" width="18" height="14">\n';
SPEAKERINFOstring+='<p><font face="Palatino Linotype" size="2" color="#6F94C8">Scheduled<BR>Engagement<br><br>\n';
SPEAKERINFOstring+='<font color="#FFFFFF">April 26, 2006</font></font>\n';
SPEAKERINFOstring+='<p><font color="#6F94C8" face="Palatino Linotype" size="1"><I>Special Guests include:</I><br><font color="#ffffff">Norman Stone<BR>Anton Rodgers<BR>Tom Howard<BR>Bel Kaufman<BR>Ed Murray<BR>Kenneth Cavender</font></font>\n';
document.write(SPEAKERINFOstring);
}

//Current Event. This appears on the home page
function CurrentEventNOREG(speakerName,speakerCredentials,topic,date,startTime,venueName,venueAddress,CutoffDate) {
currentEventstring='<td width="100%" class="style1">\n';
currentEventstring+='	<p align="center"><br>\n';
currentEventstring+='	Please join us for an evening of<BR>entertaining and thought-provoking discussions on<br>\n';
currentEventstring+='	&quot;life, God, and other small topics&quot;</p>\n';
currentEventstring+='	<p align="center">with host <a href="Bio_Eric_Metaxas.html">Eric Metaxas</a> and<br>\n';
currentEventstring+='	<br>Special Guest Speaker</p>\n';
currentEventstring+='	<p align="center"><B>'+speakerName+'</B><br><br>\n';
currentEventstring+='	'+speakerCredentials+'</p>\n';
currentEventstring+='	<B><p align="center">TOPIC: <br>\n';
currentEventstring+='	"'+topic+'</B>"<br>\n';
currentEventstring+='	<br>'+date+'</p>\n';
currentEventstring+='	<p align="center">Wine &amp; Hors d\'oeuvres at 6:30 pm<br>\n';
currentEventstring+='	Talk begins at '+startTime+' SHARP</p>\n';
currentEventstring+='	<p align="center">'+venueName+'<br>\n';
currentEventstring+='	'+venueAddress+'<br><br>\n';
currentEventstring+='	$25 with RSVP before '+CutoffDate+'<br>\n';
currentEventstring+='	$35 with RSVP on or after '+CutoffDate+'<br>$50 at the door<BR>(No RSVPs accepted day of event)</p>\n';
currentEventstring+='	<p align="center">*club requires gentlemen to wear coats and ties</p>\n';
currentEventstring+='	<p align="center">** <em>Socrates in the City</em> is made possible by<br>\n';
currentEventstring+='	Patrons and Friends of <em>Socrates in the City</em>. **</p>\n';
currentEventstring+='	<p align="center">For information on how to sponsor a <em>Socrates in the City</em><br>\n';
currentEventstring+='	event please contact Eric Metaxas at <a href="mailto:metaxas@socratesinthecity.com">metaxas@socratesinthecity.com</a>.<br>\n';
currentEventstring+='	<BR><BR><BR>\n';
currentEventstring+='	</td>\n';
document.write(currentEventstring);
}



//Current SITCOB Event. This appears on the HOME page
function CurrentEventSITCOB(speakerName,eventDescribe,topic,date,startTime,venueName,venueAddress,eventNotes) {
currentEventstring='<td width="100%" class="style1">\n';
currentEventstring+='	<p align="center"><br>\n';
currentEventstring+='	Please join us for an evening of<BR>entertaining and thought-provoking discussions on<br>\n';
currentEventstring+='	&quot;life, God, and other small topics&quot;</p>\n';
currentEventstring+='	<p align="center">with host <a href="Bio_Eric_Metaxas.html">Eric Metaxas</a> and<br>\n';
currentEventstring+='	<BR>'+eventDescribe+'</p>\n';
currentEventstring+='	<p align="center"><img src="http://www.socratesinthecity.com/images/BeyondNarnia.jpg" alt="Beyond Narnia image" height="172" width="431" border="0"><br>\n';
currentEventstring+='	<p align="center">'+topic+'</B><br>\n';
currentEventstring+='	<br>'+date+'</p>\n';
currentEventstring+='	<p align="center">Event begins at '+startTime+'</p>\n';
currentEventstring+='	<p align="center"><STRONG>'+venueName+'</STRONG><br>\n';
currentEventstring+='	'+venueAddress+'<br><br></p>\n';
currentEventstring+='	<p align="center">'+eventNotes+'<br><br></p>\n';
currentEventstring+='	</td>\n';
document.write(currentEventstring);
}

//Popup Menu of future events. This appears on the event registration page
function eventSelect() {
HTMLstring='<select name="x_description" type="text" size="1"/>\n';
HTMLstring+='<option selected>Dr. Os Guinness - February 16th, 2006</option>\n';
HTMLstring+='</select>\n';
document.write(HTMLstring);
}

														
														
//Subscribe code. This appears on each page
function Subscribe() {
SUBSCRIBEstring='<form name="oemProSubscription" method="post" action="http://www.socratesinthecity.com/oempro/subscribe.php">\n';
SUBSCRIBEstring+='<input type="hidden" name="FormValue_MailListIDs[]" value="4">\n';
SUBSCRIBEstring+='<SPAN CLASS="smalltype">Subscribe to our email list for the latest SitC news!</SPAN><BR><BR>\n';
SUBSCRIBEstring+='<SPAN CLASS="smalltype">Email address</SPAN><br>\n';
SUBSCRIBEstring+='<input SIZE="15" type="text" name="FormValue_Email" value=""><br>\n';
SUBSCRIBEstring+='<input class="formfields" type="submit" name="Subscribe" value="Subscribe"><BR>\n';
SUBSCRIBEstring+='<A CLASS="smalltype" HREF="#">Privacy Policy</A><BR><BR>\n';
SUBSCRIBEstring+='<input type="hidden" name="FormValue_SuccessScreenID" value="MQ%3D%3D">\n';
SUBSCRIBEstring+='<input type="hidden" name="FormValue_FailureScreenID" value="Mg%3D%3D">\n';
SUBSCRIBEstring+='</form>\n';
document.write(SUBSCRIBEstring);
}


//QuickSubscribe code. This appears on each page
function QuickSubscribe() {
//SUBSCRIBEstring='<BR><form name="oemProSubscription" method="post" action="http://www.socratesinthecity.com/oempro/subscribe.php">\n';
//SUBSCRIBEstring+='<input type="hidden" name="FormValue_MailListIDs[]" value="4">\n';
//SUBSCRIBEstring+='<SPAN CLASS="smalltype">Subscribe to our email list for the latest SitC news!</SPAN><BR><BR>\n';
//SUBSCRIBEstring+='<SPAN CLASS="smalltype">Email address</SPAN><br>\n';
//SUBSCRIBEstring+='<input SIZE="15" type="text" name="FormValue_Email" value=""><br>\n';
//SUBSCRIBEstring+='<input class="formfields" type="submit" name="Subscribe" value="Subscribe"><BR>\n';
//SUBSCRIBEstring+='<A CLASS="smalltype" HREF="#">Privacy Policy</A><BR><BR>\n';
//SUBSCRIBEstring+='<input type="hidden" name="FormValue_SuccessScreenID" value="MQ%3D%3D">\n';
//SUBSCRIBEstring+='<input type="hidden" name="FormValue_FailureScreenID" value="Mg%3D%3D">\n';
//SUBSCRIBEstring+='</form>\n';
//document.write(SUBSCRIBEstring);
SUBSCRIBEstring='<a href="subscribe-SITC-general.html" target="_self"><IMG SRC="http://www.socratesinthecity.com/images/emailupdates.gif" BORDER=0></A><BR>\n';
document.write(SUBSCRIBEstring);
}




//DonateLink code. This appears on each page and links to the Donation page
function DonateLink2() {
DonateLinkstring='<a href="http://www.socratesinthecity.com/donate.html" target="_self"><IMG SRC="http://www.socratesinthecity.com/images/makeadonation.gif" BORDER=0></A>\n';
DonateLinkstring+='<a href="http://visitor.constantcontact.com/d.jsp?m=1101836938517&p=oi" onClick="return false;" target="_blank"><IMG SRC="http://www.socratesinthecity.com/images/emailupdates.gif" BORDER=0></A>\n';
document.write(DonateLinkstring);
}


//copyright code at the bottom of every page
function footer() {
COPYRIGHTstring='<div id="footer">\n';
COPYRIGHTstring+='<SPAN CLASS="copyright">&copy;2010 <em>Socrates in the City</em>. <A HREF="javascript:openPopUp(\'privacypolicy.html\')">Privacy Policy</A>.\n';
COPYRIGHTstring+='</div>\n';
document.write(COPYRIGHTstring);
}


//Next Event. This appears on each page
function nextEvent2() {

SPEAKERstring='<BR> \n';
SPEAKERstring+='<B><font size="2" face="Palatino Linotype" color="#DCBF3B">OUR NEXT EVENT</font></b><BR><BR> \n';
SPEAKERstring+='<a href="http://www.socratesinthecity.com/index.html" target="_self">\n';
SPEAKERstring+='<font face="Palatino Linotype" size="2" color="#6F94C8">Broadway Premiere Screening of<BR><I>C.S. LEWIS: <BR>Beyond Narnia</I></font></a><BR><BR>\n';
SPEAKERstring+='<img border="0" src="http://www.socratesinthecity.com/images/TriangleGauche.jpg" width="18" height="14">\n';
SPEAKERstring+='<a href="http://www.socratesinthecity.com/Event_BeyondNarnia.html" target="_self"><B><font face="Palatino Linotype" size="2" color="#E6E6E6">Film details</font></a>\n';
SPEAKERstring+='<img border="0" src="http://www.socratesinthecity.com/images/TriangleDroit.jpg" width="18" height="14">\n';
SPEAKERstring+='<p><font face="Palatino Linotype" size="2" color="#6F94C8">Scheduled Engagement<br><BR>\n';
SPEAKERstring+='<a href="http://www.socratesinthecity.com/index.html"><font color="#FFFFFF">April 26, 2006</font></A></font></B><BR><BR>\n';
document.write(SPEAKERstring);
}


//Next Event. This appears on each page
function nextEvent() {

SPEAKERstring='<BR> \n';
SPEAKERstring+='<B><font size="2" face="Palatino Linotype" color="#DCBF3B">OUR NEXT EVENT</font></b><BR> \n';
SPEAKERstring+='<b><a href="http://www.socratesinthecity.com/Bio_Chuck_Colson.html" target="_self">\n';
SPEAKERstring+='<P><SPAN CLASS="ltblue">Chuck Colson</SPAN></P>\n';
SPEAKERstring+='<img border="0" src="http://www.socratesinthecity.com/images/TriangleGauche.jpg" width="18" height="14">\n';
SPEAKERstring+='<font face="Palatino Linotype" size="2" color="#E6E6E6">View Bio</font></a>\n';
SPEAKERstring+='<img border="0" src="http://www.socratesinthecity.com/images/TriangleDroit.jpg" width="18" height="14">\n';
SPEAKERstring+='<p><font face="Palatino Linotype" size="2" color="#6F94C8">Scheduled<BR>Engagement<br><BR>\n';
SPEAKERstring+='<a href="http://www.socratesinthecity.com/index.html"><font color="#FFFFFF">Wednesday<BR>May 24, 2006</font></a></font><BR>\n';
document.write(SPEAKERstring);
}


//Current Event. This appears on the home page
function CurrentEventBase(speakerName,speakerCredentials,topic,date,startTime,venueName,venueAddress,CutoffDate) {
currentEventstring='<td width="100%" class="style1">\n';
currentEventstring+='	<p align="center"><br>\n';
currentEventstring+='	Please join us for an evening of entertaining and thought-provoking<br>\n';
currentEventstring+='	discussions on &quot;life, God, and other small topics&quot;</p>\n';
currentEventstring+='	<p align="center">with host <a href="Bio_Eric_Metaxas.html">Eric Metaxas</a> and<br>\n';
currentEventstring+='	<br>\n';
currentEventstring+='	<br>Special Guest Speaker</p>\n';
currentEventstring+='	<p align="center">'+speakerName+'<br>\n';
currentEventstring+='	'+speakerCredentials+'</p>\n';
currentEventstring+='	<p align="center">TOPIC: <br>\n';
currentEventstring+='	"'+topic+'"<br>\n';
currentEventstring+='	<br>'+date+'</p>\n';
currentEventstring+='	<p align="center">Wine &amp; Hors d\'oeuvres at 6:30 pm<br>\n';
currentEventstring+='	Talk begins at '+startTime+' SHARP</p>\n';
currentEventstring+='	<p align="center">'+venueName+'<br>\n';
currentEventstring+='	'+venueAddress+'<br>\n';
currentEventstring+='	$20 with RSVP before or on '+CutoffDate+'<br>\n';
currentEventstring+='	$30 with RSVP after '+CutoffDate+'<br>$40 at the door</p>\n';
currentEventstring+='	<p align="center">*club requires gentlemen to wear coats and ties</p>\n';
currentEventstring+='	<p align="center">RSVP to 1.646.201.3375 or <a href="http://www.socratesinthecity.com/gamma/soc/register.php">register online</a></p>\n';
currentEventstring+='	<p align="center">** <em>Socrates in the City</em> is made possible by<br>\n';
currentEventstring+='	Patrons and Friends of <em>Socrates in the City</em>. **</p>\n';
currentEventstring+='	<p align="center">For information on how to sponsor a <em>Socrates in the City</em><br>\n';
currentEventstring+='	event please contact Eric Metaxas at <a href="mailto:metaxas@socratesinthecity.com">metaxas@socratesinthecity.com</a>.<br>\n';
currentEventstring+='	<BR><BR><BR>\n';
currentEventstring+='	</td>\n';
document.write(currentEventstring);
}



//QuickUnSubscribe code. This appears on each page
function UnSubscribe() {
UNSUBSCRIBEstring='<form name="oemProSubscription" method="post" action="http://www.socratesinthecity.com/oempro/unsubscribe.php">\n';
UNSUBSCRIBEstring+='<input type="hidden" name="FormValue_MailListIDs[]" value="2">\n';
UNSUBSCRIBEstring+='<font face="arial" size="1" color="#FFFFFF">Email address</FONT><br>\n';
UNSUBSCRIBEstring+='<input SIZE="15" type="text" name="FormValue_Email" value=""><br>\n';
UNSUBSCRIBEstring+='<input type="submit" name="UnSubscribe" value="UnSubscribe">\n';
UNSUBSCRIBEstring+='<input SIZE="15" type="hidden" name="FormValue_SuccessScreenID" value="Mw%3D%3D">\n';
UNSUBSCRIBEstring+='<input SIZE="15" type="hidden" name="FormValue_FailureScreenID" value="NA%3D%3D">\n';
UNSUBSCRIBEstring+='</form>\n';
document.write(UNSUBSCRIBEstring);
}

function verifyRegister() {
var themessage = "Please complete the following field(s): \n";
if (document.form.x_first_name.value=="") {
themessage = themessage + "\n   First Name";
}
if (document.form.x_last_name.value=="") {
themessage = themessage + "\n   Last Name";
}
if (document.form.x_address.value=="") {
themessage = themessage + "\n   Address";
}
if (document.form.x_city.value=="") {
themessage = themessage + "\n   City";
}
if (document.form.x_state.value=="") {
themessage = themessage + "\n   State";
}
if (document.form.x_zip.value=="") {
themessage = themessage + "\n   Zip Code";
}
if (document.form.x_email.value=="") {
themessage = themessage + "\n   Email";
}
if (document.form.x_card_num.value=="") {
themessage = themessage + "\n   Credit Card Number";
}
if (document.form.x_exp_date.value=="") {
themessage = themessage + "\n   Expiration Date";
}
//alert if fields are empty and cancel form submit
if (themessage == "Please complete the following field(s): \n") {
document.form.submit();
}
else {
alert(themessage);
return false;
   }
}


function verify() {
var themessage = "Please complete the following field(s): \n";
if (document.form.x_description.value=="") {
themessage = themessage + "\n  Event";
}
if (document.form.attendees.value=="") {
themessage = themessage + "\n  Number of Attendees";
}
//alert if fields are empty and cancel form submit
if (themessage == "Please complete the following field(s): \n") {
document.form.submit();
}
else {
alert(themessage);
return false;
   }
}


function verifyDonate() {
var themessage = "Please complete the following field(s):\n ";
if (document.form.x_amount.value=="") {
themessage = themessage + "\n   Gift Amount";
}
if (document.form.gift_type.value=="") {
themessage = themessage + "\n   Gift Type";
}
//alert if fields are empty and cancel form submit
if (themessage == "Please complete the following field(s):\n ") {
document.form.submit();
}
else {
alert(themessage);
return false;
   }
}

function verifyDonate2() {
var themessage = "Please complete the following field(s):\n ";
if (document.form.x_first_name.value=="") {
themessage = themessage + "\n   First Name";
}
if (document.form.x_last_name.value=="") {
themessage = themessage + "\n   Last Name";
}
if (document.form.card.value=="") {
themessage = themessage + "\n   Credit Card";
}
if (document.form.x_card_num.value=="") {
themessage = themessage + "\n   Credit Card Number";
}
if (document.form.x_address.value=="") {
themessage = themessage + "\n   Address 1";
}
if (document.form.x_city.value=="") {
themessage = themessage + "\n   City";
}
if (document.form.x_state.value=="") {
themessage = themessage + "\n   State";
}
if (document.form.x_zip.value=="") {
themessage = themessage + "\n   Zip Code";
}
if (document.form.x_email.value=="") {
themessage = themessage + "\n   Email Address";
}
//alert if fields are empty and cancel form submit
if (themessage == "Please complete the following field(s):\n ") {
document.form.submit();
}
else {
alert(themessage);
return false;
   }
}


// popup window
function openPopUp(popURL,popWidth,popHeight)
			{   // use these to set the height and width of the window
				if (openPopUp.arguments[1]) popWidth=openPopUp.arguments[1];
					else popWidth  = 460;
				if (openPopUp.arguments[2]) popHeight=openPopUp.arguments[2];
					else popHeight = 550;
			
			     // see if we've got a mac
			    if (navigator.userAgent.indexOf("Mac") >= 0 || navigator.userAgent.indexOf("PPC") >= 0)
					 menuVar = 'yes';
			    else menuVar = 'no';
			
			     // make the call to create the new window
			    myNewPopUp = open(popURL,"myPopUp","outerwidth="+popWidth+",outerheight="+popHeight
						+",width=" + popWidth + ",height=" + popHeight + ",menubar=" + menuVar
						+",toolbar=no,location=no,directories=no,status=no,"
						+"scrollbars=yes,resizable=yes");
			    if (myNewPopUp.opener == null) myNewPopUp.opener = window;
			    myNewPopUp.opener.name = "origPopUp";
			    myNewPopUp.focus(); 
				
			}

// facebooklinks window
function fbs_click() {
	u=location.href;t=document.title;window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');return false;
}

function isPosInteger(s) {
  if (s.toString().search(/^[0-9]+$/) == 0) {
    if (parseInt(s) > 0) return true;
  }
  
  return false;
}

function verifiySomeRegister() {
if ((document.form.student.value=="" || !isPosInteger(document.form.student.value)) && (document.form.regular.value=="" || !isPosInteger(document.form.regular.value)) && (document.form.premium.value=="" || !isPosInteger(document.form.premium.value)) && (document.form.patrons.value=="" || !isPosInteger(document.form.patrons.value)) && (document.form.dinner.value=="" || !isPosInteger(document.form.dinner.value)) && (document.form.donationamount.value=="" || !isPosInteger(document.form.donationamount.value))) {
	var themessage = "Please indicate the number of attendees for at least one registration type.";
	alert(themessage);
	return false;
}else{
	document.form.submit();
}

}



