menu = function() {
if (document.all&&document.getElementById) {
a = document.getElementById("n1");
b = document.getElementById("n2");
a.onmouseover=function() { b.style.display="block"; }
a.onmouseout=function() { b.style.display="none"; }
}
	var imgs = ["images/01quotes.gif","images/02quotes.gif","images/03quotes.gif","images/04quotes.gif","images/05quotes.gif","images/06quotes.gif","images/Alvares-webdef_07.gif"];
	var img2 = ["images/01img.jpg","images/02img.jpg","images/03img.jpg","images/04img.jpg","images/05img.jpg","images/06img.jpg","images/07img.jpg","images/08img.jpg","images/09img.jpg","images/10img.jpg","images/11img.jpg","images/Alvares-webdef_10.jpg"];
	var foot = ["images/images.jpg","images/02footer.jpg","images/03footer.jpg","images/04footer.jpg","images/05footer.jpg","images/06footer.jpg","images/07footer.jpg"];
	var rand = Math.round(Math.random()*imgs.length);
	var rand1 = Math.round(Math.random()*img2.length);
	if (rand == 7){ran = 6} else {ran = rand}
	if (rand1 == 12){ran1 = 11} else {ran1 = rand1}
	c = document.getElementById("img1");
	d = document.getElementById("img2");
	e = document.getElementById("footer");
	c.src = imgs[ran];
	d.src = img2[ran1];
	e.style.background = "url(" + foot[ran] + ")";
}
window.onload=menu;



