function getSourceInfo (sourceId) {
    //    alert(sourceId);
	var sourceInfoText = getSourceText(sourceId);
	if (sourceInfoText) {
//	  alert(sourceInfoText);
          y = document.getElementById('sourceInfoSub');
          y.innerHTML = sourceInfoText;
          //y.style.position = "absolute";
          y.style.top = "180px";
          y.style.left = "180px";
          y.style.visibility = "visible";
	}
}

function cleanUpSourceInfo () {
        y = document.getElementById('sourceInfoSub');
        y.style.visibility = "hidden";
}

function getSourceText (sourceId) {

source = new Array;
source[1] = "AfricanAmericanNationalBiography|Explores African American history through the lives of its people and will ultimately include over 10,000 biographies."
source[2] = "AfricanaTheEncyclopediaoftheAfricanandAfricanAmericanExperienceSecondEdition|Covers the history and scope of cultural expression of people of African descent."
source[3] = "AmericanNationalBiographyOnline|An exploration of American history through the lives of the men and women who shaped the nation"
source[4] = "BlackWomeninAmericaSecondEdition|Explores the achievements and contributions of black women in America throughout history."
source[5] = "TheOxfordDictionaryofDance|Covers dancers, choreographers, teachers, composers, technical terms, major works, important films, and organizations."
source[6] = "TheOxfordEncyclopediaofAmericanLiterature|Explores the range and depth of American literary history from the 1600s to the present day."
source[7] = "TheOxfordEncyclopediaofEconomicHistory|A unique look into this integral part of history, covering all segments of economies throughout the world."
source[8] = "TheOxfordEncyclopediaofFoodandDrinkinAmerica|Covers the significant events, inventions, and social movements that have affected the way Americans view, prepare, and consume food and drink." 
source[9] = "EncyclopediaofAfricanAmericanHistory16191895FromtheColonialPeriodtotheAgeofFrederickDouglass|Documents the full range of the African American experience from the arrival of the first slave ship to the death of Frederick Douglass."
source[10] = "EncyclopediaofAfricanAmericanHistory18962005|The most extensive treatment of African American history in the twentieth century."
source[11] = "GroveArtOnline|The most comprehensive and authoritative resource for all research in the history of the visual arts." 
source[12] = "GroveMusicOnlineJazz|The most comprehensive and accurate reference work on jazz."
source[13] = "GroveMusicOnline|The world's premier authority on all aspects of music."  
source[14] = "GroveMusicOnlineOpera|The essential opera reference, covering every aspect of this varied art."
source[15] = "InternationalEncyclopediaofDance|Covers the full spectrum of dance-theatrical, ritual, dance-drama, folk, traditional, ethnic, and social dance."
source[16] = "TheConciseOxfordCompaniontoAfricanAmericanLiterature|Biographies of authors, critics, literary characters, and historical figures, and plot summaries of major works."
source[17] = "TheOxfordCompaniontoAmericanLaw|The authoritative reference work on the subject of American law."
source[18] = "TheOxfordCompaniontoAmericanMilitaryHistory|A wide ranging account of war, peace, and the U.S. military."
source[19] = "TheOxfordCompaniontotheBody|A fascinating and authoritative guide to every aspect of the body."
source[20] = "TheOxfordCompaniontotheHistoryofModernScience|An unparalleled history of technology, ideas, discoveries, and learned institutions that have shaped our world." 
source[21] = "TheOxfordCompaniontoMusic|Encompasses all varieties of musical forms, including jazz, popular music, and dance."
source[22] = "TheOxfordCompaniontoUnitedStatesHistory|Illuminates the people, trends, ideologies, and events that have shaped the United States."
source[23] = "TheOxfordCompaniontoWorldWarII|Unique worldwide coverage of every aspect of World War II."
source[24] = "EncyclopediaofAfricanAmericanHistory1896tothePresentFromtheAgeofSegregationtotheTwentyfirstCentury|Documents the African American experience from the passing of Frederick Douglass to the election of the first black president."

   for (i=1; i<=24; i++) {
//	alert(i);
        var sourceItem = source[i].split("|");
  //      alert(sourceItem[0] + "\n" + sourceItem[1]);
	if (sourceId == sourceItem[0]) {
                return sourceItem[1];
	}
   }
}
