If it is possible, I'd like to be able to mash all of my arrays into one array, but still have the same functionality within my function (pick quote, pick creator, set padding).
var quotes = [
/*48px*/"The true sign of intelligence is not knowledge but imagination.",
/*48px*/"A people without the knowledge of their past history, origin and culture is like a tree without roots.",
/*48px*/"Real knowledge is to know the extent of one's ignorance.",
/*48px*/"Ignorance is the curse of God; knowledge is the wing wherewith we fly to heaven.",
/*48px*/"Human behavior flows from three main sources: desire, emotion, and knowledge.",
/*80px*/"If money is your hope for independence you will never have it. The only real security that a man will have in this world is a reserve of knowledge, experience, and ability.",
/*80px*/"Knowledge is power. Information is liberating. Education is the premise of progress, in every society, in every family.",
/*48px*/"Knowledge has to be improved, challenged, and increased constantly, or it vanishes.",
/*112px*/"I'm hungry for knowledge. The whole thing is to learn every day, to get brighter and brighter. That's what this world is about. You look at someone like Gandhi, and he glowed. Martin Luther King glowed. Muhammad Ali glows. I think that's from being bright all the time, and trying to be brighter.",
/*112px*/"Wisdom is the right use of knowledge. To know is not to be wise. Many men know a great deal, and are all the greater fools for it. There is no fool so great a fool as a knowing fool. But to know how to use knowledge is to have wisdom.",
/*48px*/"To know, is to know that you know nothing. That is the meaning of true knowledge.",
/*48px*/"The best advice I ever got was that knowledge is power and to keep reading.",
/*48px*/"He who knows nothing is closer to the truth than he whose mind is filled with falsehoods and errors.",
/*48px*/"To know what you know and what you do not know, that is true knowledge.",
/*80px*/"I was bold in the pursuit of knowledge, never fearing to follow truth and reason to whatever results they led, and bearding every authority which stood in their way."
];
var creators = [
"Albert Einstein",
"Marcus Garvey",
"Confucius",
"William Shakespeare",
"Plato",
"Henry Ford",
"Kofi Annan",
"Peter Drucker",
"Jay-Z",
"Charles Spurgeon",
"Socrates",
"David Bailey",
"Thomas Jefferson",
"Confucius",
"Thomas Jefferson"
];
var margins = [
"48",
"48",
"48",
"48",
"48",
"80",
"80",
"48",
"112",
"112",
"48",
"48",
"48",
"48",
"80"
];
function quote() {
var rand = Math.floor(Math.random() * quotes.length);
$("p.quote").fadeOut(300).delay(1000).fadeIn(300);
$("p.creator").fadeOut(300).delay(1000).fadeIn(300);
$("p.quote").text(quotes[rand]);
$("p.creator").text(creators[rand]);
var marginTop = ($(".quotes .quotes-container").height() - margins[rand]) / 2 + "px";
$(".quotes .quotes-container .content").attr("style","padding-top:" + marginTop);
};