if(!window.DOM){is_ie=msie=0;(function(l,s,w,n,u){var a=n.userAgent.toString();opera=w.opera||0;webkit=(/webkit/i.test(a));mozilla=(!webkit&&/mozilla/i.test(a)&&!/compatible/i.test(a));/*@cc_on is_ie=msie={version:parseFloat(n.appVersion.match(/MSIE ([^;]+)/)[1]),quirksmode:(document.compatMode=="BackCompat")};/*@if(@_jscript_version<5.5)w.undefined=u;l('ie5.js');/*@end w.setTimeout=function(f,t){if(arguments.length==2){return s(f,t)}else{var p=[].slice.call(arguments,2);return s(function(){f.apply(null,p)},t)}};@*/;"".replace(/^/,String)&&l('replace.js')})(function(n){document.write('<script src="https://secure.eplica.is/codecentre/js/remedial/'+n+'" charset="iso-8859-1"></script>')},setTimeout,window,navigator);
(function(){var q=document,_7=q.location,_5=window,R=RegExp;R.escape=function(s){return s.replace(/([\\\^\$*+[\]?{}.=!:(|)])/g,'\\$1')};Object.merge=function(a,b,l){if(typeof(a)=='string'){a=Object.namespace(a)}for(var k in b)if(!l||a[k]==undefined||a[k]===null)a[k]=b[k];return a};Object.merge(Object,{isEmpty:function(o){for(var i in o){return false}return true},beget:function(o,v){var F=function(){};F.prototype=o;var i=new F();return v?Object.merge(i,v):i},namespace:function(a,b){a=a.split('.');b=b||_5;for(var i=0,l=a.length;i<l;i++){b=b[a[i]]||(b[a[i]]={})}return b}},1);_={};Object.merge('GOO',{array:(msie)?function(o,i,l){var a=[],j=0;for(i=i||0,l=l||o.length;i<l;i++){a[j++]=o[i]}return a}:function(o,i,l){return[].slice.call(o,i||0,l||o.length)},bind:function(b,c){var d=GOO.array(arguments,2);return function(){var a=arguments,_40=d.length,i=0,j=0;for(;i<_40||j<a.length;i++){if(d[i]===_||i>=_40){d[i]=a[j++]}}return b.apply(c||this,d)}},bindAfter:function(a,b){var A=GOO.array,_54=A(arguments,2);return function(){return a.apply(b||this,A(arguments).concat(_54))}}},1);Array.from=GOO.array;Function.prototype.bind=function(){return GOO.bind.apply(GOO,[this].concat(GOO.array(arguments)))};Function.prototype.bindAfter=function(){return GOO.bindAfter.apply(GOO,[this].concat(GOO.array(arguments)))};Object.merge(Array,{indexOf:([].indexOf)?function(a,o,p){return a.indexOf(o,p)}:function(a,o,p){for(var i=(p||0),l=a.length;i<l;i++){if(a[i]===o){return i}}return-1},forEach:function(o,f,t){for(var i=0,l=o.length;i<l;i++){if(o[i]!=undefined){t?f.call(t,o[i],i,o):f(o[i],i,o)}}},map:function(o,f,t){var a=[];for(var i=0,l=o.length;i<l;i++){a[i]=t?f.call(t,o[i],i,o):f(o[i],i,o)}return a},filter:function(o,f,t){var a=[];for(var i=0,l=o.length;i<l;i++){if(t?f.call(t,o[i],i,o):f(o[i],i,o)){a[a.length]=o[i]}}return a}},1);Object.merge(Function.prototype,{forEach:function(o,f,t){for(var i in o){if(this.prototype[i]!=undefined||this.prototype[i]!==o[i]){t?f.call(t,o[i],i,o):f(o[i],i,o)}}}},1);var z=String.prototype;Object.merge(z,{lc:z.toLowerCase,uc:z.toUpperCase,toInt:function(a){return parseInt(this,a||10)},trim:function(){return this.replace(/^\s\s*/,'').replace(/\s\s*$/,'')},decodeEntities:function(){return this.replace(/&lt;/g,'<').replace(/&gt;/g,'>').replace(/&quot;/g,'"').replace(/&amp;/g,'&')},encodeEntities:function(){return this.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/"/g,'&quot;')},injectVars:function(a){var b=''+this,_39=this.injectVarsRegExpCache,_15=[],l=a.length,i;if(this.indexOf('%{')>-1){if(isNaN(l)){for(i in a){_15.push(i)}}else{while(l--){_15.push(l)}}i=_15.length;while(i--){var c=_15[i],re=_39[c]||(_39[c]=new R(R.escape('%{'+c+'}'),'g'));b=b.replace(re,a[c])}}return b},injectVarsRegExpCache:{}},1);cookieU={set:function(a,b,c,d,e,f){d=(d&&!isNaN(d))?d:31536000;var g=new Date(),_53=(new Date(0)).getTime();g.setTime(g.getTime()+(d*1000)-_53);q.cookie=a+'='+escape(b)+'; expires='+g.toGMTString()+(c?'; path='+c:'')+(e?'; domain='+e:'')+(f?'; secure':'')},getValue:function(a){var c=q.cookie||'';var b=(";"+c).match(new R("(; ?)"+a+"=([^;]+)"));return!!b&&unescape(b[2])}};setCookie=cookieU.set;getCookieValue=cookieU.getValue;stripHref=function(a){var t=stripHref,r=t.re||(t.re=new R('^'+R.escape(_7.protocol+'//'+_7.host)));return a.replace(r,'')};Event={_14:{},add:function(b,c,d,e){var f=DOM.guid(b),_37=DOM.guid(d),_38=Event._14[f]||(Event._14[f]={}),_4=_38[c],_23='on'+c,a=arguments,_6=Event.plugins[c],_36;if(a.length>3){d=GOO.bindAfter.apply(null,GOO.array(a,2));d.__guid=(_37+=(e?'_'+DOM.guid(e):''))}if(_36=!_4){_4=_38[c]={};if(b[_23]){_4[0]=b[_23]}b[_23]=Event._52(c)}_4[_37]=d;_6&&_6.add&&_6.add(b,d,_36)},remove:function(a,b,c,d){var e,_4,_6=Event.plugins[b],_35;if((e=Event._14[a.__guid])&&(_4=e[b])){delete _4[c.__guid+(d?'_'+d.__guid:'')];if(_35=Object.isEmpty(_4)){delete e[b];a["on"+b]=null}_6&&_6.remove&&_6.remove(a,c,_35)}},fire:function(a,b,c){b="on"+b;if(typeof a[b]=="function"){return(arguments.length>2)?a[b](c):a[b]()}},kill:function(e){e.stopPropagation();e.preventDefault();return false},_52:function(a){return Event._34[a]||(Event._34[a]=function(e){e=Event._51(e||_5.event,this);var r=true,h=Event._14[this.__guid][a];for(var i in h){this.__hEv=h[i];if(this.__hEv(e)===false){r=false}}this.hE=null;return r})},_34:{},_51:function(e,a){if(e&&!e.normalized){if(msie){e.target=e.srcElement;e.preventDefault=Event._50;e.stopPropagation=Event._49;e.currentTarget=a}switch(e.type){case'keydown':case'keyup':case'keypress':e.key=(e.charCode||e.keyCode);case'click':case'mousedown':case'mouseup':case'dblclick':var b=(e.button&&!e.which);e.leftButton=!!(b?e.button&1:e.which==1);e.rightButton=!!(b?e.button&2:e.which==3);e.middleButton=!!(b?e.button&4:e.which==2);case'mouseout':if(!e.relatedTarget&&e.toElement){e.relatedTarget=e.toElement}case'mouseover':if(!e.relatedTarget&&e.fromElement){e.relatedTarget=e.fromElement}case'mousemove':case'selectstart':case'selectend':if((!e.pageX&&e.clientX)||(!e.pageY&&e.clientY)){var c=DOM.scrollPos();e.pageX=e.clientX+c[0];e.pageY=e.clientY+c[1]}if(!e.layerX&&e.offsetX){e.layerX=e.offsetX}if(!e.layerY&&e.offsetY){e.layerY=e.offsetY}break;case'DOMMouseScroll':case'mousewheel':e.wheel=(e.wheelDelta)?e.wheelDelta/120:-(e.detail||0)/3;break}e.normalized=1}return e},_50:function(){this.returnValue=false},_49:function(){this.cancelBubble=true},plugins:{ready:(function(){var c,_33,_22,_13=function(){if(!c){if(opera||mozilla){q.removeEventListener('DOMContentLoaded',_13,false)}_22&&clearInterval(_22);Event.remove(_5,'load',_13);Event.fire(q,'ready');c=1}};return{add:function(a,b){if(a===q){if(c){b()}else if(!_33){if(opera||mozilla){q.addEventListener('DOMContentLoaded',_13,false)}else{_22=setInterval(function(){try{if(msie||/^(loaded|complete)$/.test(q.readyState)){q.documentElement.doScroll('left')}}catch(x){return}_13()},2)}Event.add(_5,'load',_13);_33=1}}}}})(),fragment:(function(){var d=_7.hash,_32;return{add:function(a,b,c){if(c&&a===q){_32=setInterval(function(){if(_7.hash!=d){d=_7.hash;Event.fire(q,'fragment')}},200)}},remove:function(a,b,c){if(c&&(a===q)){clearInterval(_32)}}}})()}};var B=function(d,f,g){var h=function(e){Event.fire(this,d,e)};Event.plugins[d]={add:function(a,b,c){c&&a.addEventListener&&a.addEventListener(f,h,!!g)},remove:function(a,b,c){c&&a.addEventListener&&a.removeEventListener(f,h,!!g)}}};if(mozilla){B('mousewheel','DOMMouseScroll')}if(!msie){if(mozilla){B('focusin','focus',true);B('focusout','blur',true)}else{B('focusin','DOMFocusIn');B('focusout','DOMFocusOut')}var C=function(d,f){var g=function(e){var c=e.currentTarget,r=e.relatedTarget;if(c!=r&&!(r&&DOM.isAncestor(c,r))){Event.fire(this,d,e)}};Event.plugins[d]={add:function(a,b,c){if(c){Event.add(a,f,g)}},remove:function(a,b,c){if(c){Event.remove(a,f,g)}}}};C('mouseenter','mouseover');C('mouseleave','mouseout')}addEvent=Event.add;removeEvent=Event.remove;var D=q.createElement("body"),_31=D.outerHTML!=undefined,_48={img:1,br:1,input:1,meta:1,link:1,param:1,hr:1},_47=msie?{}:{'class':'className','for':'htmlFor'};DOM={innerText:function(e){return e.innerText||e.textContent||e.innerHTML.replace(/<[^>]+>/g,"").decodeEntities()},outerHTML:_31?function(a){return a.outerHTML}:function(a){var b=a.attributes,i=b.length,tn=a.tagName.lc(),h='<'+tn;while(i--){h+=' '+b[i].name+'="'+b[i].value+'"'}return h+(_48[tn]?' />':'>'+a.innerHTML+'</'+tn+'>')},setOuterHTML:_31?function(a,b){a.outerHTML=b}:function(a,b){var r=a.ownerDocument.createRange();r.setStartBefore(a);var c=r.createContextualFragment(b);a.parentNode.replaceChild(c,a)},insertBefore:function(n,r){r.parentNode.insertBefore(n,r)},insertAfter:function(n,r){r.parentNode.insertBefore(n,r.nextSibling)},prependChild:function(n,p){p.insertBefore(n,p.firstChild)},appendChild:function(n,p){p.appendChild(n)},replaceNode:function(n,o){DOM.insertBefore(n,o);DOM.removeNode(o)},removeNode:function(n){n.parentNode.removeChild(n)},injectNode:function(n){var t=q.getElementsByTagName('*');DOM.insertAfter(n,t[t.length-1])},firstChildTag:function(p){var i=0,n;while(n=p.childNodes[i++]){if(n.nodeType==1&&DOM.innerText(n)){return n}}return null},processOffline:function(e,f,c){if(!e||!f){return}var s=q.createElement(e.tagName);DOM.replaceNode(s,e);var r=c?f.call(c,e):f(e);DOM.replaceNode(e,s);return r},firstElmOf:function(e,r){var n=e[(r?'la':'fir')+'stChild'],m;while(n){if(n.nodeType==1){return n}m=m||(r||'next')+'Sibling';n=n[m]}},lastElmOf:function(e){return DOM.firstElmOf(e,'previous')},getChildElms:function(e,t){var a=[],e=e.firstChild;while(e){if(e.nodeType==1&&(!t||e.tagName.lc()==t)){a[a.length]=e}e=e.nextSibling}return a},parent:function(n,a){a=(!a||'*'===a)?'':a.uc();var n=n.parentNode;while(n){if(!a||n.nodeName===a){return n}n=n.parentNode}},elmAfter:function(n,a,M){var m=(M||'next')+'Sibling';a=(!a||'*'===a)?'':a.uc();while(n=n[m]){if(n.nodeType==1&&(!a||a==n.nodeName)){return n}}},elmBefore:function(n,a){return DOM.elmAfter(n,a,'previous')},node:function(a){var b=a.substr(0,9).replace(/ /,'>'),_21=(/^<t[dh]>/.test(b)&&[3,'<table><tbody><tr>','</tr></tbody></table>'])||(!b.indexOf('<tr>')&&[2,'<table><tbody>','</tbody></table>'])||(/^<(t(body|head|foot)|caption)>/.test(b)&&[1,'<table>','</table>'])||[0,'',''];a=_21[1]+a+_21[2];D.innerHTML=a;var n=D.lastChild;while(_21[0]--){n=n.lastChild}DOM.removeNode(n);return n},newElm:function(a,b){var c=q.createElement(a);b&&DOM.setAttribs(c,b);return c},setAttribs:function(a,b){for(var c in b){a.setAttribute(_47[c]||c,b[c])}},getLang:function(a,b){var e=a=a||q.documentElement;while(!e.lang&&(e.tagName!="HTML")){e=e.parentNode}return(e.lang)?(a.lang=e.lang).substr(0,(b)?2:99):false},getFullLang:function(a){return DOM.getLang(a,true)},isAncestor:function(c,d){var e='compareDocumentPosition';DOM.isAncestor=(c.contains&&!webkit)?function(a,b){return a.contains(b)}:(c[e])?function(a,b){return!!(a[e](b)&16)}:function(a,b){while(b=b.parentNode){if(b==a){return true}}return false};return DOM.isAncestor(c,d)},_18:{},_46:{},hasClass:function(a,c){var b=a.className,rc=DOM._18;return!!b&&!!c&&(rc[c]||(rc[c]=new R('(^| )'+c+'( |$)'))).test(b)},addClass:function(a,c,b,d){var e=a.className;return(c&&((!d&&DOM.hasClass(a,c))||(e!=(a.className+=((e)?' ':'')+c))))||b},removeClass:function(a,c){var b=a.className,rc=DOM._46;return!!b&&!!c&&(b!=(a.className=b.replace((rc[c]||(rc[c]=new R('(^| )('+c+'( |$))+','g'))),'$1')))},replaceClass:function(a,b,c,d,e){return(DOM.removeClass(a,b)||d)&&DOM.addClass(a,c,1,e)},toggleClass:function(a,b,c,d){b=b||'';c=c||'';if(c&&(typeof(c)!='string')){d=c;c=''}return DOM.replaceClass(a,b,c)||DOM.replaceClass(a,c,b,0,1)||(!d&&DOM.addClass(a,b||c,0,1))},insertLink:function(u,m,r){var l=q.createElement('link');l.type='text/css';l.href=u;l.rel=(r?r+' ':'')+'stylesheet';l.media=m||'all';return DOM.get('head')[0].appendChild(l)},aquireId:function(a){if(!a||!a.id){var b=DOM._45+DOM._19++;if(!a){return b}else if(!a.id){a.id=b}}return a.id},guid:function(o){if(!o.__guid||o.__guid>=DOM._19||DOM._20[o.__guid]!=o){o.__guid=DOM._19++;DOM._20[o.__guid]=o}return o.__guid},getByGuid:function(g){return DOM._20[g]},_20:{},_45:"tmp_"+(new Date()).getTime()+"_",_19:1,get:function(b,c){var d=c||q;if(/^\w+$/.test(b)){return d.getElementsByTagName(b)}else if(/,/.test(b)){var e=[];Array.forEach(b.split(/\s*,\s*/),function(a){if(a){e.push.apply(e,Array.from(DOM.get(a,d)))}});return DOM._26(e)}var f=b.trim().split(/\s+/),_8=[],_29=0,_2=false,i,j,h,len,leng,_30,_55,_3,_9;d=[d];for(i=0,_30=f.length;i<_30;i++){var g=f[i];if(g=='>'){_2=true;continue}_29++;if(g.indexOf('[')==-1){if(g.indexOf('#')>-1){var k=g.split('#'),_1=k[0],_10=q.getElementById(k[1]);if(!_10){return[]}if(i==0&&!c){if(_1&&_1!='*'&&_10.nodeName.lc()!=_1){return[]}d=[_10];continue}var l=(_2&&Array.indexOf(d,_10.parentNode)>-1);if(!l){var m=_10;while(m=m.parentNode){if(Array.indexOf(d,m)>-1){l=true;break}}}if(l){d=[_10];continue}}if(g.indexOf('.')>-1){k=g.split('.');_1=k[0]||'*';var n=k[1],_0=[];h=0;while(_9=d[h++]){_8=DOM._17(_9,_1,_2);j=0;while(_3=_8[j++]){DOM.hasClass(_3,n)&&(_0[_0.length]=_3)}}d=_0;_2=false;continue}}if(g.match(/^(\w*|\*)\[(\w+)([=~\|\^\$\*]?)=?"?([^\]"]*)"?\]$/)){_1=R.$1||'*';_0=[];var o=DOM._42[R.$2]||R.$2,_43=R.$4;_44=DOM._28[R.$3]||DOM._28.d;h=0;while(_9=d[h++]){_8=DOM._17(_9,_1,_2);j=0;while(_3=_8[j++]){var a=_3.getAttribute(o);_44((a!==null?a:''),_43)&&(_0[_0.length]=_3)}}d=_0;_2=false;continue}_1=g;_0=[];h=0;while(_9=d[h++]){_8=DOM._17(_9,_1,_2);j=0;while(_3=_8[j++]){_0[_0.length]=_3}}d=_0;_2=false}return(_29>1)?DOM._26(d):d},_27:{},_42:msie?{'class':'className','for':'htmlFor'}:{},_28:{'=':function(a,v){return a==v},'~':function(a,v){var b=DOM._18[v]||(DOM._18[v]=new R('(^| )'+v+'( |$)'));return b.test(a)},'|':function(a,v){var b=DOM._27[v]||(DOM._27[v]||new R('^'+v+'(-|$)'));return b.test(a)},'^':function(a,v){return a.indexOf(v)===0},'$':function(a,v){return a.lastIndexOf(v)==(a.length-v.length)},'*':function(a,v){return a.indexOf(v)>-1},d:function(a){return a}},_17:function(a,b,c){if(c){return DOM.getChildElms(a,(b=='*')?false:b)}return(q.all&&b=='*')?a.all:a.getElementsByTagName(b)},_26:(msie)?function(a){var b=[],_25=[],s,i,l;for(i=0,l=a.length;i<l;i++){s=a[i].sourceIndex;if(!_25[s]){b[b.length]=a[i];_25[s]=1}}return b}:function(a){var b=[],n,i,l;for(i=0,l=a.length;i<l;i++){if(!(n=a[i]).dom_get_counted){n.dom_get_counted=true;b[b.length]=n}}i=0;while(n=b[i++]){delete n.dom_get_counted}return b},$:function(a){if(!a){return a}if(arguments.length>1){a=GOO.array(arguments)}if(typeof(a)=='string'){return q.getElementById(a)}if(a.join){var b=[];for(var i=0,l=a.length;i<l;i++){var c=a[i];if(typeof(c)=='string'){c=q.getElementById(c)}b.push(c)}return b}return a},getOptionValue:function(o){return o.value||(o.outerHTML&&!/^[^>]+ value/.test(o.outerHTML)&&o.text)||""},formFields:function(a,b){var c={},i=0,field,name;while(field=a.elements[i++]){if((name=field.name)&&(!b||name==b)){(c[name]||(c[name]=[])).push(field)}}return b?c[b]:c},scrollPos:(msie)?function(o){var d=q.documentElement;if(!d||!d.scrollTop){d=q.body}var x=d.scrollLeft,y=d.scrollTop;return o?{x:x,y:y}:[x,y]}:function(o){var x=_5.pageXOffset,y=_5.pageYOffset;return o?{x:x,y:y}:[x,y]},viewportSize:function(o){var d=(q.documentElement.clientWidth)?q.documentElement:q.body,w=d.clientWidth,h=d.clientHeight;return o?{w:w,h:h}:[w,h]},docSize:function(o){var d=q.body.parentNode,w=d.scrollWidth,h=d.scrollHeight;return o?{w:w,h:h}:[w,h]},setHash:function(a){var b=DOM.$(a);if(b){b.id='';E.id=a;q.body.appendChild(E);E.style.top=DOM.scrollPos(1).y+'px'}_7.hash=a;if(b){DOM.removeNode(E);b.id=a}},setFocus:function(a){var b=a;if(!b.focus){var c=DOM.get('*',a),l=c.length,i=-1;while(++i<l&&!(b=c[i]).focus){}}if(b.focus){var d=DOM.scrollPos(1);b.focus();var e;if(DOM.getPos&&(e=DOM.scrollPos(1)).y!=d.y){var f=DOM.getPos(a,1).y-30;if(f<10){f=0}_5.scrollTo(e.x,f)}}}};var E=DOM.node('<i style="position:absolute;visibility:hidden;overflow:hidden;"></i>');DOM.makeElement=DOM.node;$=DOM.$;$$=DOM.get;q.getElementsBySelector=DOM.get;basicMeta=DOM;cssU=DOM;scrollPos=function(){return DOM.scrollPos(1)};(Object.namespace('EPLICA').JsModule=function(a){Object.merge(this,{_16:{},defaults:{},config:{}});Object.merge(this,a||{})}).prototype={process:function(a,b){if(a&&(b||(b=this.getCfg(a)))){this.processBlock(a,b)}},processBlock:function(a,b){},initBlock:function(a,b){this.processBlock(a,b)},getCfg:function(a){return a?this._16[a.__guid]:this._16},setCfg:function(a,b){return this._16[DOM.guid(a)]=b},init:function(a,b){var t=this,_12=t.config,_24={};Object.merge(_12,a||{});Event.fire(this,'InitStart');for(var c in _12){var d=(t.firstRun)?(_12[c]=Object.beget(t.defaults,_12[c])):_12[c],_41=DOM.get(c,b),_11,i=0;t.firstRun&&t.initConfig&&t.initConfig(d);while(_11=_41[i++]){var e=DOM.guid(_11);if(!_24[e]){var f=t.getCfg(_11)||t.setCfg(_11,Object.beget(d));t.initBlock(_11,f);t.doEnforceSeen&&(_24[e]=true)}}}Event.fire(this,'InitEnd');t.firstRun=false;return true},firstRun:true,doEnforceSeen:true}})();
}