var presentation = ["The Rescuers Down Under<\/word>","animated adventure film<\/word>","sequel<\/word>","The Rescuers<\/word>","based on the novels of Margery Sharp<\/word>","Australian Outback<\/word>","Bianca<\/word>","traveling to Australia<\/word>","pursuit of an endangered bird<\/word>","Walt Disney Feature Animation<\/word>","Walt Disney Pictures<\/word>","film centers<\/word>","Bernard<\/word>","save<\/word>","Cody<\/word>","villainous poacher<\/word>","The Rescuers Down Under<\/strong> is a 1990 American animated adventure film<\/strong> produced by Walt Disney Feature Animation<\/strong> and released by Walt Disney Pictures<\/strong>. The film is the sequel<\/strong> to the animated film The Rescuers<\/strong>, which was based on the novels of Margery Sharp<\/strong>. Set in the Australian Outback<\/strong>, the film centers<\/strong> on Bernard<\/strong> and Bianca<\/strong> traveling to Australia<\/strong> to save<\/strong> a boy named Cody<\/strong> from a villainous poacher<\/strong> in pursuit of an endangered bird<\/strong> of prey.<\/phrase>","Australian Outback<\/word>","befriends a rare golden eagle<\/word>","Marahute<\/word>","shows him her nest and eggs<\/word>","falls into an animal trap<\/word>","Percival C. McLeach<\/word>","wanted by the Australian Rangers<\/word>","realizes he knows the eagle's location<\/word>","reveals he killed another<\/word>","Marahute's mate<\/word>","kidnaps him<\/word>","intent on extracting Marahute's whereabouts<\/word>","young boy<\/word>","Cody<\/word>","local poacher<\/word>","In the Australian Outback<\/strong>, a young boy<\/strong> named Cody<\/strong> rescues and befriends a rare golden eagle<\/strong> called Marahute<\/strong>, who shows him her nest and eggs<\/strong>. Later on, he falls into an animal trap<\/strong> set by Percival C. McLeach<\/strong>, a local poacher<\/strong> wanted by the Australian Rangers<\/strong>. When McLeach finds one of Marahute<\/strong>'s feathers in Cody<\/strong>'s backpack, he realizes he knows the eagle's location<\/strong>, and reveals he killed another<\/strong>, Marahute's mate<\/strong>. McLeach throws Cody<\/strong>'s backpack to a float of crocodiles to trick the Rangers into thinking that Cody<\/strong> was eaten, and kidnaps him<\/strong>, intent on extracting Marahute's whereabouts<\/strong>.<\/phrase>","A mouse<\/word>","runs off to a secret outpost<\/word>","telegram is sent to the Rescue Aid Society headquarters<\/word>","United Nations<\/word>","Miss Bianca<\/word>","assigned to the mission<\/word>","interrupting Bernard's attempt to propose marriage to Bianca<\/word>","go to find Orville<\/word>","albatross<\/word>","aided them to rescue Penny<\/word>","instead meet his brother<\/word>","convince to fly them to Australia<\/word>","Rescue Aid Society's local regional operative<\/word>","Jake becomes infatuated with Bianca<\/word>","flirts with her<\/word>","serves as their tour guide and protector<\/word>","Wilbur accidentally bends his spinal column<\/word>","Jake sends him to the hospital<\/word>","his back is unintentionally straightened<\/word>","Wilbur departs in search of his friends<\/word>","New York City<\/word>","Bernard<\/word>","elite field agents<\/word>","Wilbur<\/word>","Jake<\/word>","hopping mouse<\/word>","A mouse<\/strong>, the bait in the trap, runs off to a secret outpost<\/strong>, from which a telegram is sent to the Rescue Aid Society headquarters<\/strong> in the United Nations<\/strong>, New York City<\/strong>. Bernard<\/strong> and Miss Bianca<\/strong>, the elite field agents<\/strong>, are assigned to the mission<\/strong>, interrupting Bernard's attempt to propose marriage to Bianca<\/strong>. They go to find Orville<\/strong> the albatross<\/strong>, who aided them to rescue Penny<\/strong> previously in the original film, but instead meet his brother<\/strong>, Wilbur<\/strong>, whom they convince to fly them to Australia<\/strong>. There, they meet Jake<\/strong>, a hopping mouse<\/strong> who is the Rescue Aid Society's local regional operative<\/strong>. Jake becomes infatuated with Bianca<\/strong> and flirts with her<\/strong>, much to Bernard<\/strong>'s dismay. He serves as their tour guide and protector<\/strong> in search of the boy. Wilbur accidentally bends his spinal column<\/strong> out of shape trying to help them, so Jake sends him to the hospital<\/strong>. As Wilbur<\/strong> refuses to undergo surgery and escapes his captors, his back is unintentionally straightened<\/strong> in the struggle with the mouse medical staff. Cured, Wilbur departs in search of his friends<\/strong>.<\/phrase>","McLeach's hideout<\/word>","Cody is imprisoned<\/word>","divulge Marahute's whereabouts<\/word>","Cody attempts to free himself<\/word>","thwarted by Joanna<\/word>","Marahute's eggs<\/word>","Cody's weak spot,<\/word>","tricks Cody<\/word>","into thinking someone else killed Marahute<\/word>","knowing Cody will go to her nest<\/word>","Bianca<\/word>","chase<\/word>","follow him<\/word>","mice try to warn Cody<\/word>","Marahute appears<\/word>","McLeach captures her<\/word>","along with Cody, Jake and Bianca<\/word>","McLeach then sends Joanna<\/word>","eat Marahute's eggs<\/word>","Bernard manages to trick her<\/word>","egg-shaped stones<\/word>","leaves without harming the real eggs<\/word>","Wilbur arrives at the nest<\/word>","Bernard convinces him to sit on the eggs<\/word>","pet goanna<\/word>","Bernard<\/word>","Jake<\/word>","arrive<\/word>","nest<\/word>","At McLeach's hideout<\/strong>, Cody is imprisoned<\/strong> with a number of captured animals after refusing to divulge Marahute's whereabouts<\/strong>. Cody attempts to free himself<\/strong> and the animals, but is thwarted by Joanna<\/strong>, McLeach's pet goanna<\/strong>. Realizing that Marahute's eggs<\/strong> are Cody's weak spot,<\/strong> McLeach tricks Cody<\/strong> into thinking someone else killed Marahute<\/strong> and releases him, knowing Cody will go to her nest<\/strong>. Bernard<\/strong>, Bianca<\/strong>, and Jake<\/strong> arrive<\/strong> as McLeach gives chase<\/strong> and jump onto his halftrack to follow him<\/strong>. At the nest<\/strong>, the mice try to warn Cody<\/strong>, but just then, Marahute appears<\/strong> and McLeach captures her<\/strong>, along with Cody, Jake and Bianca<\/strong>. McLeach then sends Joanna<\/strong> to eat Marahute's eggs<\/strong>, but Bernard manages to trick her<\/strong> using egg-shaped stones<\/strong>, and she leaves without harming the real eggs<\/strong>. Wilbur arrives at the nest<\/strong>, whereupon Bernard convinces him to sit on the eggs<\/strong> while he goes after McLeach.<\/phrase>","McLeach takes his captives to Crocodile Falls<\/word>","huge waterfall<\/word>","He ties Cody up<\/word>","hangs him over a group of crocodiles<\/word>","riding a wild razorback pig<\/word>","arrives and disables McLeach's vehicle<\/word>","Bernard tricks Joanna into crashing into McLeach<\/word>","sending both of them into the water<\/word>","crocodiles attack McLeach and Joanna<\/word>","Cody falls into the water<\/word>","Joanna flees<\/word>","McLeach fends off the crocodiles<\/word>","plunges over it to his death<\/word>","Bernard dives into the water<\/word>","holds Cody long enough<\/word>","Jake and Bianca to free Marahute<\/word>","allowing her to save Cody and Bernard<\/word>","Cody<\/word>","Bernard<\/word>","Jake<\/word>","McLeach takes his captives to Crocodile Falls<\/strong>, a huge waterfall<\/strong> at the end of the river he threw Cody<\/strong>'s backpack into. He ties Cody up<\/strong> and hangs him over a group of crocodiles<\/strong>, intent on feeding him to them, but Bernard<\/strong>, riding a wild razorback pig<\/strong> he tamed using a horse whispering technique he learned from Jake<\/strong>, arrives and disables McLeach's vehicle<\/strong>. McLeach then attempts to shoot the rope holding Cody<\/strong> above the water, but Bernard tricks Joanna into crashing into McLeach<\/strong>, sending both of them into the water<\/strong>. The crocodiles attack McLeach and Joanna<\/strong>, while behind them Cody falls into the water<\/strong> as the damaged rope breaks. While Joanna flees<\/strong>, McLeach fends off the crocodiles<\/strong>, but forgets about the waterfall until it's too late and plunges over it to his death<\/strong>. Bernard dives into the water<\/strong> and holds Cody long enough<\/strong> for Jake and Bianca to free Marahute<\/strong>, allowing her to save Cody and Bernard<\/strong> just as they go over the waterfall.<\/phrase>","proposes to Bianca<\/word>","eagerly and happily accepts<\/word>","Jake salutes him<\/word>","new-found respect<\/word>","Safe at last<\/word>","group departs for Cody's home<\/word>","Wilbur is still sitting on Marahute\u2018s eggs<\/word>","Bernard<\/word>","Wilbur<\/word>","Bernard<\/strong>, desperate to prevent any further incidents, proposes to Bianca<\/strong>, who eagerly and happily accepts<\/strong> while Jake salutes him<\/strong> with a new-found respect<\/strong>. Safe at last<\/strong>, the group departs for Cody's home<\/strong>. Meanwhile, Wilbur is still sitting on Marahute\u2018s eggs<\/strong> and is about to leave until they hatch and one of the hatchlings bite Wilbur<\/strong>'s beak.<\/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':2274, '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':2274, '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':2274, 'userId':0, 'playerAction':action, 'playerArea':area, 'details':details, 'timestamp': t } }) .done(function(results){ }) .fail(function( jqXHR, textStatus ) { alert( "Request failed: " + textStatus ); }); }