function get_random_tip () {
  var now = new Date();
  var curdate = now.getTime(); 
//  alert(curdate);
  var index = Math.round((curdate/86400000)%68);
//  alert(index);
  var tip = did[index].split("|");
  var tip_text = tip[0];
  var tip_action = tip[1];
  var tip_link = tip[2];
  var didYouKnow = "<div class='contentPadding'><p>" + tip_text + "<br /><a href='" + tip_link + "' class='more'>" + tip_action + "</a>";
  var didPlace = form = document.getElementById('didYouKnowContent');
  didPlace.innerHTML = didYouKnow;
}

did = new Array;
did[1] = "The Amsterdam News is the oldest and largest black-owned newspaper in New York City.|Learn more now!|/article/opr/t0002/e0186?hi=1"
did[2] = "The Reconstruction Act of 1867 gave black men the right to vote.|Learn more now!|/article/opr/t0004/e0067#Reconstruction:TheHighPointofBlackCitizenship"
did[3] = "Timelines will lead you through the history of Africa and the Diaspora. |Try it now! |/content/timeline?th1=th1"
did[4] = "Timelines will lead you through the history of Africa and the Diaspora. |Try it now! |/content/timeline?th1=th1"
did[5] = "At a Glance pages will direct you to all articles for a single subject.|Try it now! |/article/aag/491?hi=17"
did[6] = "At a Glance pages will direct you to all articles for a single subject.|Try it now! |/article/aag/818?hi=18"
did[7] = "You can search any word in the article text using the Look it Up tool.  |Try it now! |/article/opr/t0004/e0185?hi=15"
did[8] = "Benjamin Banneker was a tobacco farmer before publishing his first almanac. |Learn more now!|/article/opr/t0004/e0044?hi=4"
did[9] = "You can expand your research with access to thousands of bibliographic citations. |Try it now! |/search/bib_search.jsp"
did[10] = "You can search bibliographies for citations related to politics, religion, or the arts.|Try it now! |/search/bib_search.jsp"
did[11] = "You can search bibliographies by author name. |Try it now! |/search/bib_search.jsp"
did[12] = "You can search bibliographies by journal or article title.  |Try it now! |/search/bib_search.jsp"
did[13] = "You can search bibliographies by publication date.  |Try it now! |/search/bib_search.jsp"
did[14] = "You can read biographies on Hank Aaron and Zumbi.|Try it now! |/content/browse?_scope=collection%28%27%2Ftype/biography%27%29%2Fdoc"
did[15] = "You can read biographies on Cleopatra and Coretta Scott King.|Try it now! |/content/browse?_scope=collection%28%27%2Ftype/biography%27%29%2Fdoc"
did[16] = "You can browse biographies by subject and era.|Try it now! |/content/browse?_scope=collection%28%27%2Ftype/biography%27%29%2Fdoc"
did[17] = "You can browse through over 4,000 biographies. |Try it now! |/content/browse?_scope=collection%28%27%2Ftype/biography%27%29%2Fdoc"
did[18] = "You can search over 4,000 biographies by a person's occupation. |Try it now! |/search/bios_search.jsp"
did[19] = "You can search for articles on women sports figures.|Try it now! |/search/bios_search.jsp"
did[20] = "You can search over 4,000 biographies by a person's place of origin. |Try it now! |/search/bios_search.jsp"
did[21] = "You can search for biographies of political activists from the Civil Rights era.|Try it now! |/search/bios_search.jsp"
did[22] = "You can search over 4,000 biographies by birth date.  |Try it now! |/search/bios_search.jsp"
did[23] = "You can search over 4,000 biographies by death date.  |Try it now! |/search/bios_search.jsp"
did[24] = "You can browse biographies, subject entries, images, maps, and more!   |Try it now! |/search/bios_search.jsp"
did[25] = "You can browse content by subject category.  |Try it now! |/search/bios_search.jsp"
did[26] = "You can look for articles related to a specific time in American history.|Try it now! |/search/bios_search.jsp"
did[27] = "Timelines will lead you through the history of African Americans in business.|Try it now! |/content/timeline?th3=th3"
did[28] = "Timelines will lead you through the history of African Americans in business.|Try it now! |/content/timeline?th3=th3"
did[29] = "The Carnival festivals of Brazil and Rio de Janeiro derived from Christian celebrations in Europe.|Learn more now!|/article/opr/t0002/e0827?hi=5"
did[30] = "You will find statistics on household income growth and college enrollment numbers.|Try it now! |/content/browse?_scope=collection%28%27%2Ftype/chart%27%29%2Fdoc"
did[31] = "You will find statistics on families, marriage, and motherhood.|Try it now! |/content/browse?_scope=collection%28%27%2Ftype/chart%27%29%2Fdoc"
did[32] = "You will find lists of award winners and office holders.|Try it now! |/content/browse?_scope=collection%28%27%2Ftype/chart%27%29%2Fdoc"
did[33] = "You will find tables with population information by race for every state.|Try it now! |/content/browse?_scope=collection%28%27%2Ftype/chart%27%29%2Fdoc"
did[34] = "The first Civil Rights Act was introduced in 1875.|Learn more now!|/article/primary/ps0012?hi=6"
did[35] = "There are currently over one hundred historically black colleges and universities in the US.|Learn more now!|/article/opr/t0002/e0998?hi=7"
did[36] = "You have access to the vital statistics of over 90 countries and territories.|Try it now! |/learning_center?display=0&c=country"
did[37] = "You have quick access to population, social, and economic information for over 90 countries. |Try it now! |/learning_center?display=0&c=country"
did[38] = "Frank Robinson was the first black manager in Major League Baseball.|Learn more now!|/article/opr/t0002/e3360?hi=8"
did[39] = "The first African American Greek-letter society was founded in Philadelphia.|Learn more now!|/article/opr/t0002/e1531?hi=9"
did[40] = "Timelines will lead you through the history of African Americans. |Try it now! |/content/timeline?th1=th1"
did[41] = "Timelines will lead you through the history of African Americans. |Try it now! |/content/timeline?th1=th1"
did[42] = "You can browse through over 1,000 images. |Try it now! |/content/browse?_scope=collection%28%27%2Ftype/illustration%27%29%2Fdoc"
did[43] = "You can discover images depicting the history of African Americans and religion.|Try it now! |/content/browse?_scope=collection%28%27%2Ftype/illustration%27%29%2Fdoc"
did[44] = "You can find images of prominent political figures and major political events.|Try it now! |/content/browse?_scope=collection%28%27%2Ftype/illustration%27%29%2Fdoc"
did[45] = "You can search over 1,000 images by subject category or era.|Try it now! |/search/image_search.jsp "
did[46] = "You can search for images of dancers, actors, and musicians.|Try it now! |/search/image_search.jsp "
did[47] = "You can explore the web guided by an editorially selected list of Internet resources.|Try it now! |/content/internet_resources/index.jsp"
did[48] = "You can find links to Internet resources on literature and the performing arts.|Try it now! |/content/internet_resources/index.jsp"
did[49] = "You can find links to Internet resources on the military and science and medicine.|Try it now! |/content/internet_resources/index.jsp"
did[50] = "You can search over 10,000 entries for information about the Civil War era.|Try it now! |/search/advanced_search.jsp"
did[51] = "You can search over 10,000 entries for information about the period of Reconstruction.|Try it now! |/search/advanced_search.jsp"
did[52] = "You can search over 10,000 entries to learn about the period of the Great Depression.|Try it now! |/search/advanced_search.jsp"
did[53] = "You can search over 10,000 entries to learn about the Antebellum era.|Try it now! |/search/advanced_search.jsp"
did[54] = "You can search the full text of over 10,000 entries selecting for subject category and era.|Try it now! |/search/advanced_search.jsp"
did[55] = "You can search over 10,000 entries for information about languages and literature.|Try it now! |/search/advanced_search.jsp"
did[56] = "You can search over 10,000 entries for information about the performing arts.|Try it now! |/search/advanced_search.jsp"
did[57] = "You can search over 10,000 entries for information about sports.|Try it now! |/search/advanced_search.jsp"
did[58] = "You can search over 10,000 entries for information about business and labor.|Try it now! |/search/advanced_search.jsp"
did[59] = "You can search over 10,000 entries for information about education and academia.|Try it now! |/search/advanced_search.jsp"
did[60] = "You can search over 10,000 entries for information about government and politics.|Try it now! |/search/advanced_search.jsp"
did[61] = "You can search over 10,000 entries for information about Africa and the Diaspora.|Try it now! |/search/advanced_search.jsp"
did[62] = "You can search over 10,000 entries for information about family and daily life.|Try it now! |/search/advanced_search.jsp"
did[63] = "You can search over 10,000 entries for information about science and medicine.|Try it now! |/search/advanced_search.jsp"
did[64] = "You can search over 10,000 entries for information about religion and spirituality.|Try it now! |/search/advanced_search.jsp"
did[65] = "You will find over 90 maps of countries, territories, and regions. |Try it now! |/content/browse?_scope=collection%28%27%2Ftype/map%27%29%2Fdoc"
did[66] = "You will find maps on over 90 countries, from Algeria to Zimbabwe.|Try it now! |/content/browse?_scope=collection%28%27%2Ftype/map%27%29%2Fdoc"
did[67] = "You will find maps covering events of the Civil War and the Civil Rights movement. |Try it now! |/content/browse?_scope=collection%28%27%2Ftype/map%27%29%2Fdoc"
did[68] = "You will find maps of Early African Kingdoms and Harlem in the 1920s.|Try it now! |/content/browse?_scope=collection%28%27%2Ftype/map%27%29%2Fdoc"
did[69] = "Timelines will lead you through the history of African Americans in the military.|Try it now! |/content/timeline?th4=th4"
did[70] = "Timelines will lead you through the history of African Americans in the military.|Try it now! |/content/timeline?th4=th4"
did[71] = "You can find speeches by John Brown and Stokely Carmichael.|Try it now! |/content/browse?_scope=collection%28%27%2Ftype/primary%27%29%2Fdoc"
did[72] = "You can find presidential statements from Abraham Lincoln to Bill Clinton. |Try it now! |/content/browse?_scope=collection%28%27%2Ftype/primary%27%29%2Fdoc"
did[73] = "You can find speeches by Sojourner Truth and Barbara Jordan.|Try it now! |/content/browse?_scope=collection%28%27%2Ftype/primary%27%29%2Fdoc"
did[74] = "You can search over 100 primary source documents by subject category or era. |Try it now! |/search/primary_search.jsp"
did[75] = "You can search for slave narratives and personal letters. |Try it now! |/search/primary_search.jsp"
did[76] = "You can search for presidential and political documents.|Try it now! |/search/primary_search.jsp"
did[77] = "You can find Primary Source Documents by document author.  |Try it now! |/search/primary_search.jsp"
did[78] = "You can search the full text of Primary Source Documents.  |Try it now! |/search/primary_search.jsp"
did[79] = "You can look for Primary Source Documents by document date.  |Try it now! |/search/primary_search.jsp"
did[80] = "Timelines will lead you through the history of African Americans in sports. |Try it now! |/content/timeline?th6=th6"
did[81] = "Timelines will lead you through the history of African Americans in sports. |Try it now! |/content/timeline?th6=th6"
did[82] = "You can read articles ranging from the Middle Passage to AIDS in Africa.|Try it now! |/content/browse?_scope=collection%28%27%2Ftype/article%27%29%2Fdoc"
did[83] = "You can find articles on literature and business and government and families and more! |Try it now! |/content/browse?_scope=collection%28%27%2Ftype/article%27%29%2Fdoc"
did[84] = "You can find articles on music and sports and politics and education and more! |Try it now! |/content/browse?_scope=collection%28%27%2Ftype/article%27%29%2Fdoc"
did[85] = "You can read articles ranging from Aardvark to Zydeco.|Try it now! |/content/browse?_scope=collection%28%27%2Ftype/article%27%29%2Fdoc"
did[86] = "Timelines will lead you through the history of African American women. |Try it now! |/content/timeline?th2=th2"
did[87] = "Timelines will lead you through the history of African American women. |Try it now! |/content/timeline?th2=th2"
did[88] = "Will Smith and partner Jazzy Jeff were the first hip-hop artists to receive a Grammy award.|Learn more now!|/article/opr/t0002/e3620?hi=1"
did[89] = "Ruth Simmons was the first black woman to be appointed president of a top-tier college or university.|Learn more now!|/article/opr/t0003/e0394?hi=3"

