User:Soul reaper/nimbus.js

/*** Randomiser: header ***/

function randomBack { var opts = [ 'http://www.halopedia.org/images/f/f8/MybodyB.jpg', 'http://www.halopedia.org/images/9/9f/Mybody.jpg', ];		$('body').css('background-image','url(' + opts[Math.floor(opts.length*Math.random)] + ')'); } $(randomBack);

/*** Randomiser: wiki-logo ***/

function randomLogo { var opts2 = [ 'http://www.halopedia.org/images/9/95/H1pedia.png', 'http://www.halopedia.org/images/9/9b/H2pedia.png', 'http://www.halopedia.org/images/3/32/H3pedia.png', 'http://www.halopedia.org/images/0/07/HWpedia.png', 'http://www.halopedia.org/images/3/31/ODSTpedia.png', 'http://www.halopedia.org/images/6/63/REACHpedia.png', 'http://www.halopedia.org/images/1/1f/CEAHpedia.png', 'http://www.halopedia.org/images/7/7d/H4Hpedia.png', 'http://www.halopedia.org/images/f/f6/SApedia.png', 'http://www.halopedia.org/images/4/4d/HMCCpedia2.png', ];	$('#site-logo a').css('background-image','url(' + opts2[Math.floor(opts2.length*Math.random)] + ')'); } $(randomLogo);