function r(f){/in/.test(document.readyState)?setTimeout('r('+f+')',9):f()} r(function(){ if (typeof jQuery == 'undefined') { var script = document.createElement('script'); script.type = "text/javascript"; script.src = "https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"; script.onload = function () { JQueryIsReady(); } document.getElementsByTagName('head')[0].appendChild(script); } else { JQueryIsReady(); } }); function JQueryIsReady() { $("#Chalets-LesGetsWebcam").html('

Webcam courtesy of Chalets-LesGets.com

'); $("head").append(" "); setInterval(CLGRefreshingWebcams, 30000); }; function CLGRefreshingWebcams(){ $('.CLGRefreshingWebcam, img[src*="latest-image.php"].lb-image').each(function(){ $(this).attr("src", $(this).attr('src').split('?')[0]+'?'+Math.random()); }); };