var yt_message = "YOU ACTIVATED THE YOUTUBE-SETTINGS FOR THE VIDEO\n\nThese settings allow you to use a variety of interesting YouTube-functions. However, they force you to watch disturbings ads and all sorts of other distractions.\n\nYou can go back to the 'clean' settings (no ads etc.) by clicking on the strikethrough text at the bottom right"; var yt_message_dutch = "U HEBT DE YOUTUBE-INSTELLINGEN VOOR DE VIDEO GEACTIVEERD\n\nVia die instellingen kunt u allerlei interessante YouTube-functies gebruiken, maar u krijgt dan wel storende reclame, gerelateerde video's en andere afleidende informatie voorgeschoteld.\n\nU kunt weer naar de 'schone' instellingen gaan (geen reclame enz.) door op de doorgestreepte YouTube-tekst rechts onderaan te klikken"; var yt_message2 = "YOU RETURNED TO THE CUSTOMIZED ('CLEAN') SETTINGS FOR THE VIDEO\n\nOur custom YouTube-settings produce 'clean' videos (no disturbings ads etc.)."; var yt_message2_dutch = "U BENT TERUGGEKEERD NAAR DE AANGEPASTE ('SCHONE') INSTELLINGEN VOOR DE VIDEO\n\nOnze aangepaste instellingen voor YouTube-video's geven 'schone' filmpjes (geen storende reclame etc.)."; function info(which) { document.getElementById('video_info').innerHTML = "
X
" + '
'+which; } function formatTime(seconds) { var date = new Date(1970,0,1); date.setSeconds(seconds); var correct_format = date.toTimeString().replace(/.*(\d{2}:\d{2}:\d{2}).*/, "$1"); return correct_format; } function mousemove() { if(!(/iPhone|iPad|iPod|Android/i.test(navigator.userAgent))){var time_hover=player.getDuration()*((event.pageX-document.getElementById("big_seek").offsetLeft -document.getElementById("video_container").offsetLeft)/document.getElementById("big_seek").clientWidth); player.getCurrentTime()==time_hover; var the_date = new Date(null);the_date.setSeconds(time_hover);var utc_time=the_date.toUTCString();var time_indic=utc_time.substr(utc_time.indexOf(":")- 2, 8);var time_indic = the_date.getUTCHours() + ":" + the_date.getUTCMinutes() + ":" + the_date.getUTCSeconds();var time_indic = the_date.toISOString().substr(11, 8); document.getElementById("check_time").innerHTML=time_indic; document.getElementById("check_time").style.left=event.pageX-document.getElementById("big_seek").offsetLeft - document.getElementById("video_container").offsetLeft+"px"; if(event.pageX>document.getElementById("video_container").clientWidth - document.getElementById("video_container").offsetLeft -70){document.getElementById("check_time").style.left=document.getElementById("big_seek").clientWidth-65+"px"}} } function loadVideo(url, start, end, playlist) { if(document.getElementById('the_receiver')){player.destroy(); player=null; document.body.removeChild(document.getElementById('the_receiver'))} if(document.getElementById('show_the_video')){document.body.removeChild(document.getElementById('show_the_video'))} if("the_start" in window)delete the_start; if("the_end" in window)delete the_end; if("the_playlist" in window)delete the_playlist; if(start == '' || start == null){start = 'null'} if(end == '' || end == null){end = 'null'} var video_to_foreground = document.createElement('div'); video_to_foreground.id="show_the_video"; video_to_foreground.innerHTML = '