


function Choice(i, a, h, c) {
	this.image = i;
	this.alt = a;
	this.caption = c;
	this.href = h;
}

function choose(a) {
	var p=parseInt(Math.random() * a.length);
	if (p == a.length) p = a.length -1;
	if (isNaN(p)) p = 0;
	return a[p];
}