$1<\/a>");
$(this).html(new_html);
});
//
////////////////////////////////////////////////////////////
//
////PN rearrange introduction guiding questions
//
//$("div[data-block_type='guiding_question_p'] [data-block_type='guide_number']").each(function() {
// $(this).insertBefore($(this).parent());
//});
//
//
//$("div[data-block_type='guiding_question_p'] [data-block_type='guide_number']").each(function() {
// $(this).changeElementType("div");
//});
//
//$("div[data-block_type='guiding_question_p'] p").each(function() {
// $(this).attr("data-pntype","guiding_question_text");
// $(this).changeElementType("div");
//});
//
//$("ul[data-block_type='guiding_questions_list'] li").each(function() {
// var list_contents = $(this).contents();
// $(this).replaceWith(list_contents);
//});
//
//$("ul[data-block_type='guiding_questions_list']").each(function() {
// var list_contents = $(this).contents();
// $(this).replaceWith(list_contents);
//});
//
//
////PN rearrange infographics
//
//$("div[data-block_type='infographic'] > [data-type='box_inner'] > h3").each(function() {
// $(this).changeElementType("div");
//});
//
//$("div[data-block_type='infographic'] > [data-type='box_inner'] > [data-type='title']").each(function() {
// $(this).wrap("");
//});
//
//$("div[data-block_type='infographic'] > [data-type='box_inner'] > div[data-pntype='info_header']").each(function() {
// var info_number_div = 'INFOGRAPHIC ' + $(this).parent().parent().attr('data-info_number').toString() + '
';
// $(this).prepend(info_number_div);
//
//
// var info_guidenumber_div = '' + $(this).parent().parent().attr('data-guide_number') + '
';
// $(this).append(info_guidenumber_div);
//});
//
////PN rearrange infographic-styled tables
//
//$("div[data-block_type='table'] > [data-type='box_inner'] > h3").each(function() {
// $(this).changeElementType("div");
//});
//
//$("div[data-block_type='table'] > [data-type='box_inner'] > [data-type='title']").each(function() {
// $(this).wrap("");
//});
//
//$("div[data-block_type='table'] > [data-type='box_inner'] > div[data-pntype='info_header']").each(function() {
// var info_number_div = 'TABLE ' + $(this).parent().parent().attr('data-info_number').toString() + '
';
// $(this).prepend(info_number_div);
//
//
// var info_guidenumber_div = '' + $(this).parent().parent().attr('data-guide_number') + '
';
// $(this).append(info_guidenumber_div);
//});
//
//
//
//
////PN ENVIRONMENTAL LITERACY sections
//$("div[data-block_type='environmental_literacy']").each(function() {
// $(this).prepend("ENVIRONMENTAL LITERACYUNDERSTANDING THE ISSUE
");
//});
//
////PN SCIENCE LITERACY sections
//$("div[data-block_type='science_literacy']").each(function() {
// $(this).prepend("SCIENCE LITERACYWORKING WITH DATA
");
//});
//
////PN ENVIRONMENTAL LITERACY sections
//$("div[data-block_type='information_literacy']").each(function() {
// $(this).prepend("INFORMATION LITERACYEVALUATING INFORMATION
");
//});
//
//
////PN LITERACY questions
//$("div[data-type='question'] h3").remove();
//
////$("div[data-type='question'] div:first-child").find("p").eq(0).each(function() {
//$("div[data-type='question'] > div:first-child p:first-child").each(function() {
// $(this).prepend("" + $(this).parent().parent().attr("data-question_index") + ". ");
//});
//
/////////////////////////////////////////////////
//samples
//From Bruce - this will automatically open up the first sub-section in the summary section, since the first section is empty
//(function() {
// var $sec0 = $("#digfir_section_0");
// if ($sec0.length > 0) {
// var sec0_block_type = $sec0.data('block_type');
// if (sec0_block_type !== undefined && sec0_block_type === "section") {
// player.show_section_animate(1, null);
// }
// }
//})();
//$("div[data-block_type='infographic'] [data-type='title']").each(function() {
// $(this).attr("data-pntype","guiding_question_text");
// $(this).changeElementType("div");
//});
//$("div[data-block_type='infographic'] [data-block_type='guide_number']").each(function() {
// $(this).insertBefore($(this).parent());
//});
////////////////////////////////////////////////
} // end initialize2
}); // end Player_subtype
// Do not delete this
player = new Player_subtype();
function playSound(el,soundfile) {
if (el.mp3) {
if(el.mp3.paused) el.mp3.play();
else el.mp3.pause();
} else {
el.mp3 = new Audio(soundfile);
el.mp3.play();
}
}