User:Soul reaper/nimbus.js

/*** Randomiser: header ***/

function randomBack { var opts = [ 'http://www.halopedia.org/images/a/a9/NewBGTest.gif', ];		$('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', ];	$('#site-logo a').css('background-image','url(' + opts2[Math.floor(opts2.length*Math.random)] + ')'); } $(randomLogo);