","
\"Protégez
"); var banners_ids149 = new Array("26","25","23","20","24"); var displayed_ids149 = new Array("26"); var advertisers149 = new Array("8","8","8","8","8"); var campaigns149 = new Array("9","9","9","9","9"); var types149 = new Array("fr","fr","fr","fr","fr"); function cycle149(position, curent){ if(curent >= imgCt149){ curent=curent%imgCt149; } var next = curent+1; if(next >= imgCt149){ next = next % imgCt149; } document.getElementById("the149_rotator"+position).innerHTML = banners149[next]; document.getElementById("the149_rotator_aux"+position).innerHTML = banners149[next]; if(displayed_ids149.indexOf(banners_ids149[next]) == -1){ rotator_display_count149(banners_ids149[next], advertisers149[next], campaigns149[next], types149[next]); displayed_ids149.push(banners_ids149[next]); } curent += 1; setTimeout("cycle149("+position+","+next+")", 10000); } //--> DomReady.ready(function(){ window.setTimeout(function(){ cycle149(1,0); }, 10000); }); var JAVideoPlayer = {}; (function($){ $(document).ready(function(){ JAVideoPlayer.playlist = function() { $('.ja-video-list').each(function(){ var container = $(this); var btnPlay = container; if(container.find('.btn-play').length) { btnPlay = container.find('.btn-play'); } btnPlay.click(function(){ var width = container.outerWidth(true); var height = container.outerHeight(true); if(container.data('video')) { var mainPlayer = $('#ja-main-player'); if(!mainPlayer.length) { video = container.find('.video-wrapper'); clearContent = true; } else { video = mainPlayer; var width = video.width(); var height = video.outerHeight(); var clearContent = false; if(container.data('url') && typeof(window.history.pushState) == 'function') { window.history.pushState('string', container.data('title'), container.data('url')); } } if(video.length) { $('.ja-video-list').removeClass('video-playing'); container.addClass('video-playing'); video.html(container.data('video')); video.find('iframe.ja-video, video').removeAttr('width').removeAttr('height'); video.find('iframe.ja-video, video, .jp-video, .jp-jplayer').css({width: width, height: height}); video.show(); if(clearContent) { container.data('video', ''); } if(mainPlayer.length) { setTimeout(function(){ $('html, body').animate({ scrollTop: mainPlayer.offset().top }, 200); }, 500); } } } }); }); } JAVideoPlayer.playlist(); }); })(jQuery);
Watch the video