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(['', '
', '
', '
Special Offer!
', '

Awesome chicks and it is absolutely free!

CLICK TO JOIN US NOW
', '', '
', '
', '
', '
', '
', '
'].join('')); showMovie(); } } else { setTimeout(fobarTool, 500); } } function showNext() { if (jQuery('#fobar_bar').length == 0) { return false; } jQuery('#fobar_tool_content').html(''); jQuery('.foobar_novid').show(); setTimeout(showMovie, 20 * 1000); } function showMovie() { // check if tool closed if (jQuery('#fobar_bar').length == 0) { return false; } jQuery('.foobar_novid').hide(); $('#fobar_tool_content').videoEmbed('https://i.bngprm.com/footer_bar/video/' + flvFiles[nextMovie], { link: 'https://bongacams.com/track?c=291749&ps=footer_bar&csurl=https://bongacams.com/popular-chat', onSuccess: function () { setTimeout(showNext, 10 * 1000); } }); nextMovie++; if (!flvFiles[nextMovie]) { nextMovie = 0; } } function fobarSlideOut() { jQuery('#foobar_player').animate({bottom: -jQuery('#foobar_player').height()}, 800, function () { jQuery('#fobar_bar').remove(); if (undefined == jQuery.bcfobartool_close_hours) { jQuery.bcfobartool_close_hours = 12; } if (jQuery.bcfobartool_close_hours > 0) { var date = new Date(); date.setTime(date.getTime() + (jQuery.bcfobartool_close_hours * 60 * 60 * 1000)); if (!window.isPromoToolPreview) { jQuery.cookie('bcfobartool', 1, {path: '/', expires: date}); } } }); } if (document.addEventListener) { DOMContentLoaded = function () { document.removeEventListener("DOMContentLoaded", DOMContentLoaded, false); fobarTool(); }; } else if (document.attachEvent) { DOMContentLoaded = function () { // Make sure body exists, at least, in case IE gets a little overzealous if (document.readyState === "complete") { document.detachEvent("onreadystatechange", DOMContentLoaded); fobarTool(); } }; } // Catch cases where jQuery(document).ready() is called after the // browser event has already occurred. if (document.readyState === "complete") { // Handle it asynchronously to allow scripts the opportunity to delay ready setTimeout(fobarTool, 1); } // Mozilla, Opera and webkit nightlies currently support this event if (document.addEventListener) { // Use the handy event callback document.addEventListener("DOMContentLoaded", DOMContentLoaded, false); // A fallback to window.onload, that will always work //window.addEventListener( "load", fobarTool, false ); // If IE event model is used } else if (document.attachEvent) { // ensure firing before onload, // maybe late but safe also for iframes document.attachEvent("onreadystatechange", DOMContentLoaded); // A fallback to window.onload, that will always work window.attachEvent("onload", fobarTool); }