// JavaScript Document

/*Random background color- by javascriptkit.com
Visit JavaScript Kit (http://javascriptkit.com) for script
Credit must stay intact for use*/

//Enter list of bgcolors:

/*function random() {

var bgcolorlist=new Array("#A63D1C", "#5A166E", "#1D3370", "#97AE2B", "#333333")

document.getElementById('banner').style.background=bgcolorlist[Math.floor(Math.random()*5)]
}*/

function random() {
	var pictures = new Array();
	
	
	pictures[0] = "#A63D1C";
	
	pictures[1] = "#5A166E";
	
	pictures[2] = "#1D3370";
	
	pictures[3] = "#97AE2B";
	
	pictures[4] = "#333333";
	


	
	var randNo = Math.floor(5 * Math.random()); //Then number here is the total number of pictures
	var welcome = document.getElementById('banner');
	

	welcome.style.backgroundColor = pictures[randNo];

}

