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/4/4d/HMCCpedia2.png', 'http://www.halopedia.org/images/f/fd/HMCCpedia1.png', ];	$('#site-logo a').css('background-image','url(' + opts2[Math.floor(opts2.length*Math.random)] + ')'); } $(randomLogo);