Se me ocurre hacerlo con HTML y javascript de la siguiente manera:
Código HTML:
Ver original<body style="background:url(images.jpg)" onload="prueba()">
Código Javascript
:
Ver originalfunction prueba() {
fondo = new Array();
fondo[0] = 'images.jpg';
fondo[1] = 'images2.jpg';
fondo[2] = 'images3.jpg';
x = Math.round(Math.random()*(fondo.length-1));
document.body.style.backgroundImage = "url("+fondo[x]+")";
}