// 50Hz Blogger Random quotes

/*

Why is this JavaScript you ask, when Nucleus CMS runs on PHP?
Well, because of the unique way in which Nucleus works, you can't have PHP scripts once the page has been rendered.

*/

function randomQuote() {
	var quotes = new Array();
		quotes[0] = "being told the princess is in another castle.";
		quotes[1] = "going up; up; down; down; left; right; left; right; B; A; START.";
		quotes[2] = "your totally irrelevant source of gaming news.";
		quotes[3] = "telling you since when something happened.";
		quotes[4] = "GRABBIN' PILLS";"M-M-MONSTER KILL";
		quotes[5] = "catching 'em all.";
		quotes[6] = "not stoppin' the COLE TRAIN; BABY.";
		quotes[7] = "ROYAL RAINBOW!";
		quotes[8] = "not being saddened by Aeris' death.";
		quotes[9] = "having a voice inside my head saying 'NEED MORE POWER!'";
		quotes[10] = "haven't beaten a single Korean at Starcraft.";
		quotes[11] = "stuck in a mall full of zombies. But at least I covered wars.";
		quotes[12] = "METAL... GEAR!?";
		quotes[13] = "the russian navy has a secret u-boat.";
		quotes[14] = "chasing my shadow with a key...";
		
	var randomnum = Math.floor(Math.random()*14);
	
	var quote;
	quote = "Since 2006, " + quotes[randomnum];
	
	document.getElementById("top_quote").innerHTML = quote;

}

/*function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
	window.onload = func;
  } else {
	window.onload = function() {
	  if (oldonload) {
		oldonload();
	  }
	  func();
	}
  }
}
	
addLoadEvent(randomQuote());
*/