// JavaScript Document

photo_links=new Array()
photo_links[0]="quickoverview"
photo_links[1]="faculty"
photo_links[2]="studentoutcomes"
photo_links[3]="servicelearning"
photo_links[4]="village"
photo_links[5]="studyabroad"
photo_links[6]="athletics"

function hideallexcept(elm) {
for (var i = 0; i < photo_links.length; i++) {
var layer = document.getElementById(photo_links[i]);
if (elm == "quickoverview"){
	$(".arrow").css({'left':'72px'});
}
else if (elm == "faculty"){
	$(".arrow").css({'left':'177px'});
}
else if (elm == "studentoutcomes"){
	$(".arrow").css({'left':'282px'});
}
else if (elm == "servicelearning"){
	$(".arrow").css({'left':'387px'});
}
else if (elm == "village"){
	$(".arrow").css({'left':'492px'});
}
else if (elm == "studyabroad"){
	$(".arrow").css({'left':'597px'});
}
else{
	$(".arrow").css({'left':'702px'});
}
					
if (elm!= photo_links[i]) {
layer.style.display = "none";

}

else {
layer.style.display = "block";


}
}
}



