(function(){var h=void 0,k=!0,l=null,m=!1;function o(){return function(){}} (function(){ktools={h:function(){var a="en",d="",c=[],g=new ktools.j;this.setLanguage=this.Ra=function(b){a=b};this.getLanguage=this.ha=function(){return a};this.getAvailableLanguages=this.ca=function(){return c};this.setLanguageFilePath=this.L=function(b,c){d=(b?b:"")+a+(c?c:"")};this.initLanguage=this.sa=function(b,c,f){a=b;c&&this.L(c,f);for(var b=ktools.q.G(d),c=b.getElementsByTagName("data").length,f=h,j=0;j").html(a).text();return unescape(d)};ktools.String.decode=ktools.n.X;ktools.v=o();ktools.Code=ktools.v;ktools.v.eval=function(a){a=a.replace(/(\r\n|\n|\r|\t)/gm,"");eval(a)};ktools.Code.eval=ktools.v.eval;ktools.z=o();ktools.Url=ktools.z;ktools.z.ka=function(a,d){var d=d.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]"),c=RegExp("[\\?&]"+d+"=([^&#]*)").exec(a);return c==l?"":c[1]};ktools.Url.getParam=ktools.z.ka;ktools.m=o();ktools.Color=ktools.m;ktools.m.qa=function(a, d){var c=/^#?[0-9a-f]{3,6}$/i.test(a);return"undefined"!=typeof a&&(7==a.length||4==a.length)&&c?a.toUpperCase():"undefined"!=typeof a&&(6==a.length||3==a.length)&&c?"#"+a.toUpperCase():"undefined"!=typeof d?d:"#FFFFFF"};ktools.Color.htmlColor=ktools.m.qa;ktools.m.pa=function(a){var d=[];d[0]=parseInt(a.substr(0,2),16);d[1]=parseInt(a.substr(2,2),16);d[2]=parseInt(a.substr(4,2),16);return d};ktools.Color.hex2rgb=ktools.m.pa;ktools.O=function(){function a(b){var a=b.indexOf(this.u);return-1==a?h:parseFloat(b.substring(a+ this.u.length+1))}function d(b){for(var a=0,c=b.length;akolorBrowserDetect.version)return m;if(a[b+"RequestFullscreen"])return a[b+"RequestFullscreen"];console.log(a[b+ "RequestFullScreen"]);return a[b+"RequestFullScreen"]}return a[b+"FullscreenEnabled"]?a[b+"FullscreenEnabled"]:a[b+"FullScreenEnabled"]};this.supportsFullscreen=this.Ua=function(){debug&&console.log("ktools.Fullscreen.supportsFullscreen");i="";if("undefined"!=typeof document.exitFullscreen||"undefined"!=typeof document.exitFullScreen||"undefined"!=typeof document.cancelFullscreen||"undefined"!=typeof document.cancelFullScreen)g=k,i+="fullscreenchange";else for(var a=0,f=d.length;akolorBrowserDetect.version){g=m;break}g=k;i="ms"==b?i+"MSFullscreenChange":i+b+"fullscreenchange";break}if("webkit"==b){var p=c;if(p.webkitSupportsFullscreen){g=p.webkitSupportsFullscreen;break}}}a="#"+c.id+":fullscreen { height: 100% !important; width: 100% !important; max-height: 100% !important; background-color: black; }"; a+="#"+c.id+":fullscreen::backdrop { background-color: black; }";a+="#"+c.id+":full-screen { height: 100% !important; width: 100% !important; max-height: 100% !important; background-color: black; }";""!=b&&c.id&&("ms"==b?(a+="#"+c.id+":-"+b+"-fullscreen { height: 100% !important; width: 100% !important; max-height: 100% !important; background-color: black; }",a+="#"+c.id+":-"+b+"-fullscreen::-"+b+"-backdrop { background-color: black; }"):a+="#"+c.id+":-"+b+"-full-screen { height: 100% !important; width: 100% !important; max-height: 100% !important; background-color: black; }"); f=document.createElement("style");f.type="text/css";f.styleSheet?f.styleSheet.cssText=a:f.appendChild(document.createTextNode(a));document.getElementsByTagName("head")[0].appendChild(f);var n=this;document.addEventListener?document.addEventListener(i,function(){j=n.o()!=l?k:m;if(n.b().change&&n.b().resize){n.b().change(j);n.b().resize()}}):i&&document.attachEvent(i,function(){j=n.o()!=l?k:m;if(n.b().change&&n.b().resize){n.b().change(j);n.b().resize()}});return g};this.request=this.Na=function(){debug&& console.log("ktools.Fullscreen.request");if(g){if(!this.A()||!this.o())if(""===b)c.Oa?c.Oa():c.$a();else if(c[b+"RequestFullscreen"])if("webkit"==b)c[b+"RequestFullscreen"](Element.N);else c[b+"RequestFullscreen"]();else if("webkit"==b)c[b+"RequestFullScreen"](Element.N);else c[b+"RequestFullScreen"]()}else this.b().enter&&this.b().enter()};this.exit=this.Y=function(){debug&&console.log("ktools.Fullscreen.exit");if(g){if(this.A()||this.o()){var a=document;if(""===b)a.$?a.$():a.Z?a.Z():a.W?a.W():a.Xa(); else if(a[b+"ExitFullscreen"])a[b+"ExitFullscreen"]();else if(a[b+"ExitFullScreen"])a[b+"ExitFullScreen"]();else if(a[b+"CancelFullscreen"])a[b+"CancelFullscreen"]();else a[b+"CancelFullScreen"]()}}else this.b().exit&&this.b().exit()}};ktools.Fullscreen=ktools.Q;ktools.l=function(){var a=[];this.add=this.add=function(d){a.push(d)};this.remove=this.remove=function(d){for(var c=0;c