/* *****
 * User defined fade objects and messages
 *
 * These messages are used in fades triggered by mouseovers and
 * mouseouts on table cells.  They are the simplest type of fade and
 * require no extra Javascript code.
 */
var fader = new Array();
/* *****
 * The code below describes how to make a throbbing or automatic fade
 * sequence of messages.  It is important to note that this function is
 * NOT part of the Buffered Text-Fade Effect, but merely an example of
 * how it can be used.  In this example, the throb() function controls
 * the commands which are sent to the fade engine; it is called
 * repeatedly at set time intervals rather than using mouseover events
 * as triggers.
 *
 * Notes:
 * - A global array "hash" is used to keep track of where each
 *   animation is currently in the sequence.
 * - The list of messages defined in the fader *must* start at one (1)
 *   and count upwards without skipping any integers.
 * - The third line of the throb() function controls how fast
 *   commands get sent to the fade engine.  It waits only 100 milli-
 *   seconds when fading out, but 5000 milliseconds (5 seconds) when
 *   fading in; this means the message will remain visible for about 5
 *   seconds before fading out again.
 *
 * Other types of fade animation are possible simply by designing
 * different ways to control the fade-ins and fade-outs!
 */
var hash = new Array();
function throb(item) {

  // If the hash array does not have an entry for this item, initialise it at 2
  if (!hash[item]) hash[item] = 2;

  // Send a fade command, using the hash array to tell us what parameters we should use
  fader[item].fade(Math.floor(hash[item] / 2), !(hash[item] % 2));

  // Call this function again for this same item after a certain amount of time
  setTimeout(function() { throb(item); }, (hash[item] % 2) ? 100 : 20000);

  // If we have exceeded the number of messages in this fader, start over again at 2
  if (++hash[item] > fader[item].msg.length * 2 - 1) hash[item] = 2;
}

//english language
fader[2] = new fadeObject('fade2', 'e0efdf', '2a2e1c', 100, 100);
fader[2].msg[1] = "<img class=\"begin\" src=\"images/begin-quotes.gif\" alt=\"Quote image\" />I told Minnesotans I was for universal health care coverage&mdash;Medicare for all, living-wage jobs, the right of workers to organize and bargain collectively, more investment in children and education, more environmental protection, and campaign finance reform In every speech, in every debate, in every ad I tried never to equivocate from the issues.  I was liberal and proud of it.<img class='end' src=\"images/end-quotes.gif\" alt=\"Quote image\" />";
fader[2].msg[2] = "<img class=\"begin\" src=\"images/begin-quotes.gif\" alt=\"Quote image\" />To me, the most important goal is to live a life consistent with the values I hold dear and to act on what I believe in.<img class='end' src=\"images/end-quotes.gif\" alt=\"Quote image\" />";
fader[2].msg[3] = "<img class=\"begin\" src=\"images/begin-quotes.gif\" alt=\"Quote image\" />There are three critical ingredients to democratic renewal and progressive change in America: good public policy, grassroots organizing, and electorial politics.<img class='end' src=\"images/end-quotes.gif\" alt=\"Quote image\" />";
fader[2].msg[4] = "<img class=\"begin\" src=\"images/begin-quotes.gif\" alt=\"Quote image\" />Our juggernaut was our organization, built block by block, town by town, over two years.  In the final week, our campaign made, from early morning to about 10:00 PM, ten thousand get-out-the-vote calls every hour, all made by volunteers!<img class='end' src=\"images/end-quotes.gif\" alt=\"Quote image\" />";
fader[2].msg[5] = "<img class=\"begin\" src=\"images/begin-quotes.gif\" alt=\"Quote image\" />All the activists I had worked with over 20 years&mdash;poor people, farmers, workers, environmentalists, the peace and justice community, teachers, neighborhood activists, and students became involved in the campaign.  They were the core, the energy.<img class='end' src=\"images/end-quotes.gif\" alt=\"Quote image\" />";
fader[2].msg[6] = "<img class=\"begin\" src=\"images/begin-quotes.gif\" alt=\"Quote image\" />I think that more important than positions on labor and other bread-and-butter economic issues was the time Shiela and I had spent on the Iron Range, in communities with people: in cafes, schools, hospitals, child-care centers, union halls, veteran halls, and small businesses.<img class='end' src=\"images/end-quotes.gif\" alt=\"Quote image\" />";
fader[2].msg[7] = "<img class=\"begin\" src=\"images/begin-quotes.gif\" alt=\"Quote image\" />Never separate the life you live from the words you speak.<img class='end' src=\"images/end-quotes.gif\" alt=\"Quote image\" />";

// Start this fader
setTimeout(function() { throb(2); }, 1000);

