var presentation = ["herb-speckled dip<\/word>","versatile<\/word>","Shredded in salads and slaws, steamed, or just peeled and dunked in an herb-speckled dip<\/strong>, carrots are versatile<\/strong> veggies that add colorful zest to our dinner plates. These crunchy orange roots are also a well-known source of vitamin A. Just a single, full-size carrot more than fulfills an adult's daily quotient of the essential vitamin.<\/phrase>","ARS Vegetable Crops Research Unit<\/word>","But the carrot hasn't always been the vitamin A powerhouse that it is today. Over two decades ago, scientists in the ARS Vegetable Crops Research Unit<\/strong> at Madison, Wisconsin, began a quest to breed carrots packed with beta-carotene - an orange pigment used by the body to create vitamin A. Thanks largely to this ARS work, today's carrots provide consumers with 75 percent more beta-carotene than those available 25 years ago.<\/phrase>","Philipp Simon<\/word>","range of protective duties<\/word>","photosynthesis<\/word>","The researchers, led by plant geneticist Philipp Simon<\/strong>, haven't limited themselves to the color orange. They've selectively bred a rainbow of carrots - purple, red, yellow, even white. Scientists are learning that these plant pigments perform a range of protective duties<\/strong> in the human body - which is not surprising, says Simon, since many of the pigments serve to shield plant cells during photosynthesis<\/strong>.<\/phrase>","lycopene<\/word>","xanthophylls<\/word>","anthocyanins<\/word>","Red carrots derive their color mainly from lycopene<\/strong>, a type of carotene believed to guard against heart disease and some cancers. Yellow carrots accumulate xanthophylls<\/strong>, pigments similar to beta-carotene that support good eye health. Purple carrots possess an entirely different class of pigments - anthocyanins<\/strong> - which act as powerful antioxidants.<\/phrase>","not exactly new<\/word>","While colored carrots are unusual, they're not exactly new<\/strong>. \"Purple and yellow carrots were eaten more than 1,000 years ago in Afghanistan and 700 years ago in western Europe,\" says Simon. \"But the carrot breeding process has gone on intensively for just 50 years.\"<\/phrase>","sought-after nutrients<\/word>","Simon and his team of ARS researchers and colleagues at the University of Wisconsin-Madison (UW) have recently shown that their highly pigmented carrots are a ready source of some sought-after nutrients<\/strong>.<\/phrase>","hydroxy carotenoids<\/word>","macular degeneration<\/word>","Lutein is one of the hydroxy carotenoids<\/strong> that make up the macular pigment of human retinas. Consuming foods high in lutein may increase the density of this pigment and decrease the risk for developing macular degeneration<\/strong>, an age-related disease.<\/phrase>","complex food<\/word>","Sherry Tanumihardjo<\/word>","bioavailable<\/word>","\"Up to now,\" says Simon, \"we didn't know whether lutein was biologically available from carrots because they're considered a complex food<\/strong>.\"\nIn a study to determine humans' lutein uptake from lutein-rich yellow carrots, Simon, along with UW's Sherry Tanumihardjo<\/strong>, recruited nine 23-to 28-year-old volunteers to eat the carrots and take a lutein supplement. By reading the participants' blood serum levels, the researchers found that lutein from the carrots was 65 percent as bioavailable<\/strong> as it was from the supplement.<\/phrase>","lycopene<\/word>","bioavailable<\/word>","Tanumihardjo, an assistant professor in UW's Department of Nutritional Sciences, says, \"While other foods might contain higher levels of lutein - like spinach for instance - lutein is absorbed very well from lutein-rich carrots.\"\nIn another study, Simon and Tanumihardjo found that lycopene<\/strong> from red-pigmented carrots is 40 percent as bioavailable<\/strong> as it is from tomato paste. \"Not everyone eats or likes tomatoes,\" she says, \"so finding another source of lycopene<\/strong> that also provides beta-carotene is very positive.\"<\/phrase>","lycopene<\/word>","Their lycopene<\/strong> study appeared in the May 2004 issue of the European Journal of Clinical Nutrition. The lutein study appeared in the July 2004 issue of the American Journal of Clinical Nutrition.<\/phrase>","carotenoids<\/word>","synthesizing<\/word>","In nature, different strains of carrots contain varying types and amounts of carotenoids<\/strong> - the pigments responsible for orange, yellow, and red colors. To assist seed companies and growers who wish to produce nutrient-rich carrots, Simon and his lab are working to map all the genes that play a part in synthesizing<\/strong> carotenoids<\/strong> in major carrot lines. Simon now knows of 20 genes that are involved. But determining a particular gene's role in generating carotenoids<\/strong> is not that straightforward.<\/phrase>","life cycle<\/word>","\"There are complexities in reading these genes,\" he says, \"since their functions often change with the plant as it progresses through its life cycle<\/strong>.\" From Simon's work, it appears that two or three major genes account for differences in white and orange carrots and that another couple of genes separate yellow carrots from red.<\/phrase>","culinary quality and appeal<\/word>","What would you say to a glass of purple carrot juice? Some aren't so sure.\nAside from enhancing the nutritional value of carrots - as well as onions, garlic, and cucumbers - researchers at Simon's laboratory also work to improve the veggies' culinary quality and appeal<\/strong>.<\/phrase>","sweet and mild flavor<\/word>","concerned<\/word>","married to the colors<\/word>","\"It's hard to know what to aim for when selecting for a purple carrot,\" Simon says, \"since we've no defined type to go by.\" So he's subjecting the new varieties to consumer taste tests, hoping to find carrots with a sweet and mild flavor<\/strong>.\n \"People who are asked to taste the colorful carrots are concerned<\/strong> about their flavor,\" says Simon. \"We've become married to the colors<\/strong> we associate with particular foods. We eat with our eyes, to some extent.\"<\/phrase>","perception<\/word>","responded<\/word>","Tanumihardjo agrees. \"I did a study to find out whether carrot color prompted a perception<\/strong> of taste at all,\" she says. \"When people were able to see the color of the carrot - whether it was purple or red - they responded<\/strong> more favorably to it.\"<\/phrase>","taste preferences<\/word>","nutritional deficiency<\/word>","With the help of Tanumihardjo, Simon is tapping taste preferences<\/strong> through an unexpected group of eaters: children in Wisconsin's inner cities and American Indian reservations. Children from lower-income groups are at greater risk for developing a nutritional deficiency<\/strong>, like low vitamin A status. \"Some of these kids have never even had a carrot before,\" says Simon. But their comments so far have been positive, according to Tanumihardjo.<\/phrase>","compelling<\/word>","With their compelling<\/strong> health benefits and a thumbs-up from taste-testers, Simon's colorful carrots will be a great addition to supermarket produce aisles once consumers create a demand for them.<\/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':2477, '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':2477, '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':2477, 'userId':0, 'playerAction':action, 'playerArea':area, 'details':details, 'timestamp': t } }) .done(function(results){ }) .fail(function( jqXHR, textStatus ) { alert( "Request failed: " + textStatus ); }); }