boton = new Array()
boton[1]="/ndsu/gif/images/b.search.off.gif"
boton[2]="/ndsu/gif/images/b.search.on.gif"
boton[3]="/ndsu/gif/images/b.phonebook.off.gif"
boton[4]="/ndsu/gif/images/b.phonebook.on.gif"
boton[5]="/ndsu/gif/images/b.campusmap.off.gif"
boton[6]="/ndsu/gif/images/b.campusmap.on.gif"
botonImg= new Array()
//Cargar imagesSwap por anticipado
for (j=0; j<boton.length; j++)
{   
botonImg[j] = new Image() 
botonImg[j].src = boton[j]}
function SetupMessages(n) {
	this.length = n;
	for (var i = 1; i <= n; i++) {
		this[i] = '' 
	}
	return this
}
var imagenboton = "";
var selectionArea = "";
function imagesSwap(numeroboton,botonValue)
{
var imagenboton = boton[numeroboton];
document.images[botonValue].src=imagenboton
}
