var presentation = ["2 Fast 2 Furious<\/word>","action film<\/word>","standalone sequel<\/word>","The Fast and the Furious<\/word>","second installment<\/word>","Fast & Furious franchise<\/word>","Brian O'Conner<\/word>","Roman Pearce<\/word>","go undercover<\/word>","U.S. Customs Service<\/word>","apprehend drug lord<\/word>","Carter Verone<\/word>","erasure of their criminal records<\/word>","2 Fast 2 Furious<\/strong> is a 2003 action film<\/strong> and is the standalone sequel<\/strong> to The Fast and the Furious<\/strong>, it is the second installment<\/strong> in the Fast & Furious franchise<\/strong>. 2 Fast 2 Furious<\/strong> follows Brian O'Conner<\/strong> and Roman Pearce<\/strong> who go undercover<\/strong> for the U.S. Customs Service<\/strong> to apprehend drug lord<\/strong> Carter Verone<\/strong> in exchange for the erasure of their criminal records<\/strong>.<\/phrase>","letting Dominic Toretto escape<\/word>","former LAPD officer<\/word>","Brian O'Conner<\/word>","flees from Los Angeles<\/word>","escape prosecution<\/word>","relocates to Miami<\/word>","makes a living<\/word>","illegal street races<\/word>","races are organized<\/word>","local mechanic friend<\/word>","Tej Parker<\/word>","police show up<\/word>","Brian is arrested<\/word>","taken into custody<\/word>","given a deal<\/word>","FBI Agent Bilkins<\/word>","U.S. Customs Agent Markham<\/word>","go undercover<\/word>","bring down Argentinian drug lord<\/word>","Carter Verone<\/word>","clearance of his criminal record<\/word>","Agent Monica Fuentes<\/word>","undercover with Verone for a year<\/word>","assist bringing Brian into the organization<\/word>","given permission to choose his own partner<\/word>","After letting Dominic Toretto escape<\/strong> from the authorities, former LAPD officer<\/strong> Brian O'Conner<\/strong> flees from Los Angeles<\/strong> to escape prosecution<\/strong>. He subsequently relocates to Miami<\/strong> and makes a living<\/strong> participating in illegal street races<\/strong>, driving a heavily modified silver Nissan Skyline GT-R R34. The races are organized<\/strong> by his local mechanic friend<\/strong> Tej Parker<\/strong>. After winning a race against drivers including Suki, the police show up<\/strong> and Brian is arrested<\/strong>. He is taken into custody<\/strong>, but given a deal<\/strong> by his former boss FBI Agent Bilkins<\/strong> and U.S. Customs Agent Markham<\/strong> to go undercover<\/strong> and bring down Argentinian drug lord<\/strong> Carter Verone<\/strong> in exchange for clearance of his criminal record<\/strong>. Agent Monica Fuentes<\/strong>, who has been undercover with Verone for a year<\/strong>, agrees to assist bringing Brian into the organization<\/strong>. Brian agrees on the condition that he is given permission to choose his own partner<\/strong>.<\/phrase>","Brian to travel to Barstow<\/word>","enlists the help of childhood friend<\/word>","Roman Pearce<\/word>","served jail time<\/word>","housing stolen cars<\/word>","making a living<\/word>","demolition derby driver<\/word>","blames Brian for his arrest<\/word>","reluctantly agrees to help<\/word>","exchange for the same deal Brian was offered<\/word>","Roman and Brian are later hired by Verone<\/word>","compete against rival drivers<\/word>","police ambush spooks Roman<\/word>","shoots at Markham<\/word>","help maintain his cover<\/word>","confronts the agent<\/word>","interfering with the mission<\/word>","Brian is able to salvage the situation<\/word>","Verone is allegedly aiming to launder his money<\/word>","mission<\/word>","This prompts Brian to travel to Barstow<\/strong>, where he enlists the help of childhood friend<\/strong> Roman Pearce<\/strong>, who served jail time<\/strong> for housing stolen cars<\/strong> in a garage and currently making a living<\/strong> as a demolition derby driver<\/strong>. Roman, currently on parole, gets into a brief fight and blames Brian for his arrest<\/strong>, but reluctantly agrees to help<\/strong> in exchange for the same deal Brian was offered<\/strong>. For their mission<\/strong> they are issued two confiscated, modified cars-a Mitsubishi Lancer Evolution VII and a Mitsubishi Eclipse Spyder GTS. Roman and Brian are later hired by Verone<\/strong>, who tasks the duo to compete against rival drivers<\/strong> to obtain a package from a confiscated Ferrari located in a lot. During the race, some of the hired drivers crash while a few are injured by big rigs. Markham, who mistakenly thinks that the duo is trying to run away, follows them to the lot. The police ambush spooks Roman<\/strong>, who shoots at Markham<\/strong> to help maintain his cover<\/strong>. Roman later confronts the agent<\/strong> for interfering with the mission<\/strong>. Brian is able to salvage the situation<\/strong>, however, telling Bilkins that Verone is allegedly aiming to launder his money<\/strong> in Miami before escaping on his private jet.<\/phrase>","challenge a pair of muscle car drivers<\/word>","pink slips<\/word>","engine and power output handicaps<\/word>","win the race<\/word>","Roman later confronts Brian<\/word>","constant threat of Verone's men<\/word>","patch up their differences<\/word>","completing the mission<\/word>","focus<\/word>","Brian and Roman challenge a pair of muscle car drivers<\/strong> they raced when competing for Verone's hiring, for pink slips<\/strong>. Despite engine and power output handicaps<\/strong>, they win the race<\/strong> and obtain the rival cars-a 1969 Yenko Camaro SYC and a 1970 Dodge Challenger R\/T previously driven by the hired drivers. Roman later confronts Brian<\/strong> about the constant threat of Verone's men<\/strong>; however, they patch up their differences<\/strong> and focus<\/strong> on completing the mission<\/strong>.<\/phrase>","VIP section of a nightclub<\/word>","Verone torturing MPD Detective Whitworth<\/word>","Monica warns them that they will be killed<\/word>","Markham refuses to call off the job<\/word>","one chance to catch Verone<\/word>","At the VIP section of a nightclub<\/strong>, Brian and Roman witness Verone torturing MPD Detective Whitworth<\/strong> into giving his men a window of opportunity to make their getaway. The next morning, Monica warns them that they will be killed<\/strong> once the drop is made. Despite this, Markham refuses to call off the job<\/strong>, claiming that it is their one chance to catch Verone<\/strong>.<\/phrase>","begin transporting duffel bags of Verone's money<\/word>","Verone's associates<\/word>","Enrique<\/word>","Roberto<\/word>","Whitworth decides to call in the police<\/word>","move in for an arrest<\/word>","high-speed chase<\/word>","Bilkins and U.S. Customs also tracking them<\/word>","scramble by dozens of street racers<\/word>","organized by Tej<\/word>","disorients the police<\/word>","police manage to pull over the Evo and the Eclipse<\/word>","duo had switched cars<\/word>","escaped in the two muscle cars they had won earlier<\/word>","day<\/word>","mission<\/word>","find out<\/word>","On the day<\/strong> of the mission<\/strong>, Brian and Roman begin transporting duffel bags of Verone's money<\/strong> with Verone's associates<\/strong>-Enrique<\/strong> and Roberto<\/strong>-riding alongside to accompany them. Before the window is set, Whitworth decides to call in the police<\/strong> to move in for an arrest<\/strong> of the drivers of the cars used by Brian and Roman. This results in a high-speed chase<\/strong> across the city, with Bilkins and U.S. Customs also tracking them<\/strong>. The duo leads the police to a warehouse, where a scramble by dozens of street racers<\/strong> organized by Tej<\/strong> disorients the police<\/strong>. Following the scramble, the police manage to pull over the Evo and the Eclipse<\/strong>, only to find out<\/strong> that they were driven by Tej and Suki. As it turns out, the duo had switched cars<\/strong> and had escaped in the two muscle cars they had won earlier<\/strong>.<\/phrase>","Brian approaches<\/word>","destination point<\/word>","Enrique<\/word>","Tarpon Point Marina exit<\/word>","Roman gets rid of Roberto<\/word>","using an improvised ejector seat<\/word>","Customs agents have Verone's plane and convoy surrounded<\/word>","duped into a decoy maneuver<\/word>","Verone is at a boatyard several miles away<\/word>","he knew Monica was an undercover agent<\/word>","purposely gave her wrong information<\/word>","Verone forces Monica onto his private yacht<\/word>","orders Enrique to kill Brian<\/word>","Brian's ejector seat fails<\/word>","Roman suddenly appears<\/word>","helps Brian to incapacitate Enrique<\/word>","Brian shoots and wounds Verone<\/word>","before he was about to shoot Brian and Roman<\/word>","arrested by Monica<\/word>","As Brian approaches<\/strong> the destination point<\/strong> in his Camaro, Enrique<\/strong> tells him to take the Tarpon Point Marina exit<\/strong>, instead of heading to the airfield. Meanwhile, Roman gets rid of Roberto<\/strong> by using an improvised ejector seat<\/strong> in his Challenger powered by nitrous oxide. At the airfield, Customs agents have Verone's plane and convoy surrounded<\/strong>, only to discover they have been duped into a decoy maneuver<\/strong> while Verone is at a boatyard several miles away<\/strong>. Verone reveals he knew Monica was an undercover agent<\/strong>, and purposely gave her wrong information<\/strong> on the destination point<\/strong>. When Brian arrives at the Marina, Verone forces Monica onto his private yacht<\/strong> and orders Enrique to kill Brian<\/strong>. As Enrique<\/strong> prepares to kill him, Brian's ejector seat fails<\/strong>, but Roman suddenly appears<\/strong> and helps Brian to incapacitate Enrique<\/strong>. Verone makes his escape, but Brian and Roman use the Camaro to drive off a ramp, crashing on top of the yacht. Brian shoots and wounds Verone<\/strong> moments before he was about to shoot Brian and Roman<\/strong> with his shotgun, making him miss, who is then arrested by Monica<\/strong>.<\/phrase>","Markham grants Brian and Roman full pardons<\/word>","Roman turns over the second half of Verone's money<\/word>","agree to stay in Miami<\/word>","Brian suggests opening a garage<\/word>","Markham grants Brian and Roman full pardons<\/strong>, and in return Roman turns over the second half of Verone's money<\/strong>. The two agree to stay in Miami<\/strong>, and Brian suggests opening a garage<\/strong> \u2013 funded by a cut of Verone's money Roman kept for themselves.<\/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':2931, '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':2931, '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':2931, 'userId':0, 'playerAction':action, 'playerArea':area, 'details':details, 'timestamp': t } }) .done(function(results){ }) .fail(function( jqXHR, textStatus ) { alert( "Request failed: " + textStatus ); }); }