var numberOfQuotes = 44

var laborQuote = new Array(numberOfQuotes)

laborQuote[0] = 'What Does Labor Want? We want more school houses and less jails, more books and less guns, more learning and less vice, more leisure and less greed, more justice and less revenge... We want more opportunities to cultivate our better nature. &mdash;Samuel Gompers, first president of American Federation of Labor'
laborQuote[1] = 'When I give food to the poor, they call me a saint.  When I ask why the poor have no food, they call me a communist.  &mdash;Dom Helder Camara, Archbishop of Recife, Brazil'
laborQuote[2] = 'Not only is another world possible, she is on her way.  On a quiet day, I can hear her breathing.  &mdash;Arundhati Roy, Indian writer'
laborQuote[3] = 'What the Woman who labors wants is the right to live, not simply exist - the right to life as the rich woman has the right to life, and the sun and music and art.  You have nothing that the humblest worker has not a right to have also.  The worker must have bread, but she must have roses too.  &mdash;Rose Schneiderman, feminist labor leader (1912)'
laborQuote[4] = 'Washing ones hands of the conflict between the powerful and the powerless means to side with the powerful, not to be neutral.  &mdash;Paulo Freire, Brazilian educator'
laborQuote[5] = 'If you give me a fish, you have fed me for a day.  If you teach me to fish, then you have fed me until the river is contaminated or the shoreline seized for development.  But if you teach me how to organize, then whatever the challenge I can join together with my peers and we will fashion our own solution.  &mdash;Ricardo Levins Morales, labor artist'
laborQuote[6] = 'The power of a movement lies in the fact that it can indeed change the habits of people. This change is not the result of force but of dedication, of moral persuasion. &mdash;Steve Biko (1946-77), South African political leader'
laborQuote[7] = 'Ten thousand times has the labor movement stumbled and bruised itself. We have been enjoined by the courts, assaulted by thugs, charged by the militia, traduced by the press, frowned upon in public opinion, and deceived by politicians. But notwithstanding all this and all these, labor is today the most vital and potential power this planet has ever known, and its historic mission is as certain of ultimate realization as is the setting of the sun. &mdash;Eugene V. Debs'
laborQuote[8] = 'Those who profess to favor freedom and yet depreciate agitation, are people who want crops without ploughing the ground; they want rain without thunder and lightning; they want the ocean without the roar of its many waters. The struggle may be a moral one, or it may be a physical one, or it may be both. But it must be a struggle. Power concedes nothing without a demand; it never has and it never will. &mdash;Frederick Douglas'
laborQuote[9] = 'The essence of trade unionism is social uplift. The labor movement has been the haven for the dispossessed, the despised, the neglected, the downtrodden, the poor. &mdash;A. Phillip Randolph'
laborQuote[10] = 'Labor is prior to, and independent of, capital. Capital is only the fruit of labor, and could never have existed if Labor had not first existed. Labor is superior to capital, and deserves much the higher consideration. &mdash;Abraham Lincoln'
laborQuote[11] = 'The strongest bond of human sympathy outside the family relation should be one uniting working people of all nations and tongues and kindreds. &mdash;Abraham Lincoln'
laborQuote[12] = 'The fight is never about grapes or lettuce. It is always about people. &mdash;Cesar Chavez'
laborQuote[13] = 'You can only protect your liberties in this world by protecting the other man`s freedom. You can only be free if I am free. &mdash;Clarence Darrow'
laborQuote[14] = 'True compassion is more than flinging a coin to a beggar; it comes to see that an edifice which produces beggars needs restructuring. &mdash;Martin Luther King, Jr.'
laborQuote[15] = 'With all their faults, trade unions have done more for humanity than any other organization of men that ever existed. They have done more for decency, for honesty, for education ... than any other association of men. &mdash;Clarence Darrow'
laborQuote[16] = 'Only a fool would try to deprive working men and working women of their right to join the union of their choice. &mdash;Dwight D. Eisenhower'
laborQuote[17] = 'Years ago I recognized my kinship with all living things, and I made up my mind that I was not one bit better than the meanest on the earth. I said then and I say now, that while there is a lower class, I am in it; while there is a criminal element, I am of it; while there is a soul in prison, I am not free. &mdash;Eugene V. Debs'
laborQuote[18] = 'Solidarity is not a matter of sentiment but a fact, cold and impassive as the granite foundations of a skyscraper. If the basic elements, identity of interest, clarity of vision, honesty of intent, and oneness of purpose, or any of these is lacking, all sentimental pleas for solidarity, and all other efforts to achieve it will be barren of results. &mdash;Eugene V. Debs'
laborQuote[19] = 'Every advance in this half-century &mdash; Social Security, civil rights, Medicare, aid to education, one after another &mdash; came with the support and leadership of American Labor. &mdash;Jimmy Carter'
laborQuote[20] = 'If the workers took a notion they could stop all speeding trains; Every ship upon the ocean they can tie with mighty chains. Every wheel in the creation, every mine and every mill; Fleets and armies of the nation, will at their command stand still. &mdash;Joe Hill'
laborQuote[21] = 'The labor movement is organized upon a principle that the strong shall help the weak. The strength of a strong man is a prideful thing, but the unfortunate thing in life is that strong men do not remain strong. And it is just as true of unions and labor organizations as is true of men and individuals. And whereas today the craft unions of this country may be able to stand upon their own feet and like mighty oaks stand before the gale, defy the lightning, yet the day may come when those organizations will not be able to withstand the lightning and the gale. Now, prepare yourselves by making a contribution to your less fortunate brethren... Organize the unorganized! &mdash;John L. Lewis'
laborQuote[22] = 'Let the workers organize. Let the toilers assemble. Let their crystallized voice proclaim their injustices and demand their privileges. Let all thoughtful citizens sustain them, for the future of Labor is the future of America. &mdash;John L. Lewis'
laborQuote[23] = "If hard work were such a wonderful thing, surely the rich would have kept it all to themselves. &mdash;Lane Kirkland"
laborQuote[24] = "When we talk about equal pay for equal work, women in the workplace are beginning to catch up. If we keep going at this current rate, we will achieve full equality in about 475 years. I don't know about you, but I can't wait that long. &mdash;Lya Sorano"
laborQuote[25] = 'We must learn to live together as brothers or we are going to perish together as fools. &mdash;Martin Luther King, Jr.'
laborQuote[26] = 'My friends, it is solidarity of labor we want. We do not want to find fault with each other, but to solidify our forces and say to each other: "We must be together; our masters are joined together and we must do the same thing." &mdash;Mother Jones'
laborQuote[27] = 'Join the union, girls, and together say Equal Pay for Equal Work. &mdash;Susan B. Anthony'
laborQuote[28] = 'The labor movement means just this: It is the last noble protest of the American people against the power of incorporated wealth. &mdash;Wendell Phillips'
laborQuote[29] = 'Labor Unions are the leading force for democratization and progress. &mdash;Noam Chomsky'
laborQuote[30] = "When people ask me, \"Why can't labor organize the way it did in the thirties?\" the answer is simple: everything we did then is now illegal. &mdash;Thomas Geoghegan"
laborQuote[31] = "The next generation will not charge us for what we've done; they will charge and condemn us for what we have left undone. &mdash;Mother Jones"
laborQuote[32] = 'Injustice anywhere is a threat to justice everywhere. We are caught in an inescapable network of mutuality, tied in a single garment of destiny. &mdash;Martin Luther King, Jr.'
laborQuote[33] = 'If any man tells you he loves America, yet hates labor, he is a liar. If any man tells you he trusts America, yet fears labor, he is a fool. &mdash;Abraham Lincoln'
laborQuote[34] = 'No business which depends for existence on paying less than living wages to its workers has any right to continue in this country. By living wages I mean more than a bare subsistence level--I mean the wages of decent living. &mdash;Franklin D. Roosevelt'
laborQuote[35] = 'Freedom is never granted; it is won. Justice is never given; it is exacted. &mdash;A. Philip Randolph'
laborQuote[36] = "I can't see how not wanting to blow up the world is un-American. &mdash;William Winpisinger, President, International Association of Machinists and Aerospace Workers"
laborQuote[37] = 'Universal economic evils afflicting the working class can be eradicated only by a universal working-class movement. &mdash;From the 1905 Call to the Founding convention of the Industrial Workers of the World'
laborQuote[38] = 'Everyone has the right to a standard of living adequate for the health and well-being of himself and his family, including food, clothing, housing, and medical care and necessary social services &mdash;Article 25 of the United Nations Declaration of Human Rights (signed 12/10/48)'
laborQuote[39] = 'International solidarity is not an act of charity: It is an act of unity between allies fighting on different terrains toward the same objective. The foremost of these objectives is to aid the development of humanity to the highest level possible. &mdash;Samora Machel, First President of Mozambique'
laborQuote[40] = "The only kinds of fights worth fighting are those you are going to lose, because somebody has to fight them and lose and lose and lose until someday, somebody who believes as you do wins. In order for somebody to win an important, major fight 100 years hence, a lot of other people have got to be willing &mdash; for the sheer fun and joy of it &mdash; to go right ahead and fight, knowing you're going to lose. You mustn't feel like a martyr. You've got to enjoy it. &mdash;I.F. Stone, journalist"
laborQuote[41] = "The masses of the workers are not only capable of great dreams but have in them the power to make those dreams come true.  &mdash;John Reed"
laborQuote[42] = 'I belong to a class who have been robbed, exploited, and plundered down through many long centuries, and because I belong to that class I have an instinct to go and break the chains.  &mdash;Mary "Mother" Jones'
laborQuote[43] = 'The path of solidarity must be built through daily concrete actions, with a lot of love, tolerance, patience and education, and with a good dose of courage.  In this way we will create the world about which we workers dream.  &mdash; Frente Aut&eacute;ntico del Trabajo (FAT) leader, at UE FAT Organizers\' Institute in Chicago, Fall 2005'