//russian language
fader[3] = new fadeObject('fade3', 'e0efdf', '2a2e1c', 100, 100);
fader[3].msg[1] = "<img class=\"begin\" src=\"images/begin-quotes.gif\" alt=\"Quote image\" />Я говорил гражданам  Минессоты что я за универсальнаю систему медицинского страхования – Medicare для всех, работа, осигуряющая достойной жизни, право рабочим организироваться и вести переговоры коллективно, больше инвестициях для детей и образовании, больше защиты окружающей среде, финансовая реформа в каждой речи, кадом дебате, во всего я старалься не увиливать от всего етого. Я был либерал и я горд с этого.<img class='end' src=\"images/end-quotes.gif\" alt=\"Quote image\" />";
fader[3].msg[2] = "<img class=\"begin\" src=\"images/begin-quotes.gif\" alt=\"Quote image\" />Для меня, самая важная цель - это жить мою жизнь в соответствием с ценностяхб для меня дорогих и действовать таким образом, каким я считаю соответствующим моим верованиям.<img class='end' src=\"images/end-quotes.gif\" alt=\"Quote image\" />";
fader[3].msg[3] = "<img class=\"begin\" src=\"images/begin-quotes.gif\" alt=\"Quote image\" />Имеются три критические составные части демократического возрождения и прогрессивных перемен в Америке: хорошая общественная политика, организация обывателях и выборные политики.<img class='end' src=\"images/end-quotes.gif\" alt=\"Quote image\" />";
fader[3].msg[4] = "<img class=\"begin\" src=\"images/begin-quotes.gif\" alt=\"Quote image\" />Наша  сокрушительная сила это наша организация, созданная квартал после квартала, город после города за больше чем двух лет. Во время финальной недели наша кампания делала с ранним утром до десяти часов вечера десят тысяч телефонных звонков каждыи час, призывающих людей участвовать во выборах и все это зделано доброволцами!<img class='end' src=\"images/end-quotes.gif\" alt=\"Quote image\" />";
fader[3].msg[5] = "<img class=\"begin\" src=\"images/begin-quotes.gif\" alt=\"Quote image\" />Все активисты с которыми я работал больше чем 20 лет – бедные, фермеры, рабочие, природозащитники, общества борцы за мир и справедливости, учителя, общественики и студенты были вовлечены в кампании. Они были ядро, енергии.<img class='end' src=\"images/end-quotes.gif\" alt=\"Quote image\" />";
fader[3].msg[6] = "<img class=\"begin\" src=\"images/begin-quotes.gif\" alt=\"Quote image\" />Я думаю, что более  важное чем позиции  о труде и другие экономические вопросы являеться время, которое я проводил в Железный край с людми: в каффе, школах, больницы, центров для заботы о детях, общинских зал, клубов ветеранов и мелким бизнесом.<img class='end' src=\"images/end-quotes.gif\" alt=\"Quote image\" />";
// Start this fader
setTimeout(function() { throb(3); }, 1000);

//french language
fader[4] = new fadeObject('fade4', 'e0efdf', '2a2e1c', 100, 100);
fader[4].msg[1] = "<img class=\"begin\" src=\"images/begin-quotes.gif\" alt=\"Quote image\" />Pour moi, l'objectif le plus important est de vivre une vie cohérente avec les valeurs qui me sont chères et d’agir pour ce en quoi je crois.<img class='end' src=\"images/end-quotes.gif\" alt=\"Quote image\" />";
fader[4].msg[2] = "<img class=\"begin\" src=\"images/begin-quotes.gif\" alt=\"Quote image\" />Trois éléments sont essentiels pour le renouveau démocratique et le changement progressif en Amérique: une bonne politique publique, organisation de la base et politique électorale.<img class='end' src=\"images/end-quotes.gif\" alt=\"Quote image\" />";
fader[4].msg[3] = "<img class=\"begin\" src=\"images/begin-quotes.gif\" alt=\"Quote image\" />Notre force irrésistible était notre organisation, construite quartier par quartier, ville par ville, en deux ans. Durant la dernière semaine de notre campagne, on a fait, du matin jusqu’à environ 10:00 heures du soir, dix mille appels incitant à aller voter  par heure, tous réalisés par des bénévoles! <img class='end' src=\"images/end-quotes.gif\" alt=\"Quote image\" />";
fader[4].msg[4] = "<img class=\"begin\" src=\"images/begin-quotes.gif\" alt=\"Quote image\" />Tous les militants avec qui j'avais travaillé pendant plus de 20 ans—pauvres, agriculteurs, travailleurs, écologistes, policiers et magistrats, enseignants, militants de quartier et élèves ont participé à la campagne. Ils en étaient le cœur et l’énergie.<img class='end' src=\"images/end-quotes.gif\" alt=\"Quote image\" />";
fader[4].msg[5] = "<img class=\"begin\" src=\"images/begin-quotes.gif\" alt=\"Quote image\" />Je pense que plus important que les positions sur le travail et autres problèmes économiques moins de la vie quotidienne est le temps que Shiela et moi avions passé dans l’Iron Range, dans les communautés avec les gens: dans les cafés, écoles, hôpitaux, jardins d’enfants, salles syndicales, salles de réunion de vétéran, et petites entreprises. <img class='end' src=\"images/end-quotes.gif\" alt=\"Quote image\" />";
fader[4].msg[6] = "<img class=\"begin\" src=\"images/begin-quotes.gif\" alt=\"Quote image\" />J'ai dit aux gens du Minnesota que j'étais pour la couverture universelle des soins de santé—soins médicaux pour tous, salaires décents, droit des travailleurs de s'organiser et de négocier collectivement, plus d'investissement dans les enfants et l'éducation, plus de protection de l'environnement et réforme du financement des campagnes électorales. Dans tous les discours, dans chaque débat, dans chaque annonce j'ai essayé de ne jamais tergiverser de ces questions. J'étais libéral et fier de l’être.<img class='end' src=\"images/end-quotes.gif\" alt=\"Quote image\" />";
// Start this fader
setTimeout(function() { throb(4); }, 1000);

