// swap backgrounds of swapimages div
var images = new Array('1.jpg','2.jpg','3.jpg','4.jpg','kete.jpg','spiral.jpg')


var image = document.getElementById('swapimage')
if (image) {
		var index = Math.floor(Math.random() * (images.length))  // set to length+1 if you want a chance of current bg staying
		if (index < images.length) {
			image.style.backgroundImage = 'url()'
			image.style.backgroundImage = 'url(../images/bg_images/'+images[index]+')'
	}
}

