var randomDYK = new Array ( );
//Don't go longer than text on [7] (Ron Leibman)
randomDYK[0] = "Charles Warren Fairbanks, class of 1872, served as the Vice President of the United States under Theodore Roosevelt from 1904 to 1908.";
randomDYK[1] = "Branch Rickey &rsquo;04 was named the Most Influential Sports Figure of the 20<sup>th</sup> Centry by ESPN. Rickey made history in 1947 when he hired Jackie Robinson for the Brooklyn Dodgers, breaking the color barrier in pro baseball. He is also widely credited with developing Major League Baseball&rsquo;s farm system and pioneering the use of batting helmets.";
randomDYK[2] = "Dr. Norman Vincent Peale &rsquo;20, has shared <em>The Power of Positive Thinking</em> with 20 million readers in 41 languages since it was published in 1952. His life as a pastor and self-help author was chronicled in the 1964 film <em>One Man&rsquo;s Way</em>.";
randomDYK[3] = "Frank Stanton &rsquo;30 was president of CBS from 1946 to 1973. In 1971, he took on Congress and the Nixon White House in an historic confrontation to defend broadcast journalists&rsquo; First-Amendment rights &hellip; and he won. His pioneering work also ushered in the era of presidential debates and changed the face of American politics.";
randomDYK[4] = "Robert E. Lee &rsquo;39 was a Pulitzer Prize-winning playwright who co-authored many legendary stage works, including <em>Auntie Mame</em> and <em>Inherit the Wind</em>, both of which were adapted into feature films.";
randomDYK[5] = "David Hobson &rsquo;58 has served nine consecutive terms in the United States House of Representatives, representing Ohio&rsquo;s 7<sup>th</sup> Congressional District.";
randomDYK[6] = "Dr. Sherwood Rowland &rsquo;58 was awarded the Nobel Prize in Chemistry in 1995 for his ground-breaking work with CFCs (chlorofluorocarbons) and their effects on the Earth&rsquo;s ozone layer.";
randomDYK[7] = "Rob Leibman &rsquo;58 won a Tony Award for his role in the Broadway production of <em>Angels in America</em>. He received an Emmy for his short-lived series <em>Kaz</em>, an Obie Award for <em>Transfers</em>, and a New York Drama Desk Award for <em>We Bombed in New Haven</em>. He has been seen most recently on <em>Law and Order: SVU</em> and <em>The Sopranos</em>; he also had a recurring role as Dr. Leonard Green on <em>Friends</em>.";
randomDYK[8] = "George Conrades &rsquo;61 was selected as one of the 25 most important people in computer networking by <em>Network World</em> in December 2000. Conrades is currently Executive Chairman of Akamai Technologies, having served the company as Chairman and CEO from 1999 &ndash; 2005.";
randomDYK[9] = "Paul Gillmor &rsquo;61 represented Ohio&rsquo;s 5<sup>th</sup> Congressional District for 10 consecutive terms in the United States House of Representatives. Prior to his first election to Congress, he served in the Ohio Senate for 22 years.";
randomDYK[10] = "Novelist Richard North Patterson &rsquo;68 has written 15 novels, eight of which were consecutive international best sellers. Two of his novels were combined into an NBC television miniseries.";
randomDYK[11] = "Wendie Malick &rsquo;72 won four Cable Ace Awards for Best Actress in a Comedy Series for her work on HBO&rsquo;s <em>Dream On</em>. She also starred for seven years as Nina Van Horn on the NBC comedy <em>Just Shoot Me</em>, for which she was twice nominated for an Emmy Award. She played a recurring role as Ronne Lawrence on <em>Frasier</em> and continues to work steadily in television and films.";
randomDYK[12] = "Jo Ann Emerson &rsquo;72 is the first Republican woman to represent Missouri&rsquo;s 8<sup>th</sup> Congressional District in the United States House of Representatives.";
randomDYK[13] = "Patricia Wettig &rsquo;74 won a Golden Globe Award and three Emmy Awards for Best Actress in a Dramatic Series for her work on ABC&rsquo;s <em>thirtysomething</em>. She has also starred in films, including <em>City Slickers</em>, <em>Guilty by Suspicion</em>, and <em>The Langoliers</em>.";
randomDYK[14] = "Susan Headden &rsquo;77 won the Pulitzer Prize for Investigative Reporting in 1991 for her series on medical malpractice in the <em>Indianapolis Star</em>.";
randomDYK[15] = "OWU&rsquo;s four-student team retired from <em>College Bowl</em>, the popular 1960s television quiz show, with an undefeated record. It was only the 14<sup>th</sup> time in the program&rsquo;s six-year history that a team lost no matches.";
randomDYK[16] = "Amos Dolbear, an OWU junior, invented the first telephone receiver with a permanent magnent in 1865&mdash;eleven years before Alexander Graham Bell patented his model. Later, Dolbear couldn&rsquo;t prove his claim in court, so Bell kept the patent."
randomDYK[17] = "In the early 1860s, more than 300 students and faculty members left the University to serve in the Civil War. At that time, OWU was predominantly Republican, anti-slavery, and Unionist.";

var randomArray = new Array ( );
randomArray[0] = 0;
randomArray[1] = 1;
randomArray[2] = 2;
randomArray[3] = 3;
randomArray[4] = 4;
randomArray[5] = 5;
randomArray[6] = 6;
randomArray[7] = 7;
randomArray[8] = 8;
randomArray[9] = 9;
randomArray[10] = 10;
randomArray[11] = 11;
randomArray[12] = 12;
randomArray[13] = 13;
randomArray[14] = 14;
randomArray[15] = 15;
randomArray[16] = 16;
randomArray[17] = 17;

var x = 0;

function fisherYates(myArray) {
  var i = myArray.length;
  if (i == 0) return false;
  while (--i) {
     var j = Math.floor(Math.random() * (i + 1));
     var tempi = myArray[i];
     var tempj = myArray[j];
     myArray[i] = tempj;
     myArray[j] = tempi;
  }
}

function pickDYK() {
	fisherYates(randomArray);
	x = randomArray[0];
	document.getElementById('dyk').innerHTML = randomDYK[x]
	setInterval ("rotateDYK()",12000);
}

function rotateDYK() {
	x++;	
	if (x >= randomDYK.length) {
		x = 0;
	}
	document.getElementById('dyk').innerHTML = randomDYK[x]	
}