
function boxes_menu_over(id) {
	id.className = "boxes_menu_over";
}
function boxes_menu_out(id) {
	id.className = "boxes_menu_out";
}

var ic = 14; // Number of alternative images
var pic1,pic2,pic3,pic4;
var xoxo = new Array(ic); 
// Array to hold filenames 
xoxo[0] = "photos/09062008_band12.jpg"; xoxo[1] = "photos/09062008_band4.jpg"; 
xoxo[2] = "photos/09062008_band2.jpg"; xoxo[3] = "photos/09062008_band28.jpg"; 
xoxo[4] = "photos/09062008_band9.jpg"; xoxo[5] = "photos/09062008_band10.jpg"; 
xoxo[6] = "photos/09062008_band19.jpg"; xoxo[7] = "photos/09062008_band13.jpg"; 
xoxo[8] = "photos/09062008_band17.jpg"; xoxo[9] = "photos/09062008_band18.jpg"; 
xoxo[10] = "photos/09062008_band37.jpg"; xoxo[11] = "photos/09062008_band21.jpg"; 
xoxo[12] = "photos/09062008_band25.jpg"; xoxo[13] = "photos/09062008_band31.jpg"; 
function pickRandom(range) { 
	pic1=Math.floor(Math.random()*(range-1));
	pic2=pic1;
	pic3=pic1;
	pic4=pic1;
	while (pic1==pic2) {
		pic2=Math.floor(Math.random()*(range-1));
	}
	while (pic1==pic3 || pic2==pic3) {
		pic3=Math.floor(Math.random()*(range-1));
	}
	while (pic1==pic4 || pic2==pic4 || pic3==pic4) {
		pic4=Math.floor(Math.random()*(range-1));
	}
	//if (Math.random) return Math.round(Math.random() * (range-1)); 
	//else { var now = new Date(); return (now.getTime() / 1000) % range; } 
} 
function equal4() {
	if (pic1!=pic2 && pic1!=pic3 && pic1!=pic4 && pic2!=pic3 && pic2!=pic4 && pic3!=pic4)
		return true;
	else return false;
}

