// Configuration.
//---------------------------------------------------------------------------------------------------------------

// Display a new quote every day (1), every hour (2), or randomly (3).
var display = 3;
 
// Put in the quotes here.
var text_out1 = "\"These Holocaust deniers are very slick people.<br />They justify everything they say with facts and figures.\"<br />&nbsp;...Steven Some, Chairman of the New Jersey Commission on Holocaust Education";
var text_out2 = "\"SHOW ME OR DRAW ME A NAZI GAS CHAMBER !\"<br />&nbsp;...Professor Robert Faurisson";
var text_out3 = "\"Every Jew, somewhere in his being, should set apart a zone of hate -healthy<br />virile hate- for what the German personifies and for what persists in the German.\"<br />&nbsp;...Elie Wiesel, Nobel Prize winner and \"chief witness\" to the Holocaust";
var text_out4 = "\"The first casualty when war comes is truth\"<br />&nbsp;...U.S. Senator Hiram Johnson";
var text_out5 = "\"Intellectual freedom is the right of every individual to both seek<br />and receive information from all points of view without restriction.\"<br />&nbsp;...American Library Association";
var text_out6 = "\"If a book be false in its facts, disprove them; if false in its reasoning, refute it.<br />  But for God's sake, let us freely hear both sides if we choose.\"<br />&nbsp;...Thomas Jefferson";
var text_out7 = "\"Restriction of free thought and free speech is the most dangerous of all subversions\"<br />&nbsp;...William O. Douglas";
var text_out8 = "\"Loyalty to petrified opinion never yet broke a chain or freed a human soul\" <br />&nbsp;...Mark Twain";

var text_out9 = "\"A genuinely unfashionable opinion is almost never given a fair hearing.\"<br />&nbsp;...George Orwell";
var text_out10 = "\"You don't have to burn books to destroy a culture.<br />Just get people to stop reading them.\"<br />&nbsp;...Ray Bradbury";
var text_out11 = "\"Revisionism means nothing more or less<br />than the effort to correct the historical record.\"<br />&nbsp;...Harry Elmer Barnes";
var text_out12 = "\"Wherever they burn books, in the end will also burn human beings.\"<br />&nbsp;...Heinrich Heine";
var text_out13 = "\"The library is the temple of learning, and learning has<br />liberated more people than all the wars in history\"<br />&nbsp;...Carl T Rowan";
var text_out14 = "\"History would be wonderful thing - if it were only true.\"<br />&nbsp;...Leo Tolstoy";
var text_out15 = "\"The very ink with which history is written is merely fluid prejudice.\"<br />&nbsp;...Mark Twain";
var text_out16 = "\"When you have robbed a man of everything, he is no longer in your power.<br /> He is free again.\"<br />&nbsp;...Alexander Solzhenitsyn";

var text_out17 = "\"I disagree with what you say, but I'll defend to the death your right to say it.\"<br />&nbsp;...Voltaire";
var text_out18 = "\"A free society is one where it is safe to be unpopular.\"<br />&nbsp;...Adlai Stevenson";
var text_out19 = "\"Heresies are experiments in man's unsatisfied search for truth.\"<br />&nbsp;...H.G. Wells";
var text_out20 = "\"We can never be sure that the opinion we are endeavoring to stifle is a false opinion;<br /> and if we were sure, stifling it would be an evil still.\"<br />&nbsp;...John Stuart Mill";
var text_out21 = "\"If it isn't prohibited it ain't worth reading\"<br />&nbsp;...Ditlieb Felderer";
var text_out22 = "\"If liberty means anything at all, it means the<br />right to tell people what they do not want to hear\"<br />&nbsp;...George Orwell";
var text_out23 = "\"To write is to wage war\"<br />&nbsp;...Voltaire";
var text_out24 = "\"To prohibit free speech is the first act of terrorism\"<br />&nbsp;...Spinoza";
//---------------------------------------------------------------------------------------------------------------
// No need to change anything below.

// Display a new quote every day.
if (display == 1) {
	var text_out = "";
	var now = new Date();
	var DayOfWeek = now.getDay();
	DayOfWeek ++;
	if (DayOfWeek == 1) {text_out = text_out1;}
	if (DayOfWeek == 2) {text_out = text_out2;}
	if (DayOfWeek == 3) {text_out = text_out3;}
	if (DayOfWeek == 4) {text_out = text_out4;}
	if (DayOfWeek == 5) {text_out = text_out5;}
	if (DayOfWeek == 6) {text_out = text_out6;}
	if (DayOfWeek == 7) {text_out = text_out7;}
}

