var presentation = ["The Next America<\/word>","a demographer<\/word>","a kaleidoscope of differences<\/word>","our ancestors<\/word>","the New World<\/word>","In his book The Next America<\/strong>, Paul Taylor, a demographer<\/strong> at the Pew Research Center, writes that \"[a]s a people, we're growing older, more unequal, more diverse, more mixed race, more digitally linked, more tolerant, less married, less fertile, less religious, less mobile, and less confident.\"\nIt's quite a kaleidoscope of differences<\/strong>. But what it does not show is that about one-third of us, or 100 million Americans, have one thing in common: our ancestors<\/strong> took their first step in the United States on a 27- acre landfill in Upper New York Bay called Ellis Island. For 62 years \u2013 from 1892 until 1954 \u2013 it was the site of a famous landmark, a huge, faux French Renaissance federal building that served as the main United States processing center for immigrants to the New World<\/strong>.<\/phrase>","Emma Lazarus<\/word>","pretentious edifice<\/word>","looking for a better life<\/word>","For the millions who responded to Emma Lazarus<\/strong>' ringing call of \"Give me your tired, your poor, your huddled masses yearning to breathe free,\" the pretentious edifice<\/strong> was the gateway to futures and opportunities vastly better than what they left behind.\nMost of them were natives of Central, Eastern and Southern Europe \u2013 Slavs and Italians looking for a better life<\/strong> and Jews fleeing from oppressive ghettos \u2013 and as their ships passed the nearby Statue of Liberty, many cried in anticipation of reaching the legendary land of their dreams.\nIn most cases, what followed was a rude awakening.\nTired, sea-sick, and hungry after a crossing that could take up to six weeks, they would disembark from their crowded, smelly compartments only to be herded into a crowded, smelly great room that could hold (and sleep on the floor) up to 1,000 people.<\/phrase>","Uncle Sam<\/word>","medical examination<\/word>","depression, epilepsy and cerebral palsy<\/word>","They'd be asked 29 probing questions, including name, occupation, and what money they brought to tide them over until they found a job. (The safe answer was to claim 18 to 25 dollars, or about 400-600 dollars in today's currency \u2013 Uncle Sam<\/strong> did not want people who'd be a burden on their new country.)\nAnd most critically, they had to pass a medical examination<\/strong> that started the moment they entered the station, when the medical staff began watching how healthy they looked and how easily they walked and climbed the stairs.\nThe immigration officials, doctors and nurses were looking for any sign of disability, physical abnormality (including in height and weight), or deformity. They paid special attention to indications of mental illness or intellectual disability, not only \"imbecility\" but also depression, epilepsy and cerebral palsy<\/strong>.<\/phrase>","barred from entering the country<\/word>","Criminals, prostitutes and homosexuals were mandatorily excluded from entering the U.S., and sick arrivals had to either convince the medics that their health problems were temporary, or cheat. Their diagnosis was marked by chalk on the back of their clothing \u2013 and according to reports, many a new arrival simply rubbed out the mark and rejoined the queue of healthy immigrants.\nBetween 1891 and 1930, the Ellis Island immigration office reviewed millions of applications from would-be immigrants. Up to 1,300 of them were processed each day, and almost 450,000 during the station's first year. Most of the new arrivals were either remarkably fit, the medical standards were low, or the doctors ran out of chalk. Although some 700,000 were given certificates of disability or disease, only 79,000 of them were barred from entering the country<\/strong>.<\/phrase>","the muster<\/word>","For the more the 12 million who passed the muster<\/strong>, the process was remarkably efficient. Typically, they spent only 4-5 hours on the island before they were put on a ferry and sent to a port in New Jersey, free to start their new lives.\nThe record on the so-called \"Ellis Island immigration\" proved once again that the most valuable resource any nation can import is people.\nAmong the hundreds of prominent Americans who could trace their background to Ellis Island were such eminent celebrities and performers as: Isaac Asimov, a prodigious science fiction writer and author of 500 books; Irving Berlin, one of America's greatest songwriters whose \"Alexander Ragtime Band\" was a world-wide hit; Frank Capra, the director of prize-winning movies including the classic Mr. Smith Goes to Washington; Associate Justice Felix Frankfurter, who served on the United States Supreme Court for 23 years; Max Factor, the founder and developer of the modern cosmetics industry; and U.S. Navy Admiral Hyman G. Rickover, the forward-looking military leader who became known as \"Father of the Nuclear Submarine.\"<\/phrase>","inclusion and assimilation<\/word>","wholesale exclusions<\/word>","the New World<\/word>","THE \"PEOPLING\" OF AMERICA\n\"The peopling of the United States is one of the most important stories of the last 500 years,\" wrote Michael Barone in his Shaping our Nation, a history of America's immigration waves. It is a triumphant story about the inclusion and assimilation<\/strong> of hundreds of millions of Americans born abroad; but it is also a story of wholesale exclusions<\/strong> of others that we today recognize as racist.\nThe selective process started already with the first surges of immigrants to the American colonies. They were the Scots-Irish, Germans and Scandinavians \u2013 mostly Northern European Protestants. They took great risks and suffered endless hardships to reach the New World<\/strong> and succeed, but succeed they did. As the pioneers, they shaped the culture of the young nation, and they were determined to keep it that way.<\/phrase>","Naturalization<\/word>","indentured servants<\/word>","They made it clear by the passage of the Naturalization<\/strong> Act of 1790, the first federal law that set the rules for granting United States citizenship. The act limited that status to immigrants who were \"free white persons of good character,\" thereby excluding \u2013 among others \u2013 Native Americans, slaves, indentured servants<\/strong>, free blacks, and Asians.\nAsians, in particular, were to be excluded from emigrating. In the 1860s, Congress became obsessed with the offensively named \"Yellow Peril,\" the name given to thousands of Chinese laborers who had been brought in the country to build the First Transcontinental Railroad. In 1870, the legislature passed a Naturalization<\/strong> Act that denied them U.S. citizenship. For good measure, the law also banned the entry to all Chinese women, so that the men could not find Chinese brides and settle in the U.S.<\/phrase>","Gentlemen's Agreement<\/word>","negligible<\/word>","Since that did not seem to do the job, the lawmakers in 1882 barred all Chinese immigration; in 1885 they prohibited employers to bring to the U.S. foreign laborers; in 1907 they concluded a \"Gentlemen's Agreement<\/strong>\" under which the Japanese government agreed to regulate the emigration of its citizens to the U.S.; and in 1917 they enacted the so-called \"Literacy\" or \"Asiatic Barred Zone Act.\" It was America's most sweeping exclusion measure, and it restricted the immigration of all Asians.\nThe next focus of racist legislation were two other categories of \"undesirable\" immigrants \u2013 European Catholics and Jews \u2013 who by the start of the 20th century were flooding Ellis Island. In response, Congress in 1921 overrode President Woodrow Wilson's veto and enacted a new system for keeping the country predominantly Anglo-Saxon and Protestant.\nThe Emergency Quota Act, which was made more specific in 1924, limited the number of immigrants from every country to three percent of its natives who lived in the U.S. in 1910. Professionals and Latin Americans were admitted without restrictions. But the immigration quotas for Central, Southern, and Eastern Europeans, who in the early 1900s were only very small American minorities, were negligible<\/strong>.<\/phrase>","Displaced Persons Act<\/word>","Their arrivals dropped so steeply that by 1924 the processing of immigrants was turned over to U.S. embassies and consulates, and the Ellis Island immigration office dealt only with immigrants with faulty paperwork and individual refugees.\nThe exclusionary emphasis highlighted also the 1952 McCarran-Walter Act, a Cold War measure that reflected the fears generated by the aggressive expansionism of the Soviet Union. The law, which was passed over the veto of President Harry S. Truman, barred the entry and allowed the deportation of suspected subversives and Communist Party members.\nOther laws, however, began to make America more welcoming. In 1948, President Truman scored a major victory by persuading Congress to enact the Displaced Persons Act<\/strong>. After several amendments, the law admitted 600,000 refugees from Communist-dominated Europe to the U.S., almost all of whom were the once-rejected Eastern and Central Europeans and Jews.<\/phrase>","Naturalization<\/word>","In 1965, another seminal measure, the Immigration and Nationality Act, for the first time committed the United States to accepting immigrants of all nationalities on a roughly equal basis. The law eliminated the use of national-origin quotas, and \u2013 most importantly \u2013 greatly eased the unification of immigrant families. The results were dramatic.\nThe Naturalization<\/strong> of a single immigrant from any country opened the door to his or her relatives and their spouses, and once they became American citizens, they could sponsor their own brothers and sisters. In 1960, seven out of every eight immigrants were Europeans; by 2010, nine out of ten were coming from other parts of the world.\nThe share of the U.S. population born abroad tripled, and as Paul Taylor noted, became far more diverse.\nBut what all the immigration laws have failed to resolve is an issue with which Congress and our Presidents have grappled since the mid-1950's: the huge \u2013 and illegal \u2013 immigration of Latin American workers drawn by our country's post-World War II prosperity and economic strength. While they brought here welcome skills and energy, their massive influx across the porous Mexican-U.S. border has defied the search for a formula that would legitimize and regulate their stay.<\/phrase>","amnesty<\/word>","In 1986, President Ronald Reagan took a major step by giving amnesty<\/strong> to 11.4 million of these illegal immigrants. But three decades later, there was again a similar number of illegal residents in the country, and this time the solutions most bandied around \u2013 for example, their expulsion or building a wall along the 1,954 mile-long U.S.- Mexican border \u2013 were far more harsh and of dubious nature.\nThe only optimistic answer to the seemingly insolvable problem came from a 400-page report published in September 2015 by the National Academies of Sciences, Engineering and Medicine.\nA panel of the Academies' scholars, scientists, and other experts investigated the records of 41 million foreign-born residents - including about 11.3 million illegal immigrants - and their children born in the United States. The researchers found that the often-heard worry \u2013 that these Spanish-speaking immigrants will never become Americans \u2013 was baseless.<\/phrase>","integration<\/word>","According to the report, the illegals' English language learning \"is happening as rapidly or faster now than it did for earlier waves of mainly European immigrants in the 20th century\"; their education levels, the diversity of their jobs, and their wages are improving, and the newest generations of immigrants are assimilating into American society as fast and broadly as the previous ones.\nThe conclusion of Mary C. Waters, a sociologist at Harvard who led research was that \"The force of integration<\/strong> is strong. However we do it, we are good at it.\"\nIt was a welcome assurance that America's traditional formula for dealing with immigrants \u2013 their assimilation \u2013 still works, even without their passage through the Ellis Island.<\/phrase>"]; var currentPosition = 0; var totalPositions = 0; var timePerWord = 1500; var timePerPhraseWord = 120 var readAheadPlayerTimer; var autoPlay = true; var setMinimized = false; var wordSpeedOptions = {'Slower':2000,'Moderate':1200,'Fast':800}; var phraseSpeedOptions = {'Slower':280,'Moderate':200,'Fast':80}; var defaultWordSpeedOption = 'Moderate'; var defaultPhraseSpeedOption = 'Moderate'; var logToLTI = false; $(window).load(function(){ totalPositions = presentation.length; if (totalPositions > 0){ $('body').prepend('
'); $('body').prepend('
'); $('#read_ahead_player').prepend('
'); initializeReadAheadControls(); initializeReadAheadSlider(); initializeReadAheadSpeedOptions(); currentReadAheadControls(); resumeReadAheadPlayback(); } }); $(document).keyup(function(e){ switch(e.which) { case 37: pauseReadAheadPresentation(); priorReadAheadPresentationItem(); break; case 39: pauseReadAheadPresentation(); nextReadAheadPresentationItem(); break; default: break; } }); function initializeReadAheadControls(){ var s = ''; s += ''; s += ''; s += ''; s += '
'; s += ''; s += ''; s += ''; s += ''; s += ''; s += ''; s += ''; s += ''; s += ''; s += '
'; $('#read_ahead_player').append(s); } function initializeReadAheadSlider(){ var s = ''; s += '
'; s += '
'; s += '
'; $('#read_ahead_controls').prepend(s); updateReadAheadSliderPosition(); } function initializeReadAheadSpeedOptions(){ var s = '
'; s += '
'; s += ' Word Speed
'; s += '
'; optionCount = 0; for (index in wordSpeedOptions) { optionCount++; } optionWidth = 100 / optionCount; for (index in wordSpeedOptions) { var option = wordSpeedOptions[index]; if (index == defaultWordSpeedOption) { s += ''; updateReadAheadWordSpeed(option); } else { s += ''; } } s += '
'; s += '
'; s += '
'; s += ' Phrase Speed
'; s += '
'; optionCount = 0; for (index in phraseSpeedOptions) { optionCount++; } optionWidth = 100 / optionCount; for (index in phraseSpeedOptions) { var option = phraseSpeedOptions[index]; if (index == defaultWordSpeedOption) { s += ''; updateReadAheadPhraseSpeed(option); } else { s += ''; } } s += '
'; s += '
'; s += '
'; $('#read_ahead_controls').append(s); } function updateReadAheadWordSpeed(microseconds,sender) { microseconds = microseconds != undefined && microseconds > 0 ? microseconds : 0; if (microseconds > 0) { timePerWord = microseconds; } if (sender!=undefined) { $('#slider_control_word_speed').find('a').removeClass('current_speed'); $(sender).addClass('current_speed'); } logReadAheadPlayerAction('updateReadAheadWordSpeed','Presentation',microseconds); } function updateReadAheadPhraseSpeed(microseconds,sender) { microseconds = microseconds != undefined && microseconds > 0 ? microseconds : 0; if (microseconds > 0 ) { timePerPhraseWord = microseconds; } if (sender!=undefined) { $('#slider_control_phrase_speed').find('a').removeClass('current_speed'); $(sender).addClass('current_speed'); } logReadAheadPlayerAction('updateReadAheadPhraseSpeed','Presentation',microseconds); } function updateReadAheadSliderPosition(){ var currentSliderBarWidth = 100 - (100 / totalPositions * (currentPosition + 1)); $('#readAheadSliderBar').css('width',currentSliderBarWidth+'%'); } function currentReadAheadControls(){ $('#read_ahead_player_pause_play').show(); if (currentPosition < totalPositions - 1) { $('#read_ahead_player_next_word').removeClass('disabled'); } else { $('#read_ahead_player_next_word').addClass('disabled'); } if (currentPosition > 0) { $('#read_ahead_player_previous_word').removeClass('disabled'); } else { $('#read_ahead_player_previous_word').addClass('disabled'); } } function restartReadAheadPresentation(){ currentPosition = 0; logReadAheadPlayerAction('restartReadAheadPresentation','Presentation',''); resumeReadAheadPlayback(); } function resumeReadAheadPlayback(){ $('.fa-repeat').removeClass('fa-repeat').addClass('fa-play'); $('#read_ahead_player_pause_play').each(function(){ $(this).find('.fa-play').removeClass('fa-play').addClass('fa-pause'); $(this).off('click'); $(this).attr('onclick','pauseReadAheadPresentation()'); }); logReadAheadPlayerAction('resumeReadAheadPlayback','Presentation',''); playReadAheadPresentation(); } function pauseReadAheadPresentation(){ $('#read_ahead_player_pause_play').each(function(){ $(this).find('.fa-pause').removeClass('fa-pause').addClass('fa-play'); $(this).off('click'); $(this).attr('onclick','resumeReadAheadPlayback()'); }); logReadAheadPlayerAction('pauseReadAheadPresentation','Presentation',''); read_ahead_pause(); } function endReadAheadPresentation(){ $('.fa-play').removeClass('fa-play').addClass('fa-repeat'); $('.fa-pause').removeClass('fa-pause').addClass('fa-repeat'); $('#read_ahead_player_pause_play').each(function(){ $(this).off('click'); $(this).attr('onclick','restartReadAheadPresentation()'); }); logReadAheadPlayerAction('endReadAheadPresentation','Presentation',''); logLTIEndPresentation(); } function playReadAheadPresentation(){ autoPlay=true; currentPosition--; logReadAheadPlayerAction('playReadAheadPresentation','Presentation',''); nextReadAheadPresentationItem(); } function startReadAheadStepper(timeDisplayWord){ clearInterval(readAheadPlayerTimer); readAheadPlayerTimer = setTimeout(function() { read_ahead_step(); },timeDisplayWord); } function stopReadAheadStepper(){ clearInterval(readAheadPlayerTimer); } function read_ahead_step(){ if (autoPlay) { nextReadAheadPresentationItem(); } } function read_ahead_pause(){ autoPlay=false; stopReadAheadStepper(); } function showReadAheadPresentationItem(index){ currentPosition = index; currentPresentationItem = presentation[currentPosition] != undefined ? presentation[currentPosition].trim() : ""; if (currentPresentationItem != "") { currentItemWordCount = presentation[currentPosition].replace("\n","").split(" ").length; if (currentPresentationItem.startsWith("")){ startReadAheadStepper(currentItemWordCount*timePerWord); $('#read_ahead_player_field').html('
'+currentPresentationItem+'
'); logReadAheadPlayerAction('showReadAheadPresentationItem','Word',currentPresentationItem); } else { startReadAheadStepper(currentItemWordCount*timePerPhraseWord); $('#read_ahead_player_field').html('
'+currentPresentationItem.replace("\n","
")+'
'); logReadAheadPlayerAction('showReadAheadPresentationItem','Phrase',''); } } else { if (currentPosition < totalPositions) { nextReadAheadPresentationItem(); } else { endReadAheadPresentation(); read_ahead_minimize(); } } currentReadAheadControls(); updateReadAheadSliderPosition(); saveReadAheadPosition(); } function priorReadAheadPresentationItem(){ stopReadAheadStepper(); logReadAheadPlayerAction('priorReadAheadPresentationItem','Controls',''); showReadAheadPresentationItem(currentPosition-1); } function nextReadAheadPresentationItem(){ stopReadAheadStepper(); logReadAheadPlayerAction('nextReadAheadPresentationItem','Controls',''); showReadAheadPresentationItem(currentPosition+1); } function read_ahead_playAgain(){ currentWordIndex = 0; logReadAheadPlayerAction('read_ahead_playAgain','Controls',''); playReadAheadPresentation(); } function read_ahead_minimize(){ setMinimized = true; logReadAheadPlayerAction('read_ahead_minimize','Controls',''); read_ahead_switch_min_max(); } function read_ahead_maximize(){ setMinimized = false; logReadAheadPlayerAction('read_ahead_maximize','Controls',''); read_ahead_switch_min_max(); } function read_ahead_switch_min_max(forceSwitch){ forceSwitch = forceSwitch != undefined ? forceSwitch : false; if (forceSwitch) { setMinimized = !setMinimized; } if (setMinimized) { $('#read_ahead_player_back').fadeOut(); $('#read_ahead_player').addClass('minimize'); $('.player-icons .fa-stack').removeClass('fa-lg').addClass('fa-sm'); $('.player-icons .fa-minus').removeClass('fa-minus').addClass('fa-expand'); logReadAheadPlayerAction('read_ahead_switch_min_max','Min',''); //$('#read_ahead_player_max_min').each(function(){ // $(this).off('click'); // $(this).attr('onclick','read_ahead_maximize()'); //}); } else { $('#read_ahead_player_back').fadeIn(); $('#read_ahead_player').removeClass('minimize'); $('.player-icons .fa-stack').removeClass('fa-sm').addClass('fa-lg'); $('.player-icons .fa-expand').removeClass('fa-expand').addClass('fa-minus'); logReadAheadPlayerAction('read_ahead_switch_min_max','Max',''); //$('#read_ahead_player_max_min').each(function(){ // $(this).off('click'); // $(this).attr('onclick','read_ahead_minimize()'); //}); } } function saveReadAheadPosition(){ $.ajax({ type:'POST', url:'/ajax/save_user_presentation_position.php', data: { 'id':1079, 'position': currentPosition } }) .done(function(results){ }) .fail(function( jqXHR, textStatus ) { alert( "Request failed: " + textStatus ); }); } function logLTIEndPresentation(action) { if (!logToLTI) { return; } $.ajax({ type:'POST', url:'/lti/presentationEnded.php', data: { 'documentId':1079, 'userId':0, } }) } function logReadAheadPlayerAction(action,area,details){ var d = new Date(); var t = d.getTime(); action = action != undefined ? action.trim() : 'UNKNOWN'; area = area != undefined ? area.trim() : ''; details = details != undefined ? details : ''; // If we are about to show a new word, increase the number of keywords // reinforced so we can log that for the Dashboard page. if (area == 'Word') { window.keywordCount++; } $.ajax({ type:'POST', url:'/logging/logPlayerAction.php', data: { 'documentId':1079, 'userId':0, 'playerAction':action, 'playerArea':area, 'details':details, 'timestamp': t } }) .done(function(results){ }) .fail(function( jqXHR, textStatus ) { alert( "Request failed: " + textStatus ); }); }