function load(n){var t,i,r;n.style.display="none";t=n.parentNode;t&&(t.classList.remove("fr-video"),i=document.createElement("p"),r=document.createTextNode(n.src),i.appendChild(r),t.appendChild(i))}function onReady(){var r,i,t,n;if(addPdfDownloadLinks($(".new-job-bulletin-details-container")),r=document.getElementsByTagName("video"),r&&r.length>0)for(n=0;n<r.length;n++)load(r[n]);if(i=[],t=document.getElementsByClassName("fr-video"),t&&t.length>0){for(n=0;n<t.length;n++)t[n]&&t[n].children[0]&&i.push(t[n].children[0]);for(n=0;n<i.length;n++)i&&i.length&&load(i[n])}}addPdfDownloadLinks=function(n){if(window.Resources){var t=n.find('a[href$=".pdf"]:not(.print-button)'),i=$("<a>").text("("+window.Resources.PdfReader.downloadTitle+")").attr({href:window.Resources.PdfReader.downloadLink,target:"_blank"});t.after(i);t.after(" ")}};document.load=function(){onReady()};$(".new-classpec-bulletin-details-container").ready(function(){onReady()})