var presentation = ["Zootopia<\/word>","rabbit police officer<\/word>","uncover a criminal conspiracy<\/word>","disappearance of predators<\/word>","computer-animated buddy cop comedy film<\/word>","Walt Disney Animation Studios<\/word>","place<\/word>","titular city<\/word>","anthropomorphic mammals<\/word>","unlikely partnership<\/word>","red fox con artist<\/word>","Zootopia<\/strong> is a 2016 American 3D computer-animated buddy cop comedy film<\/strong> produced by Walt Disney Animation Studios<\/strong>. Taking place<\/strong> in the titular city<\/strong> where anthropomorphic mammals<\/strong> coexist, it tells a story of an unlikely partnership<\/strong> between a rabbit police officer<\/strong> and a red fox con artist<\/strong>, as they uncover a criminal conspiracy<\/strong> involving the disappearance of predators<\/strong>.<\/phrase>","rabbit<\/word>","fulfills her childhood dream<\/word>","becoming a police officer<\/word>","Zootopia<\/word>","Judy is delegated to parking duty<\/word>","doubts her potential<\/word>","hustled by a con artist fox duo<\/word>","anthropomorphic mammals<\/word>","Judy Hopps<\/word>","Bunnyburrow<\/word>","academy valedictorian<\/word>","Chief Bogo<\/word>","first day<\/word>","Nick Wilde<\/word>","Finnick<\/word>","In a world of anthropomorphic mammals<\/strong>, rabbit<\/strong> Judy Hopps<\/strong> from rural Bunnyburrow<\/strong> fulfills her childhood dream<\/strong> of becoming a police officer<\/strong> in urban Zootopia<\/strong>. Despite being the academy valedictorian<\/strong>, Judy is delegated to parking duty<\/strong> by Chief Bogo<\/strong>, who doubts her potential<\/strong> because she is a rabbit<\/strong>. On her first day<\/strong>, she is hustled by a con artist fox duo<\/strong>, Nick Wilde<\/strong> and Finnick<\/strong>.<\/phrase>","Judy abandons parking duty<\/word>","arrest Duke Weaselton<\/word>","weasel<\/word>","stole a bag of crocus bulbs<\/word>","Bogo reprimands her<\/word>","otter<\/word>","Mrs. Otterton<\/word>","enters Bogo's office<\/word>","pleading for someone to find her husband<\/word>","Emmitt<\/word>","one of fourteen predators who are missing<\/word>","Judy volunteers<\/word>","praises the assignment<\/word>","Bogo has no choice but to give Judy the case<\/word>","she has 48 hours to find Emmitt Otterton<\/word>","she must resign if she fails<\/word>","Assistant Mayor Dawn Bellwether<\/word>","Judy abandons parking duty<\/strong> to arrest Duke Weaselton<\/strong>, a weasel<\/strong> who stole a bag of crocus bulbs<\/strong> known as Midnicampum holicithias. Bogo reprimands her<\/strong>, but an otter<\/strong>, Mrs. Otterton<\/strong>, enters Bogo's office<\/strong> pleading for someone to find her husband<\/strong> Emmitt<\/strong>, one of fourteen predators who are missing<\/strong>. When Judy volunteers<\/strong> and Assistant Mayor Dawn Bellwether<\/strong> praises the assignment<\/strong>, Bogo has no choice but to give Judy the case<\/strong>, stipulating she has 48 hours to find Emmitt Otterton<\/strong> and that she must resign if she fails<\/strong>.<\/phrase>","Judy blackmails Nick into assisting her<\/word>","Nick was the last to see Emmitt<\/word>","Emmitt<\/word>","limousine owned by crime boss<\/word>","Mr. Big<\/word>","reveals Emmitt went savage<\/word>","feral state<\/word>","attacked his chauffeur<\/word>","Emmitt yelled about Night Howlers<\/word>","Manchas himself turns savage<\/word>","chases the pair<\/word>","calls the ZPD for help<\/word>","Manchas has vanished<\/word>","Bogo demands Judy turn in her badge<\/word>","Nick reminds Bogo that Judy still has 10 hours to solve the case<\/word>","Manchas<\/word>","Judy blackmails Nick into assisting her<\/strong> by covertly recording his confession to tax evasion, having ascertained from photo evidence that Nick was the last to see Emmitt<\/strong>. They track Emmitt<\/strong> to a limousine owned by crime boss<\/strong> Mr. Big<\/strong>, who reveals Emmitt went savage<\/strong>-reverted to a feral state<\/strong>-and attacked his chauffeur<\/strong> Manchas<\/strong>. At his home, Manchas<\/strong> mentions Emmitt yelled about Night Howlers<\/strong> before the attack. Then Manchas himself turns savage<\/strong> and chases the pair<\/strong>. Judy saves Nick by trapping Manchas<\/strong>, and calls the ZPD for help<\/strong>. When help arrives, Manchas has vanished<\/strong>. Bogo demands Judy turn in her badge<\/strong>, but Nick reminds Bogo that Judy still has 10 hours to solve the case<\/strong>.<\/phrase>","Bellwether offers<\/word>","access<\/word>","discover Manchas was captured by wolves<\/word>","Judy surmises are the Night Howlers<\/word>","missing predators<\/word>","imprisoned at Cliffside Asylum<\/word>","Mayor Leodore Lionheart hides them from the public<\/word>","determine the cause of their behavior<\/word>","Lionheart and the asylum staff are arrested<\/word>","Bellwether becomes the new mayor<\/word>","City Hall<\/word>","traffic cameras<\/word>","false imprisonment<\/word>","At City Hall<\/strong>, Bellwether offers<\/strong> Judy and Nick access<\/strong> to the city's traffic cameras<\/strong>. They discover Manchas was captured by wolves<\/strong>, whom Judy surmises are the Night Howlers<\/strong>. They locate the missing predators<\/strong>-all gone savage-imprisoned at Cliffside Asylum<\/strong>, where Mayor Leodore Lionheart hides them from the public<\/strong> while trying to determine the cause of their behavior<\/strong>. Lionheart and the asylum staff are arrested<\/strong> for false imprisonment<\/strong> and Bellwether becomes the new mayor<\/strong>.<\/phrase>","has become friends with Nick<\/word>","asks him to join the ZPD<\/word>","as her partner<\/word>","upsets him at a press conference<\/word>","blaming predatory biology<\/word>","recent savage behavior<\/word>","angrily reject her offer<\/word>","comments also incite hateful speech<\/word>","discrimination against predators<\/word>","Zootopia<\/word>","Judy quits her job<\/word>","returns to Bunnyburrow<\/word>","Judy, praised for solving the case, has become friends with Nick<\/strong> and asks him to join the ZPD<\/strong> as her partner<\/strong>. However, she upsets him at a press conference<\/strong> by blaming predatory biology<\/strong> for the recent savage behavior<\/strong>, resulting in him to angrily reject her offer<\/strong>; her comments also incite hateful speech<\/strong> and discrimination against predators<\/strong> throughout Zootopia<\/strong>. Wracked with guilt, Judy quits her job<\/strong> and returns to Bunnyburrow<\/strong>.<\/phrase>","actually<\/word>","Weaselton stole<\/word>","contain a toxin<\/word>","severe psychotropic effects on mammals<\/word>","Zootopia<\/word>","reconciling with Nick<\/word>","duo confront Weaselton<\/word>","persuasion from Mr. Big<\/word>","bulbs he stole were for a ram named Doug<\/word>","find Doug<\/word>","developing a drug made from Night Howlers<\/word>","shooting at predators with a dart gun<\/word>","Night Howlers<\/word>","crocus bulbs<\/word>","Back home, Judy learns the Night Howlers<\/strong> are actually<\/strong> the crocus bulbs<\/strong> Weaselton stole<\/strong>, and they contain a toxin<\/strong> that has severe psychotropic effects on mammals<\/strong>. After returning to Zootopia<\/strong> and tearfully reconciling with Nick<\/strong>, the duo confront Weaselton<\/strong>, who, with persuasion from Mr. Big<\/strong>, tells them the bulbs he stole were for a ram named Doug<\/strong>. They find Doug<\/strong> in a laboratory hidden in the city subway, developing a drug made from Night Howlers<\/strong>, which he has been shooting at predators with a dart gun<\/strong>.<\/phrase>","Judy and Nick obtain the serum as evidence<\/word>","before they can reach the ZPD<\/word>","Bellwether confronts them<\/word>","revealing herself as the mastermind<\/word>","conspiracy<\/word>","frame predators as dangerous and savage<\/word>","Bellwether traps them<\/word>","Nick refuses to abandon an injured Judy<\/word>","shoots Nick with a serum pellet<\/word>","make him attack Judy<\/word>","Nick feigns an attack on Judy<\/word>","pair reveal<\/word>","replaced the serum pellets in Bellwether's gun with blueberries<\/word>","Bellwether threatens to frame them for the attacks<\/word>","Judy baited her<\/word>","openly declaring her role in the attacks<\/word>","recorded the confession<\/word>","Bogo and his fellow officers arrive on the scene<\/word>","Natural History Museum<\/word>","Judy and Nick obtain the serum as evidence<\/strong>, but before they can reach the ZPD<\/strong>, Bellwether confronts them<\/strong> in the Natural History Museum<\/strong> and takes the evidence, revealing herself as the mastermind<\/strong> behind a prey-supremacist conspiracy<\/strong> to frame predators as dangerous and savage<\/strong>. Bellwether traps them<\/strong> in an exhibition after Nick refuses to abandon an injured Judy<\/strong>. She then shoots Nick with a serum pellet<\/strong> to make him attack Judy<\/strong> and summons the ZPD for help. Nick feigns an attack on Judy<\/strong> before the pair reveal<\/strong> that they have replaced the serum pellets in Bellwether's gun with blueberries<\/strong>. Enraged, Bellwether threatens to frame them for the attacks<\/strong> but discovers that Judy baited her<\/strong> into openly declaring her role in the attacks<\/strong> and recorded the confession<\/strong>, just as Bogo and his fellow officers arrive on the scene<\/strong>.<\/phrase>","Bellwether and her accomplices<\/word>","arrested for their crimes<\/word>","Lionheart publicly denies knowledge of her plot<\/word>","cause of the epidemic identified<\/word>","predators are cured<\/word>","Judy rejoins the ZPD<\/word>","Nick graduates from the Zootopia Police Academy<\/word>","city's first fox police officer<\/word>","becomes Judy's partner<\/word>","Bellwether and her accomplices<\/strong> are arrested for their crimes<\/strong>, while Lionheart publicly denies knowledge of her plot<\/strong> and states that his imprisonment of the infected predators was a wrong thing for the right reason. With the cause of the epidemic identified<\/strong>, the predators are cured<\/strong> and Judy rejoins the ZPD<\/strong>. Nick graduates from the Zootopia Police Academy<\/strong> as the city's first fox police officer<\/strong> and becomes Judy's partner<\/strong>.<\/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':2307, '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':2307, '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':2307, 'userId':0, 'playerAction':action, 'playerArea':area, 'details':details, 'timestamp': t } }) .done(function(results){ }) .fail(function( jqXHR, textStatus ) { alert( "Request failed: " + textStatus ); }); }