function shuffle(arr) { for (var j, x, i = arr.length; i; j = parseInt(Math.random() * i), x = arr[--i], arr[i] = arr[j], arr[j] = x) ; return arr; } var flvFiles = ["1.flv","10.flv","2.flv","3.flv","4.flv","5.flv","6.flv","7.flv","8.flv","9.flv"]; flvFiles = shuffle(flvFiles); var nextMovie = 0; function importJS(source, id, onload) { if (!document.getElementById(id)) { var JS = document.createElement("SCRIPT"); JS.type = "text/javascript"; JS.src = source; JS.id = id; if (undefined != onload) JS.onload = onload; document.getElementsByTagName("head")[0].appendChild(JS); } } if (!window.jQuery) { importJS('https://i.bngprm.com/footer_bar/jquery-1.4.4.min.js', 'bcfobartooljquery', function () { importJS('https://i.bngprm.com/footer_bar/jquery.cookie.min.js', 'bcfobartoolcookie'); importJS('https://i.bngprm.com/footer_bar/jquery.videoEmbed2.min.js', 'bcfobartoolvideo'); }); } else { importJS('https://i.bngprm.com/footer_bar/jquery.cookie.min.js', 'bcfobartoolcookie'); importJS('https://i.bngprm.com/footer_bar/jquery.videoEmbed2.min.js', 'bcfobartoolvideo'); } function fobarTool() { if (window.jQuery && window.jQuery.cookie && window.jQuery.fn.videoEmbed) { var bcfobartool = jQuery.cookie('bcfobartool'); if (!bcfobartool) { jQuery('head').append([''].join('')); jQuery('body').append(['', '