/*
Copyright (c) 2009 DemDash (www.demdash.us)
*/

var ondemocracy = [ 
    { 'quote': "Democracy does not guarantee equality of conditions - it only guarantees equality of opportunity.",
      'who':'Irving Kristol' },
    { 'quote': "Liberty and equality...will be best attained when all persons alike share in the government to the utmost.",
      'who':'Aristotle' },
    { 'quote': "Democracy is a device that ensures we shall be governed no better than we deserve.",
      'who':'G.B. Shaw' },
    { 'quote': "The spirit of democracy cannot be imposed from without. It has to come from within.",
      'who':'Mohandas Gandhi' },
    { 'quote': "The thing about democracy, beloveds, is that it is not neat, orderly, or quiet.",
      'who':'Molly Ivins' },
    { 'quote': "Information is the currency of democracy.",
      'who':'Thomas Jefferson' },
    { 'quote': "The spirit of democracy is not a mechanical thing to be adjusted by abolition of forms. It requires change of heart.",
      'who':'Mohandas Gandhi' },
    { 'quote': "The ignorance of one voter in a democracy impairs the security of all.",
      'who':'John F. Kennedy' },
    { 'quote': "Man's capacity for justice makes democracy possible, but man's inclination to injustice makes democracy necessary.",
      'who':'Reinhold Niebuhr' },
    { 'quote': "Democracy is finding proximate solutions to insoluble problems.",
      'who':'Reinhold Niebuhr' },
    { 'quote': "Democracy and freedom are more than just ideals to be valued - they may be essential to survival.",
      'who':'Noam Chomsky' }
    ]

$(document).ready(function() {
  var random = Math.floor(ondemocracy.length * Math.random())
  $('#ondemocracy-quote').html("&#8220;" + ondemocracy[random].quote + '&#8221;');
  $('#ondemocracy-who').html('&#8212; ' + ondemocracy[random].who);
  $(".ghost_text").ghostText();
});
