<body>
<script>
window.onload = function () {
var img = [
"http://javascript.ru/forum/images/ca_serenity/misc/logo.gif",
"http://javascript.ru/forum/image.php?u=19820&dateline=1334914235",
"http://javascript.ru/img/webstorm.png"
];
var dif = Math.round(2*Math.random());
document.body.style.backgroundImage = 'url('+ img[dif] +')';
}
</script>