ИДЕЯ: АНТОН КЛИМОВ
![]() | ![]() | ![]() |


var div=$("#youtubeiframe_carier41517913"); var height=(div.width() * 0.5625 )-1; div.height(height);
$(document).ready(function(){ var div = document.body.querySelector("#youtubeiframe_carier41517913"); var el = $(div); var cotimer; var flagprocessed=0; var wnd=$(window); var cotimer_count=0; var a,b,c,d,s;
wnd.scroll(function() { if(cotimer && flagprocessed==0) { window.clearTimeout(cotimer); if(cotimer_count>=15){ cotimer_count=0; a = el.offset().top; b = el.height(); c = wnd.scrollTop(); d = wnd.height(); if(((c+d) > a-500) && (c < (a+b+501))){ processYoutubeVideo(div, ""); flagprocessed=1; } } } cotimer = window.setTimeout(function() { if(flagprocessed==0){ a = el.offset().top; b = el.height(); c = wnd.scrollTop(); d = wnd.height(); if(((c+d) > a-500) && (c < (a+b+501))){ processYoutubeVideo(div, ""); flagprocessed=1; } } }, 100); }); wnd.scroll(); });

var div=$("#youtubeiframe_carier41518621"); var height=(div.width() * 0.5625 )-1; div.height(height);
$(document).ready(function(){ var div = document.body.querySelector("#youtubeiframe_carier41518621"); var el = $(div); var cotimer; var flagprocessed=0; var wnd=$(window); var cotimer_count=0; var a,b,c,d,s;
wnd.scroll(function() { if(cotimer && flagprocessed==0) { window.clearTimeout(cotimer); if(cotimer_count>=15){ cotimer_count=0; a = el.offset().top; b = el.height(); c = wnd.scrollTop(); d = wnd.height(); if(((c+d) > a-500) && (c < (a+b+501))){ processYoutubeVideo(div, ""); flagprocessed=1; } } } cotimer = window.setTimeout(function() { if(flagprocessed==0){ a = el.offset().top; b = el.height(); c = wnd.scrollTop(); d = wnd.height(); if(((c+d) > a-500) && (c < (a+b+501))){ processYoutubeVideo(div, ""); flagprocessed=1; } } }, 100); }); wnd.scroll(); });
var div=$("#youtubeiframe_carier41645986"); var height=(div.width() * 0.5625 )-1; div.height(height);
$(document).ready(function(){ var div = document.body.querySelector("#youtubeiframe_carier41645986"); var el = $(div); var cotimer; var flagprocessed=0; var wnd=$(window); var cotimer_count=0; var a,b,c,d,s;
wnd.scroll(function() { if(cotimer && flagprocessed==0) { window.clearTimeout(cotimer); if(cotimer_count>=15){ cotimer_count=0; a = el.offset().top; b = el.height(); c = wnd.scrollTop(); d = wnd.height(); if(((c+d) > a-500) && (c < (a+b+501))){ processYoutubeVideo(div, ""); flagprocessed=1; } } } cotimer = window.setTimeout(function() { if(flagprocessed==0){ a = el.offset().top; b = el.height(); c = wnd.scrollTop(); d = wnd.height(); if(((c+d) > a-500) && (c < (a+b+501))){ processYoutubeVideo(div, ""); flagprocessed=1; } } }, 100); }); wnd.scroll(); });
![]() | ![]() | ![]() | ![]() |