//german language
fader[5] = new fadeObject('fade5', 'e0efdf', '2a2e1c', 100, 100);
fader[5].msg[1] = "<img class=\"begin\" src=\"images/begin-quotes.gif\" alt=\"Quote image\" />Das wichtigste Ziel für mich ist, in Harmonie mit den Werten zu leben, die mir wert sind, und das zu tun, woran ich glaube.<img class='end' src=\"images/end-quotes.gif\" alt=\"Quote image\" />";
fader[5].msg[2] = "<img class=\"begin\" src=\"images/begin-quotes.gif\" alt=\"Quote image\" />Bei der demokratischen Erneuerung und bei den progressiven Umwandlungen in Amerika gibt es drei Komponente: gute Gesellschaftspolitik, Organisierung der Wähler und Wahlpolitik.<img class='end' src=\"images/end-quotes.gif\" alt=\"Quote image\" />";
fader[5].msg[3] = "<img class=\"begin\" src=\"images/begin-quotes.gif\" alt=\"Quote image\" />Unsere Riesenkraft bestand in unserer Organisation, gebaut Strasse nach Strasse, Stadt nach Stadt, während zwei Jahre. Während der letzten Wahlkampagne-Woche wurden, vom frühen Morgen bis 10 Uhr abends an, je ca. zehntausend Agitationstelephonanrufe pro Stunde durchgeführt, nur von Voluntären.<img class='end' src=\"images/end-quotes.gif\" alt=\"Quote image\" />";
fader[5].msg[4] = "<img class=\"begin\" src=\"images/begin-quotes.gif\" alt=\"Quote image\" />Alle Aktivisten, mit denen ich mehr als 20 Jahre zusammengearbeitet habe – arme Leute, Bauern, Arbeiter, Ökologen,  Bewahrer der Ordnung und der Gesetze, Lehrer, Stadtviertelagitatoren und Studenten, haben aktiv an der Wahlkampagne teilgenommen. Sie waren der Kern, die Treibkraft.<img class='end' src=\"images/end-quotes.gif\" alt=\"Quote image\" />";
fader[5].msg[5] = "<img class=\"begin\" src=\"images/begin-quotes.gif\" alt=\"Quote image\" />Ich bin der Meinung, dass viel wichtiger als usere Positionen betr. der Arbeit und betr. der anderen alltäglichen Wirtschaftsangelegenheiten die Zeit gewesen war, während der Sheyla und ich in dem Nordteil Minesotas verbracht haben, unter der Leuten: in den Cafes, in den Schulen, in den Krankenhäusern, in den Kindergärten, in den Sälen für Meetings der Gewerkschaften und der Veterane und Kleinunternehmen.<img class='end' src=\"images/end-quotes.gif\" alt=\"Quote image\" />";
fader[5].msg[6] = "<img class=\"begin\" src=\"images/begin-quotes.gif\" alt=\"Quote image\" />Ich habe den Leuten in Minnesota gesagt, dass ich für die Allgemein-Krankenversicherung bin - Gesundheitssorgen für Alle, für würdig bezahlte Arbeit/Beschäftigung, für das Recht der Arbeiter, sich zu vereinigen und Kollektivverträge zu vereinbaren, für mehr Investitionen für die Kinder und in der Volksbildung, für besseren Umweltschutz und für die Reform in der Finanzierung der Wahlkampagnen. In jeder meiner Reden, bei allen Debatten und bei jedem Aufruf war ich bemüht, nicht zweideutig betr. dieser Angelegenheiten zu reden. Ich bin Liberal gewesen und war stolz darauf.<img class='end' src=\"images/end-quotes.gif\" alt=\"Quote image\" />";
// Start this fader
setTimeout(function() { throb(5); }, 1000);