
function randomImage(element){
	imagePath = "ui/images/home/";
	imageArray = new Array("main-image-1.jpg","main-image-1.jpg","main-image-1.jpg","main-image-1.jpg");
	seed = Math.floor(Math.random() * imageArray.length);
	myImage = imagePath+imageArray[seed];
	
	if(document.getElementById){
		
		myContainer = document.getElementById("messaging");
		myContainer.style.backgroundImage = "url('"+myImage+"')";
		
		
		}

	}

//window.onload=function(){randomImage("messaging");}

