function randomNumber(limit){
  return Math.floor(Math.random()*limit);
}

function randomIndex(indexArray){  
  return randomNumber(indexArray.length); 
} 

function getRandomTestQuote() {
  document.write(testQuoteArray[randomTestIndex]);
}
function getRandomTestSource() {
  document.write(testSourceArray[randomTestIndex]);
}

function getRandomTechQuote() {
  document.write(techQuoteArray[randomTechIndex]);
}
function getRandomTechSource() {
  document.write(techSourceArray[randomTechIndex]);
}

function getRandomAboutQuote() {
  document.write(aboutQuoteArray[randomAboutIndex]);
}
function getRandomAboutSource() {
  document.write(aboutSourceArray[randomAboutIndex]);
}

function getRandomContactQuote() {
  document.write(contactQuoteArray[randomContactIndex]);
}
function getRandomContactSource() {
  document.write(contactSourceArray[randomContactIndex]);
}