var arr = [
{"quote":"Me encanta la bicicleta", "author":"Yunior, Holguin"},
{"quote":"La vita necesita más café y menos estrés", "author": "Café Maguana" },
{"quote":"Sta rottura de cojoni dei fascisti", "author": "Ivano Ceccarelli" },
{"quote":"It never gets easier, you just go faster", "author": "Velominati" },
{"quote":"Respect the earth; don’t litter", "author": "common sense™"},
{"quote":"Lo vedi, lo fai, lo insegni", "author":"Ciclofficina Ruotalibera" },
{"quote":"Never lift your bike over your head", "author": "Velominati"},
{"quote":"Padre Pio amico degli sbirri", "author": "Heavy Merda" },
{"quote":"Come un serpente indotto a camminare", "author": "Attrito"},
{"quote":"Fight for your right to party", "author": ""},
{"quote":"No hagas planes en Cuba", "author": "el Gato"},
{"quote":"Free Palestine", "author":""},
{"quote":"La vittoria della sconfitta", "author":"Negazione"},
{"quote":"Uno, due, sei, nove", "author":"Skiantos"},
{"quote":"Non ci sono poteri buoni", "author":"F. De André"},
{"quote":"STACCA STACCA CI STANNO TRACCIANDO", "author":"Topolino"},
{"quote":"I did write some code in Java, the island in Indonesia.", "author":"R.M.Stallman"},
{"quote":"Free software: we are referring to freedom, not price.", "author":"R.M.Stallman"},
{"quote":"I don't accept the world!", "author":"R.M.Stallman"},
{"quote":"Ai poveri i pidocchi, ai ricchi la scabbia", "author":"Mo Yan"},
{"quote":"Keep the internet free", "author":"keepitfree.ai"},
{"quote":"r*esist", "author":"A/I"},
{"quote":"Fuoco ai CPR", "author":""},
{"quote":"BIKEPUNK!", "author":""}
];
function random(l)
{
return Math.floor(Math.random() * l);
}
function generateRandomQuote()
{
var n = random(arr.length);
var author = arr[n].author ? (" - " + arr[n].author) : "";
document.getElementById("quote").innerHTML = arr[n].quote + author;
}
generateRandomQuote();