var presentation = ["Bellatrix Lestrange<\/word>","Harry Potter book series<\/word>","evolved<\/word>","unnamed periphery character<\/word>","Harry Potter and the Goblet of Fire<\/word>","major antagonist<\/word>","subsequent novels<\/word>","final instalment<\/word>","Lord Voldemort's<\/word>","last<\/word>","best lieutenant<\/word>","Bellatrix Lestrange<\/strong> is a fictional character in the Harry Potter book series<\/strong>. She evolved<\/strong> from an unnamed periphery character<\/strong> in Harry Potter and the Goblet of Fire<\/strong> into a major antagonist<\/strong> in subsequent novels<\/strong>. In the final instalment<\/strong> of the story, she is established as Lord Voldemort's<\/strong> last<\/strong>, best lieutenant<\/strong>.<\/phrase>","related to many characters<\/word>","two younger sisters<\/word>","Narcissa<\/word>","Andromeda<\/word>","first cousin<\/word>","Sirius<\/word>","Harry Potter's godfather<\/word>","Regulus Black<\/word>","married<\/word>","Rodolphus Lestrange<\/word>","after leaving Hogwarts<\/word>","expected of her<\/word>","marry a pure-blood<\/word>","Andromeda married<\/word>","Muggle-born<\/word>","Ted Tonks<\/word>","disowned by the Blacks<\/word>","whereas Narcissa<\/word>","married Lucius Malfoy<\/word>","aunt<\/word>","Nymphadora Tonks<\/word>","Draco Malfoy<\/word>","Bellatrix is related to many characters<\/strong> in the novels-- she has two younger sisters<\/strong>, Narcissa<\/strong> and Andromeda<\/strong>, and is first cousin<\/strong> to Sirius<\/strong> (Harry Potter's godfather<\/strong>) and Regulus Black<\/strong>. Bellatrix married<\/strong> Rodolphus Lestrange<\/strong> after leaving Hogwarts<\/strong> because it was expected of her<\/strong> to marry a pure-blood<\/strong>. Andromeda married<\/strong> a Muggle-born<\/strong>, Ted Tonks<\/strong>, and was subsequently disowned by the Blacks<\/strong>, whereas Narcissa<\/strong>, conversely, married Lucius Malfoy<\/strong>, heir of a wealthy pure-blood family; thus, she's the aunt<\/strong> of both Nymphadora Tonks<\/strong> and Draco Malfoy<\/strong>, respectively.<\/phrase>","Hogwarts<\/word>","sorted<\/word>","Slytherin<\/word>","Bellatrix associated<\/word>","group of students<\/word>","became<\/word>","Death Eaters<\/word>","initially drawn<\/word>","Lord Voldemort<\/word>","believe in an ideology<\/word>","favors pure-blood wizards and witches<\/word>","Black family motto<\/word>","toujours pur<\/word>","always pure<\/word>","steadfast belief<\/word>","blood purity<\/word>","active Death Eaters<\/word>","Voldemort's rise to power<\/word>","evaded capture<\/word>","suspicion<\/word>","Dark Lord's downfall<\/word>","At Hogwarts<\/strong>, she, along with her sisters, was sorted<\/strong> into Slytherin<\/strong>. As a student, Bellatrix associated<\/strong> with a group of students<\/strong> who nearly all became<\/strong> Death Eaters<\/strong>. It is assumed Bellatrix was at least initially drawn<\/strong> to Lord Voldemort<\/strong> because they both believe in an ideology<\/strong> that favors pure-blood wizards and witches<\/strong> over other members of the community. This elitism, shared by the Malfoy and Lestrange clans, was instilled in Bellatrix since childhood. The Black family motto<\/strong>, \"toujours pur<\/strong>\" (French for \"always pure<\/strong>\"), reflects this steadfast belief<\/strong> in blood purity<\/strong>. Bellatrix, her husband, and her brother-in-law, were active Death Eaters<\/strong> during Voldemort's rise to power<\/strong>, and evaded capture<\/strong> and suspicion<\/strong> until after the Dark Lord's downfall<\/strong>.<\/phrase>","Rather than<\/word>","deserting her leader<\/word>","Death Eaters<\/word>","tortured<\/word>","well-known Aurors<\/word>","Frank and Alice Longbottom<\/word>","attempt to gain information<\/word>","Voldemort's location<\/word>","Unforgivable Cruciatus Curse<\/word>","torture the Longbottoms<\/word>","insane<\/word>","sentenced<\/word>","life imprisonment<\/word>","Azkaban<\/word>","her trial<\/word>","Bellatrix proudly<\/word>","proclaimed<\/word>","The Dark Lord will rise again<\/word>","rebirthing ritual<\/word>","Voldemort stated<\/word>","Lestranges<\/word>","most faithful members<\/word>","inner circle<\/word>","Rather than<\/strong> deserting her leader<\/strong> like many other Death Eaters<\/strong>, was part of the group of dark wizards - along with Rodolphus, Rabastan, and Barty Crouch Jr - that tortured<\/strong> well-known Aurors<\/strong> Frank and Alice Longbottom<\/strong> in an attempt to gain information<\/strong> about Voldemort's location<\/strong>. For using the Unforgivable Cruciatus Curse<\/strong> to torture the Longbottoms<\/strong> until they went insane<\/strong>, Bellatrix and her three associates were sentenced<\/strong> to life imprisonment<\/strong> in Azkaban<\/strong>. At her trial<\/strong>, Bellatrix proudly<\/strong> and defiantly proclaimed<\/strong> that \"The Dark Lord will rise again<\/strong>, Crouch! Throw us into Azkaban<\/strong>; we will wait!\" Later in that book, during his rebirthing ritual<\/strong>, Voldemort stated<\/strong> that the Lestranges<\/strong> were amongst the most faithful members<\/strong> of his inner circle<\/strong>.<\/phrase>","Fourteen years after<\/word>","Voldemort's fall<\/word>","Death Eaters<\/word>","escaped<\/word>","Azkaban<\/word>","rejoined him<\/word>","Battle of the Department of Mysteries<\/word>","attempted to steal<\/word>","Sybill Trelawney's prophecy<\/word>","Voldemort's downfall<\/word>","proved her magical prowess<\/word>","overpowered<\/word>","her niece<\/word>","Tonks<\/word>","Kingsley Shacklebolt<\/word>","duels<\/word>","killed her cousin<\/word>","Sirius<\/word>","deflected<\/word>","one of Dumbledore's spells<\/word>","made her escape<\/word>","Harry attempted to use<\/word>","Cruciatus Curse<\/word>","in revenge<\/word>","killing Sirius<\/word>","curse was ineffective<\/word>","Fourteen years after<\/strong> Voldemort's fall<\/strong>, Bellatrix was one of the many Death Eaters<\/strong> who escaped<\/strong> Azkaban<\/strong> and rejoined him<\/strong>. After escaping from prison, she was present at the Battle of the Department of Mysteries<\/strong> in the climax of the book, in which a group of Death Eaters<\/strong> attempted to steal<\/strong> Sybill Trelawney's prophecy<\/strong> pertaining to Voldemort's downfall<\/strong>. Bellatrix proved her magical prowess<\/strong> during the mission when she overpowered<\/strong> her niece<\/strong> Tonks<\/strong> and Kingsley Shacklebolt<\/strong> in one-on-one duels<\/strong>, killed her cousin<\/strong> Sirius<\/strong> by blasting him through the veil in the Death Chamber, and deflected<\/strong> one of Dumbledore's spells<\/strong> as she made her escape<\/strong>. Harry attempted to use<\/strong> the Cruciatus Curse<\/strong> on her in revenge<\/strong> for killing Sirius<\/strong>, but the curse was ineffective<\/strong> due to the lack of real cruelty behind it.<\/phrase>","joined by her master<\/word>","ignored her<\/word>","warning<\/word>","Dumbledore was in the building<\/word>","subdued by Dumbledore<\/word>","Ministry of Magic<\/word>","Atrium<\/word>","he duelled Voldemort<\/word>","Voldemort interceded<\/word>","Bellatrix's behalf<\/word>","taking her with him<\/word>","Disapparated<\/word>","glimpsed by Ministry officials<\/word>","Before she could do any more, Bellatrix was joined by her master<\/strong>, who ignored her<\/strong> warning<\/strong> that Dumbledore was in the building<\/strong>. Bellatrix was subdued by Dumbledore<\/strong> in the Ministry of Magic<\/strong>'s Atrium<\/strong> while he duelled Voldemort<\/strong>. Voldemort interceded<\/strong> on Bellatrix's behalf<\/strong>, grabbing her and taking her with him<\/strong> as he Disapparated<\/strong>, though not before being glimpsed by Ministry officials<\/strong>.<\/phrase>","Harry Potter and the Half-Blood Prince<\/word>","Bellatrix attempts to keep<\/word>","Narcissa<\/word>","confiding Draco's secret mission<\/word>","Snape<\/word>","Spinner's End<\/word>","Bellatrix mistrusts Snape<\/word>","questions about his loyalty<\/word>","Dark Lord<\/word>","Snape surprises Bellatrix<\/word>","agreeing to create<\/word>","Unbreakable Vow with Narcissa<\/word>","assist Draco<\/word>","his mission<\/word>","kill Dumbledore<\/word>","Bellatrix had been teaching<\/word>","Occlumency<\/word>","Draco<\/word>","aid him<\/word>","At the beginning of Harry Potter and the Half-Blood Prince<\/strong>, Bellatrix attempts to keep<\/strong> Narcissa<\/strong> from confiding Draco's secret mission<\/strong> to Snape<\/strong> at Spinner's End<\/strong>. That conversation also suggests that Bellatrix mistrusts Snape<\/strong> not only because of his low birth, but also for many valid questions about his loyalty<\/strong> to the Dark Lord<\/strong>. Snape surprises Bellatrix<\/strong> by replying to each of her arguments and by agreeing to create<\/strong> an Unbreakable Vow with Narcissa<\/strong> to assist Draco<\/strong> in his mission<\/strong> to kill Dumbledore<\/strong>. Later in the book, it is mentioned by Snape<\/strong> that Bellatrix had been teaching<\/strong> Occlumency<\/strong> to Draco<\/strong>, in an effort to aid him<\/strong> with his mission<\/strong>.<\/phrase>","Harry Potter and the Deathly Hallows<\/word>","Voldemort is still angry<\/word>","makes fun of the fact<\/word>","her niece<\/word>","Tonks<\/word>","married<\/word>","werewolf<\/word>","Remus Lupin<\/word>","Voldemort gives Bellatrix a chance<\/word>","prune her family<\/word>","Death Eaters<\/word>","attempt<\/word>","capture Harry<\/word>","Bellatrix unsuccessfully<\/word>","tries to kill Tonks<\/word>","The first chapter of Harry Potter and the Deathly Hallows<\/strong> implies that Voldemort is still angry<\/strong> with Bellatrix, as evidenced when he makes fun of the fact<\/strong> that her niece<\/strong> Tonks<\/strong> married<\/strong> werewolf<\/strong> Remus Lupin<\/strong>. However, Voldemort gives Bellatrix a chance<\/strong> to prune her family<\/strong> tree during the Death Eaters<\/strong>' attempt<\/strong> to capture Harry<\/strong> as the boy departs from the Dursleys' home, during which Bellatrix unsuccessfully<\/strong> tries to kill Tonks<\/strong>.<\/phrase>","guardian<\/word>","Helga Hufflepuff's cup<\/word>","Voldemort has entrusted<\/word>","Lestranges<\/word>","Gringotts vault<\/word>","Bellatrix and the Malfoys<\/word>","detain<\/word>","Harry, Ron, and Hermione<\/word>","Malfoy Manor<\/word>","Hermione is tortured by Bellatrix<\/word>","suspects the trio<\/word>","broken into her vault<\/word>","Dobby appears<\/word>","saves the prisoners<\/word>","hit by a knife<\/word>","disguise Hermione as Bellatrix<\/word>","Polyjuice Potion<\/word>","gain access<\/word>","Lestrange's Gringotts vault<\/word>","It is revealed that Bellatrix is the guardian<\/strong> of Helga Hufflepuff's cup<\/strong>, which Voldemort has entrusted<\/strong> the Lestranges<\/strong> to keep in their Gringotts vault<\/strong>. Bellatrix and the Malfoys<\/strong> detain<\/strong> Harry, Ron, and Hermione<\/strong> at Malfoy Manor<\/strong>, and Hermione is tortured by Bellatrix<\/strong> when she suspects the trio<\/strong> has broken into her vault<\/strong>, but Dobby appears<\/strong> and saves the prisoners<\/strong>, though not before being hit by a knife<\/strong> thrown by Bellatrix as they disapparate to safety. Later in the book, Harry, Ron, and Hermione<\/strong> use a stray hair of Bellatrix's to disguise Hermione as Bellatrix<\/strong> using Polyjuice Potion<\/strong>, in order to gain access<\/strong> to the Lestrange's Gringotts vault<\/strong>.<\/phrase>","punishes<\/word>","Bellatrix and the Malfoys<\/word>","interrupting<\/word>","Elder Wand side quest<\/word>","Potter escape<\/word>","steal the cup<\/word>","fights for her master<\/word>","Battle of Hogwarts<\/word>","battle resumes<\/word>","Great Hall<\/word>","Harry's supposed death<\/word>","Bellatrix simultaneously duels<\/word>","Hermione, Ginny, and Luna<\/word>","none of whom<\/word>","match for Bellatrix<\/word>","nearly hits Ginny<\/word>","Killing Curse<\/word>","enraged<\/word>","Molly Weasley<\/word>","engages Bellatrix<\/word>","duel<\/word>","fires a curse<\/word>","hits Bellatrix<\/word>","killing her<\/word>","Though Voldemort apparently punishes<\/strong> Bellatrix and the Malfoys<\/strong> severely for interrupting<\/strong> his Elder Wand side quest<\/strong> only to have Potter escape<\/strong> and steal the cup<\/strong>, she nevertheless fights for her master<\/strong> in the Battle of Hogwarts<\/strong> towards the end of the novel. When the battle resumes<\/strong> inside the Great Hall<\/strong> after Harry's supposed death<\/strong>, Bellatrix simultaneously duels<\/strong> with Hermione, Ginny, and Luna<\/strong>, none of whom<\/strong> is a match for Bellatrix<\/strong>, who nearly hits Ginny<\/strong> with a Killing Curse<\/strong>. An enraged<\/strong> Molly Weasley<\/strong> engages Bellatrix<\/strong> in a duel<\/strong> and fires a curse<\/strong> that hits Bellatrix<\/strong> right over the heart, killing her<\/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':3335, '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':3335, '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':3335, 'userId':0, 'playerAction':action, 'playerArea':area, 'details':details, 'timestamp': t } }) .done(function(results){ }) .fail(function( jqXHR, textStatus ) { alert( "Request failed: " + textStatus ); }); }