var presentation = ["Bye Bye Birdie<\/word>","Michael Stewart<\/word>","Lee Adams<\/word>","Charles Strouse<\/word>","Bye Bye Birdie<\/strong> is a stage musical with a book by Michael Stewart<\/strong>, lyrics by Lee Adams<\/strong> and music by Charles Strouse<\/strong>.<\/phrase>","Let's Go Steady<\/word>","draft notice<\/word>","rock 'n' roll rivals<\/word>","Bye Bye Birdie<\/word>","popular singer<\/word>","Elvis Presley<\/word>","Army<\/word>","rock star character<\/word>","name<\/word>","Conrad Birdie<\/word>","word play<\/word>","Conway Twitty<\/word>","long career<\/word>","country music star<\/word>","Originally titled Let's Go Steady<\/strong>, Bye Bye Birdie<\/strong> is set in 1958. The story was inspired by the phenomenon of popular singer<\/strong> Elvis Presley<\/strong> and his draft notice<\/strong> into the Army<\/strong> in 1957. The rock star character<\/strong>'s name<\/strong>, \"Conrad Birdie<\/strong>\", is word play<\/strong> on the name<\/strong> of Conway Twitty<\/strong>. Twitty is best remembered today for his long career<\/strong> as a country music star<\/strong>, but in the late 1950s, he was one of Presley's rock 'n' roll rivals<\/strong>.<\/phrase>","Broadway production<\/word>","Tony Award<\/word>","film<\/word>","television production<\/word>","London<\/word>","major revivals<\/word>","also became<\/word>","popular choice<\/word>","high school and college productions<\/word>","The original 1960\u20131961 Broadway production<\/strong> was a Tony Award<\/strong>\u2013winning success. It spawned a London<\/strong> production and several major revivals<\/strong>, a sequel, a 1963 film<\/strong>, and a 1995 television production<\/strong>. The show also became<\/strong> a popular choice<\/strong> for high school and college productions<\/strong>.<\/phrase>","rock and roll<\/word>","Rose (Rosie) Alvarez<\/word>","longs for<\/word>","Albert she once knew<\/word>","An English Teacher<\/word>","One Last Kiss<\/word>","his fan club<\/word>","Albert Peterson<\/word>","trouble<\/word>","his client<\/word>","teen idol<\/word>","Conrad Birdie<\/word>","Army<\/word>","indebted firm<\/word>","last-ditch publicity stunt<\/word>","record<\/word>","perform<\/word>","romantic limbo<\/word>","eight years<\/word>","English teacher<\/word>","seedier music industry<\/word>","lucky girl<\/word>","last kiss<\/word>","Ed Sullivan Show<\/word>","New York\u2013based songwriter Albert Peterson<\/strong> finds himself in trouble<\/strong> when his client<\/strong>, hip-thrusting rock and roll<\/strong> superstar and teen idol<\/strong> Conrad Birdie<\/strong>, is drafted into the Army<\/strong>, leaving his heavily indebted firm<\/strong> in jeopardy. Albert's secretary, Rose (Rosie) Alvarez<\/strong>, comes up with a last-ditch publicity stunt<\/strong> to have Conrad Birdie<\/strong> record<\/strong> and perform<\/strong> a song before he is sent overseas. Having long been stuck in a sort of romantic limbo<\/strong> for eight years<\/strong>, she longs for<\/strong> the Albert she once knew<\/strong>, an aspiring English teacher<\/strong>, before he wrote Conrad Birdie<\/strong>'s first hit and abandoned those plans to pursue the seedier music industry<\/strong> (\"An English Teacher<\/strong>\"). Rose's plan is to have Birdie sing \"One Last Kiss<\/strong>\" (a song she assigns Albert to write on the spot) and give one lucky girl<\/strong>, chosen randomly from his fan club<\/strong>, a real \"last kiss<\/strong>\" on The Ed Sullivan Show<\/strong> before going into the Army<\/strong>.<\/phrase>","Sweet Apple, Ohio<\/word>","The Telephone Hour<\/word>","How Lovely to Be a Woman<\/word>","quits<\/word>","Conrad Birdie fan club<\/word>","latest gossip<\/word>","Kim MacAfee<\/word>","Hugo Peabody<\/word>","her maturity<\/word>","phone<\/word>","Ursula<\/word>","call<\/word>","last kiss<\/word>","In Sweet Apple, Ohio<\/strong>, all the teenagers are catching in on the latest gossip<\/strong> about 15-year-old Kim MacAfee<\/strong> and Hugo Peabody<\/strong> going steady (\"The Telephone Hour<\/strong>\"). Kim reflects on how happy she is with her maturity<\/strong>, believing at 15 she has fully reached adulthood (\"How Lovely to Be a Woman<\/strong>\"). She quits<\/strong> the Conrad Birdie fan club<\/strong> over the phone<\/strong> because of the new milestone happening in her life. Her best friend Ursula<\/strong> is shocked. Kim reconsiders when, after a lengthy phone<\/strong> conversation with Ursula<\/strong>, she receives the phone<\/strong> call<\/strong> telling her she has been chosen to be Birdie's last kiss<\/strong> before going into the armed forces.<\/phrase>","New York City train station<\/word>","Put on a Happy Face<\/word>","reputation<\/word>","prepare<\/word>","Sweet Apple<\/word>","time<\/word>","Army<\/word>","Soon<\/word>","arrive<\/word>","answer<\/word>","protect<\/word>","Normal American Boy<\/word>","Meanwhile, Conrad, Albert, and Rosie prepare<\/strong> to go to Sweet Apple<\/strong>. A crowd of teenage girls sees them off at the New York City train station<\/strong>, although one girl is sad because she thinks that by the time<\/strong> Conrad gets out of the Army<\/strong>, she will be too old for him. Albert advises her to be optimistic (\"Put on a Happy Face<\/strong>\"). Soon<\/strong>, tabloid reporters arrive<\/strong> with questions about the seedy details of Conrad's personal life, but Rosie, Albert, and the girls answer<\/strong> for him, hoping to protect<\/strong> his reputation<\/strong> and bankability (\"Normal American Boy<\/strong>\").<\/phrase>","One Boy<\/word>","guest in the MacAfee house<\/word>","does not want Kim to kiss<\/word>","whole family<\/word>","welcome<\/word>","Sweet Apple<\/word>","Honestly Sincere<\/word>","Harry<\/word>","Ed Sullivan Show<\/word>","Doris<\/word>","Randolph<\/word>","Hymn for a Sunday Evening<\/word>","Conrad receives a hero's welcome<\/strong> in Sweet Apple<\/strong>, and Hugo worries that Kim likes Conrad more than she likes him, but Kim assures Hugo that he is the only one she loves (\"One Boy<\/strong>\"). Conrad shocks the town's parents and drives the teenage girls crazy with his performance of \"Honestly Sincere<\/strong>\", which causes all of the girls (including Edna, the mayor's wife) to faint. Conrad becomes a guest in the MacAfee house<\/strong> and irritates Kim's father, Harry<\/strong>, by being rude and selfish. Harry<\/strong> does not want Kim to kiss<\/strong> Conrad, until Albert tells him their whole family<\/strong> will be on The Ed Sullivan Show<\/strong>. Kim, Harry<\/strong>, Kim's mother, Doris<\/strong>, and younger brother, Randolph<\/strong> sing Sullivan's praises (\"Hymn for a Sunday Evening<\/strong>\").<\/phrase>","Mae<\/word>","to break up her son's relationship<\/word>","tap dancer<\/word>","One Hundred Ways Ballet<\/word>","sabotage<\/word>","Sweet Apple<\/word>","Hispanic<\/word>","Gloria Rasputin<\/word>","replace<\/word>","Swanee River<\/word>","fool<\/word>","murder<\/word>","last kiss<\/word>","Albert's overbearing mother, Mae<\/strong>, comes to Sweet Apple<\/strong> to break up her son's relationship<\/strong> with Rosie (she objects to Rosie's Hispanic<\/strong> heritage). She introduces Albert to Gloria Rasputin<\/strong>, a curvy blonde she met on the bus who could replace<\/strong> Rosie as his secretary. Gloria, a tap dancer<\/strong>, secretly hopes that a connection with Albert could be her way into show business. Mae<\/strong> sings \"Swanee River<\/strong>\" as Gloria tap-dances (usually depicted as her making a fool<\/strong> of herself). Albert gives Gloria a typing job. Rosie is furious and fantasizes about violent ways to murder<\/strong> Albert (\"One Hundred Ways Ballet<\/strong>\"), but instead comes up with a better idea: she convinces Hugo to sabotage<\/strong> the last kiss<\/strong>.<\/phrase>","One Last Kiss<\/word>","punches him in the face<\/word>","unconscious<\/word>","ruin<\/word>","Ed Sullivan Show<\/word>","kiss<\/word>","cover<\/word>","Normal American Boy<\/word>","Since both Rosie and Hugo are jealous and angry, they plot to ruin<\/strong> Conrad's appearance on The Ed Sullivan Show<\/strong>. On the broadcast, Conrad sings \"One Last Kiss<\/strong>\" and as he leans in to kiss<\/strong> Kim, Hugo runs onstage and punches him in the face<\/strong>, knocking Conrad unconscious<\/strong>. Rosie dumps Albert, and Albert, trying to cover<\/strong> for the mishaps of the evening, leads a chorus of \"Normal American Boy<\/strong>\".<\/phrase>","film<\/word>","What Did I Ever See in Him?<\/word>","A Lot of Livin' to Do<\/word>","head for the Ice House<\/word>","drunk<\/word>","underage<\/word>","refuses to serve him<\/word>","love<\/word>","time<\/word>","last<\/word>","Sweet Apple<\/word>","want<\/word>","Roadside Retreat<\/word>","Despite plans to re-film<\/strong> the broadcast, Rosie and Kim resolve to leave Albert and Hugo, lamenting their stupidity for having fallen in love<\/strong> (\"What Did I Ever See in Him?<\/strong>\"). Conrad, with no visible effects from being knocked out, decides he wants to go out and have a good time<\/strong> on his last<\/strong> night as a civilian, and encourages the Sweet Apple<\/strong> teens to party (\"A Lot of Livin' to Do<\/strong>\"). Kim sneaks out of her house and joins her friends. Conrad, Kim, and all the teenagers, except Hugo, head for the Ice House<\/strong>, \"where people go when they want<\/strong> to be alone.\" Hugo goes to Maude's Roadside Retreat<\/strong>, hoping to get drunk<\/strong>, but grumpy proprietor Charles F. Maude sees that he's underage<\/strong> and refuses to serve him<\/strong>.<\/phrase>","Kids<\/word>","Baby, Talk to Me<\/word>","wild dance<\/word>","Mae<\/word>","A Mother Doesn't Matter Anymore<\/word>","Kids Reprise<\/word>","Harry<\/word>","Doris<\/word>","Roadside Retreat<\/word>","return<\/word>","Shriners<\/word>","rescue<\/word>","MacAfees<\/word>","Ice House<\/word>","Randolph<\/word>","When Harry<\/strong> discovers Kim has run away, he and Doris<\/strong> lament how disobedient children are these days (\"Kids<\/strong>\"). Rosie ends up at Maude's Roadside Retreat<\/strong> and starts flirting with other men, but Albert phones her and begs her to return<\/strong> to him (\"Baby, Talk to Me<\/strong>\"). Rosie interrupts a Shriners<\/strong> meeting in Maude's private dining room. She flirts with all the Shriners<\/strong>, and they begin a wild dance<\/strong>. Hugo and Albert rescue<\/strong> Rosie from the crazed Shriners<\/strong>, and Albert finally stands up to his mother, telling her to go home. Mae<\/strong> leaves, but not before lamenting the sacrifices she made for him (\"A Mother Doesn't Matter Anymore<\/strong>\"). Hugo tells the MacAfees<\/strong> and the other parents that the teenagers have gone to the Ice House<\/strong>, and they all declare that they don't know what's wrong with their children (\"Kids Reprise<\/strong>\"). Randolph<\/strong> joins in, stating that his older sister and the other teens are \"so ridiculous and so immature\".<\/phrase>","reconciliation with Albert<\/word>","Mae<\/word>","Allentown, Pennsylvania<\/word>","sneak out<\/word>","dressed as a middle-aged woman<\/word>","Conrad offers Albert a lifetime contract<\/word>","Pumpkin Falls, Iowa<\/word>","go off together happily engaged<\/word>","arrive<\/word>","Ice House<\/word>","arrest<\/word>","marry<\/word>","play<\/word>","Hispanic<\/word>","Spanish Rose<\/word>","jail<\/word>","report<\/word>","Army<\/word>","Sweet Apple<\/word>","train<\/word>","need<\/word>","English teacher<\/word>","The adults and the police arrive<\/strong> at the Ice House<\/strong> and arrest<\/strong> Conrad for attempted assault. Kim, who unconvincingly claimed to be in her late 20s to Conrad, claims she was intimidated and gladly returns to Hugo. After a reconciliation with Albert<\/strong>, Rosie tells Mae<\/strong> that she will marry<\/strong> Albert despite Mae<\/strong>'s racist objections, and despite being a natural-born American citizen from Allentown, Pennsylvania<\/strong>, she will deliberately play<\/strong> up her Hispanic<\/strong> heritage if it annoys Mae<\/strong> that much (\"Spanish Rose<\/strong>\"). Albert bails Conrad out of jail<\/strong> and arranges for him to sneak out<\/strong> of town dressed as a middle-aged woman<\/strong>, presumably so he can report<\/strong> for Army<\/strong> induction as scheduled; in turn, Conrad offers Albert a lifetime contract<\/strong> for bailing him out. Albert gets Mae<\/strong> to leave Sweet Apple<\/strong> on the same train<\/strong>, getting Conrad and his mother out of his life for good. Albert tells Rosie they're not going back to New York; they're going to Pumpkin Falls, Iowa<\/strong>, a small town in need<\/strong> of a (married) English teacher<\/strong>. Albert professes that everything is rosy with Rosie (\"Rosie\"), and they go off together happily engaged<\/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':1485, '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':1485, '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':1485, 'userId':0, 'playerAction':action, 'playerArea':area, 'details':details, 'timestamp': t } }) .done(function(results){ }) .fail(function( jqXHR, textStatus ) { alert( "Request failed: " + textStatus ); }); }