// Rollover Function 

function swapImage(imageID, imagePath) {
	var imgID;
	imgID = document.getElementById(imageID);
	imgID.src = imagePath;
}


//Radomize Index
var index = Math.floor(Math.random() * 4) + 1;

//New Rollover Function with Random images
function swapImageRandom(imageID, imageName) {
	var imgID;
	imgID = document.getElementById(imageID);
	imgID.src = "images/site_nav/set" + index + "/" + imageName;
}

function initiateImage(imageName, id, alt){
document.write('<img src="images/site_nav/set' + index + '/' + imageName +'" alt="' + alt + '" border="0" id="' + id + '" />');
}

// Random left images

var rdmImage = new Array();
	rdmImage[0] = "<img src=\"../../../../images/leftcol_photos/photo1.jpg\" alt=\"Photo of a Morehouse student\" />";
	rdmImage[1] = "<img src=\"../../../../images/leftcol_photos/photo2.jpg\" alt=\"Photo of a Morehouse student\" />";
	rdmImage[2] = "<img src=\"../../../../images/leftcol_photos/photo3.jpg\" alt=\"Photo of a Morehouse student\" />";
	rdmImage[3] = "<img src=\"../../../../images/leftcol_photos/photo4.jpg\" alt=\"Photo of a Morehouse student\" />";
	rdmImage[4] = "<img src=\"../../../../images/leftcol_photos/photo5.jpg\" alt=\"Photo of a Morehouse student\" />";
	rdmImage[5] = "<img src=\"../../../../images/leftcol_photos/photo6.jpg\" alt=\"Photo of a Morehouse student\" />";
var n = 5;
var imgChg = Math.round(Math.random() * n);
var randomImage = rdmImage[imgChg];

// Random Fact

var rdmFact = new Array();
	rdmFact[0] = "Ranked one of the top 50 feeder schools for the nation&rsquo;s premier professional and graduate schools<br> - <em>The Wall Street Journal</em>";
	rdmFact[1] = "The first HBCU to produce a Rhodes scholar";
	rdmFact[2] = "One of two HBCUs to produce three Rhodes scholars";
	rdmFact[3] = "Produced five Fulbright, five Marshall and five Luce scholars";
	rdmFact[4] = "One of only a few liberal arts colleges that offers a leadership studies minor";
	rdmFact[5] = "Dozens of Fortune 100 and 500 top executives visit each year";
	rdmFact[6] = "Home of the 10,000-piece Morehouse College Martin Luther King Jr. Collection";
	rdmFact[7] = "Chapel - World's most prominent religious memorial to Alumnus Martin Luther King Jr., class of 1948";
	rdmFact[8] = "Students from 40 states and 27 foreign countries";
	rdmFact[9] = "100 percent of tenured-track professors have terminal degrees";
	rdmFact[10] = "Home of the only Martin Luther King Jr. statue in the state of Georgia";
	rdmFact[11] = "One of only four colleges and universities to have chapters of both Phi Beta Kappa and Beta Kappa Gamma ";
	rdmFact[12] = "Nearly two-thirds of the student body participate in community service programs";
	rdmFact[13] = "Sends more African American males to study abroad than any other college or university in the nation";
	rdmFact[14] = "15:1 student/faculty ratio";
	rdmFact[15] = "One of 262 colleges in the nation with a Phi Beta Kappa Chapter";
var n = 16;
var factChg = Math.round(Math.random() * n);
var randomFact = rdmFact[factChg];