window.onload=montre;
function montre(id) {
var d = document.getElementById(id);
	for (var i = 1; i<=10; i++) {
		if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
	}
if (d) {d.style.display='block';}
}

var randnum = Math.random();
var inum = 5;
// Change this number to the number of images you are using.
var rand1 = Math.round(randnum * (inum-1)) + 1;
images = new Array
images[1] = "../images/0.gif"
images[2] = "../images/1.gif"
images[3] = "../images/2.jpg"
images[4] = "../images/3.jpg"
images[5] = "../images/4.jpg"

// Ensure you have an array item for every image you are using.
var image = images[rand1]
// Deactivate cloaking device -->
