
[ad_1]
The guest of honor this time is Borut Furlan, a top underwater photographer who has made more than 5,500 dives around the world and has received numerous recognitions and awards at home and abroad. His works have been published in many publications at home and abroad.
// Production steps of ECMA-262, Edition 6, 22.1.2.1 Array.from||(Array.from=function(){var r;try{r=Symbol.iterator?Symbol.iterator:"Symbol(Symbol.iterator)"}catch //IE11 polyfill if (!String.prototype.includes) { String.prototype.includes = function() { 'use strict'; return String.prototype.indexOf.apply(this, arguments) !== -1; }; }
// Cookie helper var cookieHelper = { getCookie: function(name) { var value = "; " + document.cookie; var parts = value.split("; " + name + "="); if (parts.length == 2) return parts.pop().split(";").shift(); },
setCookie: function(name, value, days) { var d = new Date; d.setTime(d.getTime() + 24*60*60*1000*days); document.cookie = name + "=" + value + ";domain=.rtvslo.si;path=/;expires=" + d.toGMTString() + ";secure;"; },
deleteCookie: function(name) { cookieHelper.setCookie(name, '', -1); },
cookieExist: function(cookieName) { if (document.cookie.split(';').filter(function(item) { return item.includes(cookieName + '=') }).length) { //console.log('Cookie founded!'); return true; } return false; } }; // END: Cookie helper
// iProm
(function(a,g,b,c){ a(c)=a(c)||function(){
"undefined"===typeof a.ipromNS?(a(c).q=a(c).q||()).push(arguments):a.ipromNS.execute(arguments)};
var k=function(){ var b=g.getElementsByTagName("script")(0);return function h(f){ var e=f.shift();a(c)("setConfig",{ server:e});
var d=document.createElement("script");0
var $sid = 'slovenija'; var $ssid = 'slovenija'; if($sid == ''){ $sid = 'default'; } if(cookieConsent == false){ $sid = 'safe'; $ssid = ''; }
_ipromNS('init', { sitePath: ('rtvslo',$sid,$ssid), cookieConsent: cookieConsent }); // END: iProm
// Dark mode, Comments & Login if (( document.cookie.indexOf('darkModeEnabled=true') != -1 ) || ( document.cookie.indexOf('darkModeEnabled') == -1 && window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches )) { document.body.classList.add('dark-mode'); }
if (document.cookie.indexOf('showComments=true') != -1) document.body.classList.add('show-comments-enabled'); if (document.cookie.indexOf('APISESSION_USER_ID') != -1) { document.body.classList.add('user-logged-in'); // ADVANCED USERS if (document.cookie.indexOf('APISESSION_USER_NL') != -1) { cookieHelper.getCookie('APISESSION_USER_NL').split('-').forEach(function(item) { if(item == '15') document.body.classList.add('advanced-user'); }); } } else { document.body.classList.add('user-logged-out'); }
// Mobile check var mobile = false; var mobile_xs = false;
var checkIfMobile = function checkIfMobile() { var w = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
w < 992 ? (mobile = true) : (mobile = false); // 992px = lg breakpoint w < 576 ? (mobile_xs = true) : (mobile_xs = false); // 576px = sm breakpoint }; checkIfMobile(); window.addEventListener("resize", checkIfMobile); // iOS standalone var isIos = function isIos() { var userAgent = window.navigator.userAgent.toLowerCase(); return /iphone|ipad|ipod/.test(userAgent); }; // Detects if device is on iOS var isInStandaloneMode = function isInStandaloneMode() { return "standalone" in window.navigator && window.navigator.standalone; }; // Detects if device is in iOS standalone mode var showIosNative = false; if (window.location.href.indexOf("show-ios-native") !== -1) document.cookie = "showIosNative=true"; if (document.cookie && document.cookie.indexOf("showIosNative=true") != -1) showIosNative = true; if ((isIos() && isInStandaloneMode() && mobile) || showIosNative) document.body.classList.add("ios-standalone"); // Facebook if(document.cookie && document.cookie.indexOf("cc_social=yes") > -1){ (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)(0); if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src="https://connect.facebook.net/sl_SI/sdk.js#xfbml=1&autoLogAppEvents=1&version=v3.1&appId=142347525793254"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); }
//EBU Pilot window.getEbuConsent = function() { var ebuConsent = false; if(document.cookie && document.cookie.indexOf("cc_social=yes") >-1){ ebuConsent = true; } return ebuConsent; }
function scrollToLiveItemInArticle()
{
let liveItem = document.getElementById('mmczivoinjectV2');
if (!liveItem) {
for (let i = 0; i <= 3; i++) {
let element="rtv4dplayer_live_" + i;
liveItem = document.getElementById(element);
if (liveItem) break;
}
}
if (liveItem) {
liveItem.scrollIntoView({behavior: "smooth", block: "center", inline: "nearest"});
}
}
[ad_2]
Source link