// Display a new quote every hour.
if (display == 2) {
	var text_out = "";
	var now = new Date();
	var HourOfDay = now.getHours();
	HourOfDay++;
	if (HourOfDay == 1) {text_out = text_out1;}
	if (HourOfDay == 2) {text_out = text_out2;}
	if (HourOfDay == 3) {text_out = text_out3;}
	if (HourOfDay == 4) {text_out = text_out4;}
	if (HourOfDay == 5) {text_out = text_out5;}
	if (HourOfDay == 6) {text_out = text_out6;}
	if (HourOfDay == 7) {text_out = text_out7;}
	if (HourOfDay == 8) {text_out = text_out8;}
	if (HourOfDay == 9) {text_out = text_out9;}
	if (HourOfDay == 10) {text_out = text_out10;}
	if (HourOfDay == 11) {text_out = text_out11;}
	if (HourOfDay == 12) {text_out = text_out12;}
	if (HourOfDay == 13) {text_out = text_out13;}
	if (HourOfDay == 14) {text_out = text_out14;}
	if (HourOfDay == 15) {text_out = text_out15;}
	if (HourOfDay == 16) {text_out = text_out16;}
	if (HourOfDay == 17) {text_out = text_out17;}
	if (HourOfDay == 18) {text_out = text_out18;}
	if (HourOfDay == 19) {text_out = text_out19;}
	if (HourOfDay == 20) {text_out = text_out20;}
	if (HourOfDay == 21) {text_out = text_out21;}
	if (HourOfDay == 22) {text_out = text_out22;}
	if (HourOfDay == 23) {text_out = text_out23;}
	if (HourOfDay == 24) {text_out = text_out24;}
}

// Display a quote randomly.
if (display == 3) {	
	var text_out = "";
	var nummidi =24; // Change this to the number of texts.
	day = new Date();
	var z = day.getTime();
	var y = (z - (parseInt(z/1000,10) * 1000))/10;
	var x = parseInt(y/100*nummidi,10) + 1;
	if (x == 1) {text_out = text_out1;}
	if (x == 2) {text_out = text_out2;}
	if (x == 3) {text_out = text_out3;}
	if (x == 4) {text_out = text_out4;}
	if (x == 5) {text_out = text_out5;}
	if (x == 6) {text_out = text_out6;}
	if (x == 7) {text_out = text_out7;}
	if (x == 8) {text_out = text_out8;}
	if (x == 9) {text_out = text_out9;}
	if (x == 10) {text_out = text_out10;}
	if (x == 11) {text_out = text_out11;}
	if (x == 12) {text_out = text_out12;}
	if (x == 13) {text_out = text_out13;}
	if (x == 14) {text_out = text_out14;}
	if (x == 15) {text_out = text_out15;}
	if (x == 16) {text_out = text_out16;}
	if (x == 17) {text_out = text_out17;}
	if (x == 18) {text_out = text_out18;}
	if (x == 19) {text_out = text_out19;}
	if (x == 20) {text_out = text_out20;}
	if (x == 21) {text_out = text_out21;}
	if (x == 22) {text_out = text_out22;}
	if (x == 23) {text_out = text_out23;}
	if (x == 24) {text_out = text_out24;}
}
// Output AddThis Button and the quote.
document.write("<span style=\"float: left;\"><!-- AddThis Button BEGIN --><a href=\"http://www.addthis.com/bookmark.php?v=250&amp;pub=xa-4a68535e013e49f3\" onclick=\"return addthis_sendto()\" onmouseout=\"addthis_close()\" onmouseover=\"return addthis_open(this, '', '[URL]', '[TITLE]')\"><img alt=\"Bookmark and Share\" height=\"16\" src=\"http://s7.addthis.com/static/btn/lg-share-en.gif\" style=\"border: 0\" width=\"125\" /></a><script src=\"http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a68535e013e49f3\" type=\"text/javascript\"></script><!-- AddThis Button END --></span><br /><br /><div align=\"center\"><a href=\"/donate/ahowyoucanhelp.php\"><img src=\"/graphics/home/smith_banner_2010.jpg\" border=\"0\" style=\"float: none; text-align:center;\"></a><br /><span style=\"color:red;\">" + text_out + "</span><br /><br /><table><tr><td style=\"color:black; background-color:white; text-align:center;\">Do you have special skills that might help CODOH?<br /><a href=\"/volunteer.html\">Please click here to volunteer</a></td></tr></table></div><br />");