// LQ_daysToAdd is used to generate the day-of-the-year number between 0 and 364
var LQ_daysToAdd = new Array(0,31,59,90,120,151,181,212,243,273,304,334)
var LQ_today = new Date()
var LQ_month = LQ_today.getMonth()
var LQ_day = LQ_today.getDate() - 1
var LQ_dayOfWeek = LQ_today.getDay()
var LQ_dayNumber = LQ_day + LQ_daysToAdd[LQ_month]
// check for leap year, if so, add one more day to months after February
var LQ_year = LQ_today.getYear()
if (LQ_year % 4 == 0 && LQ_month > 1) {
  LQ_dayNumber++
}

var quoteNumber = LQ_dayNumber % (numberOfQuotes)

// check to see if it's MLK Day, if so then assign quoteNumber to MLK quote - number 14
if (LQ_dayOfWeek == 1 && LQ_month == 0 && LQ_day > 14 && LQ_day < 22) {
  quoteNumber = 14
}

// check to see if it's Cesar Chavez's Birthday, if so then assign quoteNumber to CC quote - number 12
if (LQ_day == 30 && LQ_month == 2) {
  quoteNumber = 12
}

// check to see if it's March 8 - International Women's Day - if so assign quoteNumber to Rose Schneiderman quote (3)
if (LQ_day == 7 && LQ_month == 2) {
  quoteNumber = 3
}

var quoteToPrint = laborQuote[quoteNumber]

// check to see if it's Labor Day, if so then assign Labor Day Quote
if (LQ_dayOfWeek == 1 && LQ_month == 8 && LQ_day < 7) {
  quoteToPrint = 'Labor Day differs in every essential way from the other holidays of the year in any country.  All other holidays are in a more or less degree connected with conflicts and battles of mans prowess over man, of strife and discord for greed and power, of glories achieved by one nation over another. Labor Day...is devoted to no man, living or dead, to no sect, race, or nation. &mdash;Samuel Gompers, first president of American Federation of Labor'
}

/* haven't found a May Day quote yet
// check to see if it's May Day, if so then assign May Day Quote
if (LQ_day == 0 && LQ_month == 4) {
  quoteToPrint = 'May Day!'
}
*/

document.write(quoteToPrint);

