function showDetails(arr, num)
{

	for (a=0; a<arr.length; a++) {

		if (a+1 == num) {

			getEl(arr[a]).style.display = "block";
			getEl(arr[a]+"_button").className = "selected";

		} else {

			getEl(arr[a]).style.display = "none";
			getEl(arr[a]+"_button").className = "";

		}

	}

}
