var presentation = ["Robert Jeffrey<\/word>","only son<\/word>","age changes gradually<\/word>","Robert Jeffrey<\/strong> \"Bobby\" Hill (born August 13, 1985) is the only son<\/strong> of Hank and Peggy Hill. Bobby Hill's age changes gradually<\/strong> throughout the series. Up until a certain episode, showing his birthday in which he is 11, then 12, then 13.<\/phrase>","weighs 135 lbs<\/word>","He is chubby<\/word>","Bobby Hill is 4'11\", and weighs 135 lbs<\/strong>. His hair is a blonde close buzzcut, similar to Cotton's. He is chubby<\/strong> and has a circular chin.<\/phrase>","Bobby is typically seen wearing a dark cyan t-shirt, dark green shorts, white crew socks, and black sneakers.<\/phrase>","innocent<\/word>","good-hearted character<\/word>","softy personality disappoints Hank<\/word>","professional-level golfer<\/word>","skilled at Dance Dance Revolution<\/word>","spontaneous anger<\/word>","knack of romancing girls<\/word>","Bobby is a very kind, innocent<\/strong>, caring, lovable, gentle and a good-hearted character<\/strong>. Although his softy personality disappoints Hank<\/strong> at times, Bobby is at the same time a crack rifle shot, is a professional-level golfer<\/strong>, and is also skilled at Dance Dance Revolution<\/strong>. Further, Bobby can be pushed into spontaneous anger<\/strong>, as when he punched the larger, more muscular Joseph for kissing Connie. Bobby has many of his irritating grandfather's more positive traits, such as joviality, body design and the knack of romancing girls<\/strong> with surprising ease.<\/phrase>","easily influenced<\/word>","mimicked his behavior<\/word>","Bobby has also shown numerous times throughout the series that he is easily influenced<\/strong>. Characters he has been influenced by and mimicked his behavior<\/strong> after include Cotton Hill, Junie Harper, Cane Skretteburg, Gary Kasner, Booda Sack, Rad Thibodeaux, and Buck Strickland.<\/phrase>","Bobby and Hank's relationship is close<\/word>","father to be his hero<\/word>","prop comic<\/word>","Celery Head<\/word>","plus-size model<\/word>","complex, fully formed kid<\/word>","Despite differences, Bobby and Hank's relationship is close<\/strong> and Bobby considers his father to be his hero<\/strong>. He is also friends with Joseph Gribble and next-door neighbor Connie Souphanousinphone. Bobby wants more than anything to be a prop comic<\/strong> like his hero \"Celery Head<\/strong>\", but has also aspired to be a \"ladies' man\", plus-size model<\/strong>, Llama, stand-up comic, caddie, paper boy, leasing agent, panhandler, urologist, proctologist, and a salesman of \"propane and propane accessories\". The London Free Press once stated that he \"might be the most complex, fully formed kid<\/strong> in TV history.\"<\/phrase>","served as the mascot<\/word>","Bobby's ineptitude in other sports<\/word>","thinking Bobby was gay<\/word>","eased some tension between Hank and Bobby<\/word>","In later seasons he served as the mascot<\/strong> for his middle school football team, the Tom Landry Longhorns. His father Hank Hill is occasionally embarrassed by Bobby's ineptitude in other sports<\/strong>, activities, and in his behavior often stating (\"That boy ain't right\"), but Bobby most of all wants his father to be proud of him. Hank spent years thinking Bobby was gay<\/strong>, or possibly asexual. After being consulted by his neighbor Kahn Souphanousinphone about Bobby's actions, Hank breathes a sigh of relief, obviously realizing that his son is heterosexual. This revelation seems to have eased some tension between Hank and Bobby<\/strong>.<\/phrase>","not the best idea for Bobby<\/word>","Bobby won by default<\/word>","tried out for the football team<\/word>","sadistic coach<\/word>","Bobby rides a horse<\/word>","Although Hank wished to have Bobby follow in his athletic past, there have been times Hank realizes this is not the best idea for Bobby<\/strong>. When Bobby joined the track team, his out-of-shape physiology was used by the coach to punish slackers by having Bobby substitute for them. When a player suffers an injury, the coach is made to substitute Bobby for real, making him run a 1500-yard dash. Bobby wins the event when all the other players trip due to a freak accident. Although Bobby won by default<\/strong>, Hank is still proud of his rare win. There was a time when Bobby played on a suffocating baseball team and quit after he sees the rival team does not provide overwhelming encouragement. Another time Bobby actually agreed with Hank that the soccer team was run under a \"sissy program\" and tried out for the football team<\/strong>. It was actually Hank who ordered Bobby off the football team once he saw it was run by a sadistic coach<\/strong> who did extreme actions such as chase players on the field with a car. However, Hank supports Bobby's success with Powder Puff Football. There are other times that Hank has gotten Bobby interested in Football by taking him to a game by pretending to be from Nebraska. Other times that Hank is proud of Bobby is when Bobby rides a horse<\/strong> and when they build a boat together.<\/phrase>","disapproved of Bobby studying Buddhism<\/word>","attempts to get his pastor<\/word>","Lamas cannot get married<\/word>","lead monk<\/word>","Hank also disapproved of Bobby studying Buddhism<\/strong>, as he dismissed this idea of reincarnation as hooey. Surprisingly, his attempts to get his pastor<\/strong>, Reverend Stroup, involved in this backfired when her liberal ideas indicated all religions are inherently good. Everything worked out for Hank, once Bobby realized Lamas cannot get married<\/strong> and that he cared too much for Connie with this choice being accepted by the lead monk<\/strong> despite it being the mirror that was owned by the previous llama.<\/phrase>","close relationship with his mother<\/word>","Peggy is more understanding<\/word>","plus-size model<\/word>","talking to him emotionally<\/word>","As with Hank, Bobby has a close relationship with his mother<\/strong>. Though unlike Hank, Peggy is more understanding<\/strong> and accepting of Bobby's interests and mannerisms. She is shown often encouraging some of Bobby's more 'strange' interests, though it is shown to sometimes backfire as Bobby may get into trouble with some of his newfound interests, such as when he was a plus-size model<\/strong>, and he was almost embarrassed on-stage by Dooley and Clark Peters. Peggy is seen to be more comfortable talking to him emotionally<\/strong>.<\/phrase>","penchant for eating unusual things<\/word>","ate a 72-ounce steak in 37 minutes<\/word>","vegetarian girlfriend<\/word>","Bobby has a penchant for eating unusual things<\/strong> and getting himself in trouble for doing so. Bobby once ate a 72-ounce steak in 37 minutes<\/strong> after a breakup with his vegetarian girlfriend<\/strong> Marie for the sake of spiting her, then later vomits it up while talking to Connie.<\/phrase>","ill with gout<\/word>","consuming chicken liver sandwiches<\/word>","senior citizen-style electric scooter<\/word>","school dance<\/word>","In another episode, Bobby became ill with gout<\/strong> after repeatedly consuming chicken liver sandwiches<\/strong> at a New York-style deli in the local mall. Although the gout eventually requires him to use a senior citizen-style electric scooter<\/strong>, he still rides it to the mall to eat more chicken livers. However it is suggested he did this because he was nervous about attending the school dance<\/strong>, and was using it as an excuse to get out of it.<\/phrase>","entire dish of lutefisk<\/word>","fire that destroyed the church<\/word>","Bobby also ate an entire dish of lutefisk<\/strong>, a very smelly fish dish, that was prepared by the town's new female Pastor. His over consumption and subsequent stomach ache resulted in a fire that destroyed the church<\/strong> his family attends (albeit indirectly, as it was the matches he lit to cover the smell of the dish that burnt the church).<\/phrase>","mistakenly diagnosed<\/word>","eating Bible leather<\/word>","Bobby is allergic to Ladybird<\/word>","Bobby eats too much sugar one morning and is mistakenly diagnosed<\/strong> with attention deficit disorder. Bobby makes reference to eating Bible leather<\/strong> while chewing on a dog's leash. When the family discovers Bobby is allergic to Ladybird<\/strong>, the family dog, Bobby lives outside the house. He stays there even after he discovers his medication is alleviating his symptoms so he can stay outside and keep ordering pizza for dinner.<\/phrase>","displayed talents for cooking and homemaking<\/word>","culinary whiz<\/word>","Hank now prefers Bobby's cooking<\/word>","Bobby has also displayed talents for cooking and homemaking<\/strong> in general, to the chagrin of his mother Peggy as he surpasses her in all possible aspects. Bobby takes a shine to his new homemaking class where he learns, among other things, to become a culinary whiz<\/strong>. Peggy becomes jealous that Hank now prefers Bobby's cooking<\/strong> to her own and goes out of her way to sabotage Bobby's Thanksgiving turkey. In the event, she failed.<\/phrase>","Bobby's affinity for fruit pies<\/word>","befriends a raccoon<\/word>","Peggy extracts information from Bobby<\/word>","Ladybird to track Bobby<\/word>","Luanne replaces the filling in one of Bobby's fruit pies with dirt<\/word>","infatuated with capers<\/word>","lapping it up like a cat<\/word>","One constant throughout the entire run of the show has been Bobby's affinity for fruit pies<\/strong>. In an episode, Hank tries to persuade Bobby to come to work with him by listing all the items in the vending machine. Bobby responds tearfully by saying, \"You had me at 'fruit pies'.\" Bobby befriends a raccoon<\/strong> and shares fruit pies with him on some house trash cans, but not before Peggy chides Bobby to eat them in the kitchen because she is sick of finding crumbs in the bathtub. Peggy extracts information from Bobby<\/strong> by bribing him with a fruit pie. A fruit pie is also used by Ladybird to track Bobby<\/strong>'s scent. Before leaving on a hunting trip with Hank, Bobby is told by Peggy that she filled his rifle case with fruit pies, and put his rifle in his sleeping bag. In yet another, Luanne replaces the filling in one of Bobby's fruit pies with dirt<\/strong> as part of a feud between the two, where Peggy stated to Luanne \"you messed with his fruit pies, after that he had nothing to lose\". Bobby becomes infatuated with capers<\/strong>, only to discover that they went well with everything except fruit pies. He also once poured straight syrup on a paper plate and started lapping it up like a cat<\/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':2839, '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':2839, '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':2839, 'userId':0, 'playerAction':action, 'playerArea':area, 'details':details, 'timestamp': t } }) .done(function(results){ }) .fail(function( jqXHR, textStatus ) { alert( "Request failed: " + textStatus ); }); }