// JavaScript Document

// Anfang von hintergrundbild
        
var imgURLs = ['http://www.adultmovement.com/images/header01.jpg', 'http://www.adultmovement.com/images/header02.jpg', 'http://www.adultmovement.com/images/header03.jpg', 'http://www.adultmovement.com/images/header04.jpg', 'http://www.adultmovement.com/images/header05.jpg', 'http://www.adultmovement.com/images/header06.jpg', 'http://www.adultmovement.com/images/header07.jpg', 'http://www.adultmovement.com/images/header08.jpg', 'http://www.adultmovement.com/images/header09.jpg', 'http://www.adultmovement.com/images/header10.jpg', 'http://www.adultmovement.com/images/header11.jpg', 'http://www.adultmovement.com/images/header12.jpg', 'http://www.adultmovement.com/images/header13.jpg', 'http://www.adultmovement.com/images/header14.jpg', 'http://www.adultmovement.com/images/header15.jpg', 'http://www.adultmovement.com/images/header16.jpg', 'http://www.adultmovement.com/images/header17.jpg'];
var anzahlBilder = imgURLs.length;
var zufallsZahl = Math.floor((Math.random()*anzahlBilder));
var image;
images = new Image();
images.src = imgURLs[zufallsZahl];

function randomBackground() {
  	document.getElementById("hederimage").style.backgroundImage = "url("+images.src+")";
}
  
// Ende von hintergrundbild
          