// Display Random Message


function getMessage() {
 var randomnumber = Math.round(Math.random()*3);
	if (randomnumber == 1) {msg1();}
	else if (randomnumber == 2) {msg2();}
	else {msg3();}
}



function msg1() {
document.write('<p><strong>Meet the New Faculty<\/strong><br \/>');
document.write('Learn more about our new faculty members and what they are all about ');
document.write('<a href=\'http://www.geology.yale.edu/newfaculty\'><em> More...<\/em><\/a><\/p>');
}

function msg2() {
document.write('<p><strong>Meet the Department Chair<\/strong><br \/>');
document.write('Welcome to Yale University and the Department of Geology and Geophysics! ');
document.write('<a href=\'http://www.geology.yale.edu/chairman/\'><em> More...<\/em><\/a><\/p>');
}

function msg3() {
document.write('<p><strong>The Dana Club<\/strong><br \/>');
document.write('The Data Club is a graduate student group in the Department of Geology and Geophysics...');
document.write('<a href=\'http://earth.geology.yale.edu/danaclub/\'><em> More...<\/em><\/a><\/p>');
}
