User:Spartacus/nimbus.js

/*** Randomiser: header ***/

function randomBack { var opts = [ 'http://www.halopedia.org/images/archive/a/a0/20110716172439!Headertest.jpg', 'http://www.halopedia.org/images/archive/a/a0/20110825154206!Headertest.jpg', 'http://www.halopedia.org/images/archive/a/a0/20110825162527!Headertest.jpg', 'http://www.halopedia.org/images/5/59/Halopedia_Banner_2.jpg' ];		$('body').css('background-image','url(' + opts[Math.floor(opts.length*Math.random)] + ')'); } $(randomBack);