var Viewport=function(){var n=500;var l=0;var m=0;var q=[];var r=false;var f=false;var h=document.defaultView||{};var b=navigator.userAgent.toLowerCase();var c={version:(b.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(b),opera:/opera/.test(b),msie:/msie/.test(b)&&!/opera/.test(b),mozilla:/mozilla/.test(b)&&!/(compatible|webkit)/.test(b)};var a=!c.msie||document.compatMode=="CSS1Compat";var t=function(I,y,x){var E,z=I.style;function H(K){if(!c.safari){return false}var J=h.getComputedStyle(K,null);return !J||J.getPropertyValue("color")==""}if(c.opera&&y=="display"){var D=z.outline;z.outline="0 solid black";z.outline=D}if(y.match(/float/i)){y="styleFloat"}if(!x&&z&&z[y]){E=z[y]}else{if(h.getComputedStyle){if(y.match(/float/i)){y="float"}y=y.replace(/([A-Z])/g,"-$1").toLowerCase();var C=h.getComputedStyle(I,null);if(C&&!H(I)){E=C.getPropertyValue(y)}else{var u=[],B=[],A=I,G=0;for(;A&&H(A);A=A.parentNode){B.unshift(A)}for(;G<B.length;G++){if(H(B[G])){u[G]=B[G].style.display;B[G].style.display="block"}}E=y=="display"&&u[B.length-1]!=null?"none":(C&&C.getPropertyValue(y))||"";for(G=0;G<u.length;G++){if(u[G]!=null){B[G].style.display=u[G]}}}if(y=="opacity"&&E==""){E="1"}}else{if(I.currentStyle){var v=y.replace(/\-(\w)/g,function(J,K){return K.toUpperCase()});E=I.currentStyle[y]||I.currentStyle[v];if(!/^\d+(px)?$/i.test(E)&&/^\d/.test(E)){var w=z.left,F=I.runtimeStyle.left;I.runtimeStyle.left=I.currentStyle.left;z.left=E||0;E=z.pixelLeft+"px";z.left=w;I.runtimeStyle.left=F}}}}return E};var i=function(y,u,x){var w={};for(var v in u){w[v]=y.style[v];y.style[v]=u[v]}x.call(y);for(v in u){y.style[v]=w[v]}};var p=function(B,x){if(x=="width"||x=="height"){var v,u={position:"absolute",visibility:"hidden",display:"block"},w=x=="width"?["Left","Right"]:["Top","Bottom"];var A=function(){v=x=="width"?B.offsetWidth:B.offsetHeight;var C=0,E=0;for(var D=0;D<w.length;D++){C+=parseFloat(t(B,"padding"+w[D],true))||0;E+=parseFloat(t(B,"border"+w[D]+"Width",true))||0}v-=Math.round(C+E)};var y=t(B,"display")=="none";var z=t(B,"visibility")=="hidden";if(y||z){i(B,u,A)}else{A()}return Math.max(0,v)}};var g=function(u,w){var v=u==window?c.opera&&window["inner"+w]||c.safari&&window["inner"+w]||document.compatMode=="CSS1Compat"&&document.documentElement["client"+w]||document.body["client"+w]:u==document?Math.max(Math.max(document.body["scroll"+w],document.documentElement["scroll"+w]),Math.max(document.body["offset"+w],document.documentElement["offset"+w])):0;return v};var e=function(u){return self[(u=="Left"?"pageXOffset":"pageYOffset")]||a&&document.documentElement["scroll"+u]||document.body["scroll"+u]};var k=function(x){var y=0,E=0;var u;if(x){var C=x.parentNode,F=x,z=x.offsetParent,D=x.ownerDocument,A=c.safari&&parseInt(c.version)<522&&!/adobeair/i.test(b),v=t(x,"position")=="fixed";if(x.getBoundingClientRect){var G=x.getBoundingClientRect();B(G.left+Math.max(D.documentElement.scrollLeft,D.body.scrollLeft),G.top+Math.max(D.documentElement.scrollTop,D.body.scrollTop));B(-D.documentElement.clientLeft,-D.documentElement.clientTop)}else{B(x.offsetLeft,x.offsetTop);while(z){B(z.offsetLeft,z.offsetTop);if(c.mozilla&&!/^t(able|d|h)$/i.test(z.tagName)||c.safari&&!A){w(z)}if(!v&&t(z,"position")=="fixed"){v=true}F=/^body$/i.test(z.tagName)?F:z;z=z.offsetParent}while(C&&C.tagName&&!/^body|html$/i.test(C.tagName)){if(!/^inline|table.*$/i.test(t(C,"display"))){B(-C.scrollLeft,-C.scrollTop)}if(c.mozilla&&t(C,"overflow")!="visible"){w(C)}C=C.parentNode}if((A&&(v||t(F,"position")=="absolute"))||(c.mozilla&&t(F,"position")!="absolute")){B(-D.body.offsetLeft,-D.body.offsetTop)}if(v){B(Math.max(D.documentElement.scrollLeft,D.body.scrollLeft),Math.max(D.documentElement.scrollTop,D.body.scrollTop))}}u={top:E,left:y}}function w(H){B(t(H,"borderLeftWidth",true),t(H,"borderTopWidth",true))}function B(I,H){y+=parseInt(I,10)||0;E+=parseInt(H,10)||0}return u};var d=function(){var u={};u.width=g(window,"Width");u.height=g(window,"Height");u.contentWidth=g(document,"Width");u.contentHeight=g(document,"Height");u.scrollLeft=e("Left");u.scrollTop=e("Top");return u};var o=function(u){var v=k(u);v.width=p(u,"width");v.height=p(u,"height");return v};var j=function(u){return u>=0?1:-1};var s=function(){var x=d();for(var u=0;u<q.length;u++){var y=q[u].el;var w=q[u].cb;var D=o(y);D.right=D.left+D.width;D.bottom=D.top+D.height;var C={left:x.scrollLeft-l,top:x.scrollTop-m,right:x.scrollLeft+x.width+l,bottom:x.scrollTop+x.height+m};var z=(D.right-D.left)*(D.bottom-D.top);var v=0;if(D.right<C.left||D.left>C.right||D.bottom<C.top||D.top>C.bottom){w(y,0)}else{var B={left:Math.max(D.left,C.left),top:Math.max(D.top,C.top),right:Math.min(D.right,C.right),bottom:Math.min(D.bottom,C.bottom)};var A={left:B.left-D.left,top:B.top-D.top,right:B.right-D.left,bottom:B.bottom-D.top};v=(B.right-B.left)*(B.bottom-B.top)/(D.width*D.height);w(y,v)}}f=setTimeout(s,n)};return{getSize:function(u){return o(u)},getViewportInfo:function(){return d()},trackCoverage:function(v,u){q[q.length]={el:v,cb:u};if(!r){r=true;f=setTimeout(s,n)}}}}();var adp_server="http://kos.interseek.si/_slave_01/serve.php";var adp_init_serve_script="http://kos.interseek.si/_slave_01/init_serve.php";function adp_encoder(b){var a=function(e){var f="0123456789ABCDEF";return f.charAt(e>>4)+f.charAt(e&15)};var d=function(h){var e,f,i="",g=0;while(g<h.length){e=h.charCodeAt(g++);if(e>=56320&&e<57344){continue}if(e>=55296&&e<56320){if(g>=h.length){continue}f=h.charCodeAt(g++);if(f<56320||e>=56832){continue}e=((e-55296)<<10)+(f-56320)+65536}if(e<128){i+=String.fromCharCode(e)}else{if(e<2048){i+=String.fromCharCode(192+(e>>6),128+(e&63))}else{if(e<65536){i+=String.fromCharCode(224+(e>>12),128+(e>>6&63),128+(e&63))}else{i+=String.fromCharCode(240+(e>>18),128+(e>>12&63),128+(e>>6&63),128+(e&63))}}}}return i};var c=function(f){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-";var h="";f=d(f);for(var g=0;g<f.length;g++){if(e.indexOf(f.charAt(g))==-1){h+="%"+a(f.charCodeAt(g))}else{h+=f.charAt(g)}}return h};return c(b)}function adp_init(){var i=function(p,m){var n=p;var o=m;return{compare:function(q){return o-q.getCount()},getCount:function(){return o},getWord:function(){return n}}};function a(n,p,r,m){if(r<=p+1){return}if((r-p)==2){if(n.get(r-1).compare(n.get(p),m)>0){n.exchange(r-1,p)}return}var o=p+1;var q=r-1;if(n.get(p).compare(n.get(o),m)>0){n.exchange(o,p)}if(n.get(q).compare(n.get(p),m)>0){n.exchange(p,q)}if(n.get(p).compare(n.get(o),m)>0){n.exchange(o,p)}var s=n.get(p);while(true){q--;while(s.compare(n.get(q),m)>0){q--}o++;while(n.get(o).compare(s,m)>0){o++}if(q<=o){break}n.exchange(o,q)}n.exchange(p,q);if((q-p)<(r-q)){a(n,p,q,m);a(n,q+1,r,m)}else{a(n,q+1,r,m);a(n,p,q,m)}}function l(n,s,r){var o=n.match(s);var p=n.match(r);if(o&&p){var t="";var m=0;var u=0;for(var q=0;q<Math.min(o.length,p.length);q++){u=n.indexOf(o[q],m);t+=n.substring(m,u);m=n.indexOf(p[q],u)+p[q].length}return t+n.substring(m)}else{return n}}function h(q,m,s,v){var n=q.getElementsByTagName(m);var p=["ka","ko","ker","da","če","in","ni"];if(typeof(p.indexOf)=="undefined"){p.indexOf=function(w){for(var x=0;x<this.length;x++){if(this[x]==w){return x}}return -1}}for(var t=0;t<n.length;t++){var o=n[t].innerHTML;o=o.replace(/[\n\r]/ig," ");o=l(o,/<script[^>]*>/ig,/<\/script>/ig);o=l(o,/<noscript[^>]*>/ig,/<\/noscript>/ig);o=l(o,/<style[^>]*>/ig,/<\/style>/ig);o=l(o,/<link[^>]*>/ig,/<\/link>/ig);o=o.replace(/<[^>]+>/ig," ");o=o.replace(/[\.\/,!;:_\*~\^"'@\\-]/ig,"");var r=o.split(/[ \n\t\r]+/);for(var u=0;u<r.length;u++){if(r[u].length>2&&p.indexOf(r[u])==-1){if(typeof(s[r[u]])=="undefined"){s[r[u]]=v}else{s[r[u]]+=v}}}}return s}function d(m,s){var n={};var p=window;while(typeof(p)!="undefined"&&p!=null&&p){try{for(var q=0;q<m.length;q++){h(p.document,m[q].tag,n,m[q].modifier)}if(p==p.parent){break}else{p=p.parent}}catch(o){break}}var r=[];r.get=function(v){return this[v]};r.exchange=function(v,w){var x=this[v];this[v]=this[w];this[w]=x};for(var t in n){r[r.length]=new i(t,n[t])}a(r,0,r.length);var u="";for(q=0;q<r.length;q++){if(u.length+r[q].getWord().length>s){break}else{u+=r[q].getWord()+" "}}return u}var j=d([{tag:"h1",modifier:20},{tag:"h2",modifier:16},{tag:"h3",modifier:14},{tag:"strong",modifier:10},{tag:"b",modifier:7},{tag:"body",modifier:1}],350);var b=function(m,o,n){while(m.length<o){m=n+m}return m};var e,c,f;for(var k=0;k<adp_struct.length;k++){e=document.getElementById(adp_struct[k].frame_id+"_span");if(!e){e=document.getElementById(adp_struct[k].frame_id+"_load")}if(e){c=e.parentNode;f=document.createElement("iframe");if(typeof(document.all)=="undefined"){f.src=adp_server.replace(/serve\.php/g,"blank.html")}else{f.src=adp_struct[k].frame_src+"&c_keywords="+adp_encoder(j)}f.id=adp_struct[k].frame_id;f.setAttribute("name",adp_struct[k].frame_id);f.width=adp_struct[k].width;f.height=adp_struct[k].height;f.frameBorder="0";f.scrolling="no";f.allowtransparency="true";f.hspace=0;f.vspace=0;f.marginheight="0px";f.marginwidth="0px";if(e==c.lastChild){c.appendChild(f)}else{c.insertBefore(f,e)}c.removeChild(e);if(typeof(document.all)=="undefined"){try{f.contentWindow.location.replace(adp_struct[k].frame_src+"&c_keywords="+adp_encoder(j))}catch(g){f.src=adp_struct[k].frame_src+"&c_keywords="+adp_encoder(j)}}if(typeof(Viewport)!="undefined"){Viewport.trackCoverage(f,function(t,m){if(typeof(t.cc)=="undefined"){t.cc=0}if(m>0.5){t.cc++;var r=parseInt(Math.random()*9000)+1000;r=b(r.toString(16),4,"0")+b((r%255).toString(16),2,"0");if(t.cc==6){var n=["contentWindow","contentDocument"];for(var o=0;o<n.length;o++){try{var s=t[n[o]];var q=false;if(typeof(s)!="undefined"){try{if(typeof(s.postMessage)!="undefined"){q=true}}catch(p){}if(q){s.postMessage(r,adp_server);break}else{var u=document.createElement("iframe");u.style.display="none";u.style.visibility="hidden";u.src=adp_server.substring(0,adp_server.length-9)+"set_hash.php#"+t.id+"|"+r;document.body.appendChild(u);setTimeout(function(){var v=u.parentNode;v.removeChild(u)},750);break}}}catch(p){}}}}})}}}}function adp_gen_token(){var b=window;var p=function(r,s,q){r=r*10;return q.substring(0,r+50)};var c=function(t,u,q,r){var s=p(Math.random(),13,t="1f3870be274f6c49b3e31a0c6728957f");return[s.substring(0,10),s.substring(23,63)]};var o=c();var f="";var d="";try{f=b.document.location;d=f.href}catch(n){}var g=0;var h=1;var i=2041;d=d.replace(/[^a-zA-Z]/g,"").toLowerCase();var j=d.length;if(j>=5){for(var k=0;k<j;k++){g=d.charCodeAt(k);i+=g*h;h*=5;h+=h;if(h>=100001){h=1}}if(i>=9999999){i-=10000000}var e=""+i;while(e.length<6){e="0"+e}j=o[0].length;o[0]+=e.charAt(6);for(var l=1;l<7;l++){o[0]+="0433434000000".charAt(l)}o[0]+=e.charAt(0);o[0]+=e.charAt(1);o[0]+=e.charAt(2);o[0]+=e.charAt(3);o[0]+=e.charAt(4);o[0]+=e.charAt(5);var m="";for(var a=0;a<o.length;a++){m+=o[a]}return m}return""}(function(){var base64chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split("");var base64inv={};for(var i=0;i<base64chars.length;i++){base64inv[base64chars[i]]=i}var properties="bmF2aWdhdG9yLmFwcENvZGVOYW1leyp9bmF2aWdhdG9yLmFwcE5hbWV7Kn1uYXZpZ2F0b3IuYXBwVmVyc2lvbnsqfW5hdmlnYXRvci5idWlsZElEeyp9bmF2aWdhdG9yLmNvb2tpZUVuYWJsZWR7Kn1uYXZpZ2F0b3IubWltZVR5cGVzLmxlbmd0aHsqfW5hdmlnYXRvci5vc2NwdXsqfW5hdmlnYXRvci5jcHV7Kn1uYXZpZ2F0b3IuY3B1Q2xhc3N7Kn1uYXZpZ2F0b3IucGxhdGZvcm17Kn1uYXZpZ2F0b3IucGx1Z2lucy5sZW5ndGh7Kn1uYXZpZ2F0b3IucHJvZHVjdHsqfW5hdmlnYXRvci5wcm9kdWN0U3Vieyp9bmF2aWdhdG9yLnZlbmRvcnsqfW5hdmlnYXRvci52ZW5kb3JTdWJ7Kn1uYXZpZ2F0b3IudXNlckFnZW50eyp9bmF2aWdhdG9yLnZlbmRvclN1YnsqfW5hdmlnYXRvci5qYXZhRW5hYmxlZCgpeyp9bmF2aWdhdG9yLnN5c3RlbUxhbmd1YWdleyp9bmF2aWdhdG9yLnVzZXJMYW5ndWFnZXsqfW5hdmlnYXRvci5sYW5ndWFnZXsqfWZsYXNoVmVyKCl7Kn1zY3JlZW4ucGl4ZWxEZXB0aHsqfXNjcmVlbi53aWR0aHsqfXNjcmVlbi5oZWlnaHQA";var install_cookie=false;if(!/^\s*adp_partner\s*=/i.test(document.cookie)){document.cookie="adp_partner=1";install_cookie=adp_gen_token()}function base64_encode(s){var r="";var p="";var c=s.length%3;if(c>0){for(;c<3;c++){p+=".";s+="\0"}}for(c=0;c<s.length;c+=3){var n=(s.charCodeAt(c)<<16)+(s.charCodeAt(c+1)<<8)+s.charCodeAt(c+2);n=[(n>>>18)&63,(n>>>12)&63,(n>>>6)&63,n&63];r+=base64chars[n[0]]+base64chars[n[1]]+base64chars[n[2]]+base64chars[n[3]]}return r}function base64_decode(s){var p=(s.charAt(s.length-1)=="A"?(s.charAt(s.length-2)=="A"?"AA":"A"):"");var r="";s=s.substr(0,s.length-p.length)+p;s=s.replace(new RegExp("[^"+base64chars.join("")+"]","g"),"");for(var c=0;c<s.length;c+=4){var n=(base64inv[s.charAt(c)]<<18)+base64inv[s.charAt(c+3)]+(base64inv[s.charAt(c+1)]<<12)+(base64inv[s.charAt(c+2)]<<6);r+=String.fromCharCode((n>>>16)&255,(n>>>8)&255,n&255)}return r.substring(0,r.length-p.length)}function flashVer(){var brs=navigator.userAgent.toLowerCase();var f=new Array("0","0");var x,y;if(navigator.plugins&&navigator.plugins.length){x=navigator.plugins["Shockwave Flash"];if(x){f[0]=2;if(x.description){y=x.description;f[1]=y.charAt(y.indexOf(".")-1)}}else{f[0]=1}if(navigator.plugins["Shockwave Flash 2.0"]){f[0]=2;f[0]=2}}else{if(navigator.mimeTypes&&navigator.mimeTypes.length){x=navigator.mimeTypes["application/x-shockwave-flash"];if(x&&x.enabledPlugin){f[0]=2}else{f[0]=1}}else{for(var i=20;i>0;i--){try{var flash=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+i);f[1]=i;break}catch(e){}}if(f[1]>0){f[0]=2}else{f[0]=1}}}return f}function getFingerprint(str){str=base64_decode(str);var properties=str.split("{*}");var results=[];for(var i=0;i<properties.length;i++){var val=eval(properties[i]);results[results.length]=val}return base64_encode(results.join("|"))}function init_on_load(){var u=navigator.userAgent.toLowerCase();var ie=/msie/.test(u)&&!/opera/.test(u);if(/webkit/.test(u)){setTimeout(function(){if(document.readyState=="loaded"||document.readyState=="complete"){adp_init()}else{setTimeout(adp_init,10)}},10)}else{if((/mozilla/.test(u)&&!/(compatible)/.test(u))||(/opera/.test(u))){document.addEventListener("DOMContentLoaded",adp_init,false)}else{if(ie){document.write("<script id=__adp_ie_init defer=true src=//:><\/script>");var script=document.getElementById("__adp_ie_init");if(script){script.onreadystatechange=function(){if(this.readyState!="complete"){return}this.parentNode.removeChild(this);adp_init()}}script=null}else{return false}}}return true}function check_on_load(){var u=navigator.userAgent.toLowerCase();return/webkit/.test(u)||/msie/.test(u)||/opera/.test(u)||(/mozilla/.test(u)&&!/(compatible)/.test(u))}function get_rnd(){if(typeof(adp_rnd)=="undefined"||!adp_rnd){adp_rnd=parseInt(Math.random()*1000,10)+1}return adp_rnd}var adp_frame_id="";adp_frame_id=adp_zone_id.replace(/[\/=]/g,"_");adp_frame_id="adp_frame_"+adp_frame_id+Math.random().toString().replace(/[.]/,"");var alt_url="";if(typeof(adp_alt_url)!="undefined"&&adp_alt_url!=""&&adp_alt_url!="http://"&&adp_alt_url!="https://"){alt_url="alturl="+escape(adp_alt_url)+"&"}else{alt_url=""}adp_alt_url="";var adp_colors={};if(typeof(adp_color_border)=="undefined"){adp_colors.c_border="999999"}else{adp_colors.c_border=adp_color_border}if(typeof(adp_color_bg)=="undefined"){adp_colors.c_bg="ffffff"}else{adp_colors.c_bg=adp_color_bg}if(typeof(adp_color_title)=="undefined"){adp_colors.c_title="154aab"}else{adp_colors.c_title=adp_color_title}if(typeof(adp_color_link)=="undefined"){adp_colors.c_link="154aab"}else{adp_colors.c_link=adp_color_link}if(typeof(adp_color_text)=="undefined"){adp_colors.c_text="000000"}else{adp_colors.c_text=adp_color_text}var ref="";try{ref=window.top.location.href}catch(ref_ex){}if(!ref&&typeof(document.referrer)!="undefined"&&document.referrer!=null){ref=document.referrer}var adp_frame_src=adp_server+"?pub="+adp_zone_id+"&z_width="+adp_zone_width+"&z_height="+adp_zone_height+"&c_border="+adp_colors.c_border+"&c_bg="+adp_colors.c_bg+"&c_title="+adp_colors.c_title+"&c_link="+adp_colors.c_link+"&c_text="+adp_colors.c_text+"&ref="+escape(ref)+"&title="+adp_encoder(document.title)+"&cli="+getFingerprint(properties)+"&"+alt_url+"rnd="+get_rnd();var on_load_handler_installed=false;if(check_on_load()){if(typeof(adp_struct)=="undefined"){adp_struct=new Array();init_on_load()}adp_struct[adp_struct.length]={frame_src:adp_frame_src,frame_id:adp_frame_id,width:adp_zone_width,height:adp_zone_height};on_load_handler_installed=true}if(!on_load_handler_installed||install_cookie){var use_iframe_src;if(!on_load_handler_installed){use_iframe_src=adp_frame_src}else{use_iframe_src=adp_init_serve_script+"?t="+install_cookie}document.write('<iframe id="'+adp_frame_id+'_load" name="'+adp_frame_id+'_load" width="'+adp_zone_width+'" height="'+adp_zone_height+'" border="0" frameborder="0" scrolling="no" allowtransparency="true" hspace="0" vspace="0" marginheight="0" marginwidth="0" src="'+use_iframe_src+'" ></iframe>')}else{document.write('<span id="'+adp_frame_id+'_span">&nbsp;</span>')}})();