/* Hyphenator 3.2.0 - client side hyphenation for webbrowsers Copyright (C) 2010 Mathias Nater, Zürich (mathias at mnn dot ch) Project and Source hosted on http://code.google.com/p/hyphenator/ This JavaScript code is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (GNU LGPL) as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. The code is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU GPL for more details. As additional permission under GNU GPL version 3 section 7, you may distribute non-source (e.g., minimized or compacted) forms of that code without the copy of the GNU GPL normally required by section 4, provided you include this license notice and a URL through which recipients can access the Corresponding Source. */ var Hyphenator=function(g){var t={be:"be.js",cs:"cs.js",da:"da.js",bn:"bn.js",de:"de.js",el:"el-monoton.js","el-monoton":"el-monoton.js","el-polyton":"el-polyton.js",en:"en-us.js","en-gb":"en-gb.js","en-us":"en-us.js",es:"es.js",fi:"fi.js",fr:"fr.js",grc:"grc.js",gu:"gu.js",hi:"hi.js",hu:"hu.js",hy:"hy.js",it:"it.js",kn:"kn.js",la:"la.js",lt:"lt.js",lv:"lv.js",ml:"ml.js",no:"no-nb.js","no-nb":"no-nb.js",nl:"nl.js",or:"or.js",pa:"pa.js",pl:"pl.js",pt:"pt.js",ru:"ru.js",sl:"sl.js",sv:"sv.js",ta:"ta.js", te:"te.js",tr:"tr.js",uk:"uk.js"},na=function(){var a,b="";for(a in t)if(t.hasOwnProperty(a))b+=a+", ";return b=b.substring(0,b.length-2)}(),M={be:"\u041c\u043e\u0432\u0430 \u0433\u044d\u0442\u0430\u0433\u0430 \u0441\u0430\u0439\u0442\u0430 \u043d\u0435 \u043c\u043e\u0436\u0430 \u0431\u044b\u0446\u044c \u0432\u044b\u0437\u043d\u0430\u0447\u0430\u043d\u044b \u0430\u045e\u0442\u0430\u043c\u0430\u0442\u044b\u0447\u043d\u0430. \u041a\u0430\u043b\u0456 \u043b\u0430\u0441\u043a\u0430 \u043f\u0430\u043a\u0430\u0436\u044b\u0446\u0435 \u043c\u043e\u0432\u0443:", cs:"Jazyk t\u00e9to internetov\u00e9 str\u00e1nky nebyl automaticky rozpozn\u00e1n. Ur\u010dete pros\u00edm jej\u00ed jazyk:",da:"Denne websides sprog kunne ikke bestemmes. Angiv venligst sprog:",de:"Die Sprache dieser Webseite konnte nicht automatisch bestimmt werden. Bitte Sprache angeben:",en:"The language of this website could not be determined automatically. Please indicate the main language:",es:"El idioma del sitio no pudo determinarse autom%E1ticamente. Por favor, indique el idioma principal:", fi:"Sivun kielt%E4 ei tunnistettu automaattisesti. M%E4%E4rit%E4 sivun p%E4%E4kieli:",fr:"La langue de ce site n%u2019a pas pu %EAtre d%E9termin%E9e automatiquement. Veuillez indiquer une langue, s.v.p.%A0:",hu:"A weboldal nyelv\u00e9t nem siker\u00fclt automatikusan meg\u00e1llap\u00edtani. K\u00e9rem adja meg a nyelvet:",hy:"\u0549\u0570\u0561\u057b\u0578\u0572\u057e\u0565\u0581 \u0570\u0561\u0575\u057f\u0576\u0561\u0562\u0565\u0580\u0565\u056c \u0561\u0575\u057d \u056f\u0561\u0575\u0584\u056b \u056c\u0565\u0566\u0578\u0582\u0576\u0589 \u053d\u0576\u0564\u0580\u0578\u0582\u0574 \u0565\u0576\u0584 \u0576\u0577\u0565\u0584 \u0570\u056b\u0574\u0576\u0561\u056f\u0561\u0576 \u056c\u0565\u0566\u0578\u0582\u0576\u055d", it:"Lingua del sito sconosciuta. Indicare una lingua, per favore:",kn:"\u0c9c\u0cbe\u0cb2 \u0ca4\u0cbe\u0ca3\u0ca6 \u0cad\u0cbe\u0cb7\u0cc6\u0caf\u0ca8\u0ccd\u0ca8\u0cc1 \u0ca8\u0cbf\u0cb0\u0ccd\u0ca7\u0cb0\u0cbf\u0cb8\u0cb2\u0cc1 \u0cb8\u0cbe\u0ca7\u0ccd\u0caf\u0cb5\u0cbe\u0c97\u0cc1\u0ca4\u0ccd\u0ca4\u0cbf\u0cb2\u0ccd\u0cb2. \u0ca6\u0caf\u0cb5\u0cbf\u0c9f\u0ccd\u0c9f\u0cc1 \u0cae\u0cc1\u0c96\u0ccd\u0caf \u0cad\u0cbe\u0cb7\u0cc6\u0caf\u0ca8\u0ccd\u0ca8\u0cc1 \u0cb8\u0cc2\u0c9a\u0cbf\u0cb8\u0cbf:", lt:"Nepavyko automati\u0161kai nustatyti \u0161ios svetain\u0117s kalbos. Pra\u0161ome \u012fvesti kalb\u0105:",lv:"\u0160\u012bs lapas valodu nevar\u0113ja noteikt autom\u0101tiski. L\u016bdzu nor\u0101diet pamata valodu:",ml:"\u0d08 \u0d35\u0d46%u0D2C%u0D4D%u200C\u0d38\u0d48\u0d31\u0d4d\u0d31\u0d3f\u0d28\u0d4d\u0d31\u0d46 \u0d2d\u0d3e\u0d37 \u0d15\u0d23\u0d4d\u0d1f\u0d41\u0d2a\u0d3f\u0d1f\u0d3f\u0d2f\u0d4d\u0d15\u0d4d\u0d15\u0d3e%u0D28%u0D4D%u200D \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d3f\u0d32\u0d4d\u0d32. \u0d2d\u0d3e\u0d37 \u0d0f\u0d24\u0d3e\u0d23\u0d46\u0d28\u0d4d\u0d28\u0d41 \u0d24\u0d3f\u0d30\u0d1e\u0d4d\u0d1e\u0d46\u0d1f\u0d41\u0d15\u0d4d\u0d15\u0d41\u0d15:", nl:"De taal van deze website kan niet automatisch worden bepaald. Geef de hoofdtaal op:",no:"Nettstedets spr\u00e5k kunne ikke finnes automatisk. Vennligst oppgi spr\u00e5k:",pt:"A l\u00edngua deste site n\u00e3o p\u00f4de ser determinada automaticamente. Por favor indique a l\u00edngua principal:",ru:"\u042f\u0437\u044b\u043a \u044d\u0442\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u0443\u043a\u0430\u0436\u0438\u0442\u0435 \u044f\u0437\u044b\u043a:", sl:"Jezika te spletne strani ni bilo mogo\u010de samodejno dolo\u010diti. Prosim navedite jezik:",sv:"Spr%E5ket p%E5 den h%E4r webbplatsen kunde inte avg%F6ras automatiskt. V%E4nligen ange:",tr:"Bu web sitesinin dili otomatik olarak tespit edilememi\u015ftir. L\u00fctfen d\u00f6k\u00fcman\u0131n dilini se\u00e7iniz%A0:",uk:"\u041c\u043e\u0432\u0430 \u0446\u044c\u043e\u0433\u043e \u0432\u0435\u0431-\u0441\u0430\u0439\u0442\u0443 \u043d\u0435 \u043c\u043e\u0436\u0435 \u0431\u0443\u0442\u0438 \u0432\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u043e. \u0411\u0443\u0434\u044c \u043b\u0430\u0441\u043a\u0430, \u0432\u043a\u0430\u0436\u0456\u0442\u044c \u0433\u043e\u043b\u043e\u0432\u043d\u0443 \u043c\u043e\u0432\u0443:"}, da=function(){for(var a=document.getElementsByTagName("script"),b=0,c,d;c=a[b++];)if(c.src){d=c.src;c=d.indexOf("Hyphenator.js");if(c!==-1)return d.substring(0,c)}return"http://hyphenator.googlecode.com/svn/trunk/"}(),oa=function(){var a=false;if(g.location.href.indexOf(da)!==-1)a=true;return a}(),B=false,w=0,N=false,l=g,v=false,ea={script:true,code:true,pre:true,img:true,br:true,samp:true,kbd:true,"var":true,abbr:true,acronym:true,sub:true,sup:true,button:true,option:true,label:true,textarea:true, input:true},C=true,D="local",p,O=false,P=true,Q=false,H="hyphenate",E="donthyphenate",x=6,F=1,y=function(){var a=null,b=false,c=document.getElementsByTagName("script"),d,e;d=0;for(e=c.length;d<e;d++){if(c[d].getAttribute("src"))a=c[d].getAttribute("src");if(a)if(a.indexOf("Hyphenator.js?bm=true")!==-1)b=true}return b}(),m=null,I="",z=[],n={},pa=function(a){var b,c=0;for(b in a)a.hasOwnProperty(b)&&c++;return c},r={},fa=RegExp("((\\w*://)?((\\w*:)?(\\w*)@)?((([\\d]{1,3}\\.){3}([\\d]{1,3}))|((www\\.|[a-zA-Z]\\.)?[a-zA-Z0-9\\-\\.]+\\.([a-z]{2,4})))(:\\d*)?(/[\\w#!:\\.?\\+=&%@!\\-]*)*)|([\\w-\\.]+@[\\w\\.]+)", "i"),R=function(){var a,b=navigator.userAgent.toLowerCase();a=String.fromCharCode(8203);if(b.indexOf("msie 6")!==-1)a="";if(b.indexOf("opera")!==-1&&b.indexOf("version/10.00")!==-1)a="";return a}(),S=function(a,b){b=b||l;if(document.createElementNS)return b.document.createElementNS("http://www.w3.org/1999/xhtml",a);else if(document.createElement)return b.document.createElement(a)},T=function(){},u=function(a){g.alert("Hyphenator.js says:\n\nAn Error ocurred:\n"+a.message)},U=function(){var a,b=[], c,d;if(document.getElementsByClassName)b=l.document.getElementsByClassName(H);else{a=l.document.getElementsByTagName("*");d=a.length;for(c=0;c<d;c++)a[c].className.indexOf(H)!==-1&&a[c].className.indexOf(E)===-1&&b.push(a[c])}return b},J="hidden",s=String.fromCharCode(173),V=R,W=true,X=function(){var a={},b="HyphenatorExpando_"+Math.random(),c=0;return{getDataForElem:function(d){return a[d[b].id]},setDataForElem:function(d,e){var f;if(d[b]&&d[b].id!=="")f=d[b].id;else{f=c++;d[b]={id:f}}a[f]=e},appendDataForElem:function(d, e){for(var f in e)if(e.hasOwnProperty(f))a[d[b].id][f]=e[f]},delDataOfElem:function(d){delete a[d[b]]}}}(),qa=function(a,b){function c(j){l=j||g;if(!k[l.location.href]&&(!B||l!=g.parent)){B=true;b();k[l.location.href]=true}}function d(){try{document.documentElement.doScroll("left")}catch(j){setTimeout(d,1);return}c(g)}function e(){var j,q,o=g.frames.length;if(v&&o>0){for(j=0;j<o;j++){q=undefined;try{q=g.frames[j].document.toString()}catch(G){q=undefined}q&&c(g.frames[j])}l=g;b();k[g.location.href]= true}else c(g)}var f=function(){},h,k={};if(B&&!k[a.location.href]){b();k[a.location.href]=true}else{if(document.addEventListener)f=function(){document.removeEventListener("DOMContentLoaded",f,false);v&&g.frames.length>0||c(g)};else if(document.attachEvent)f=function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",f);v&&g.frames.length>0||c(g)}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",f,false);g.addEventListener("load",e,false)}else if(document.attachEvent){document.attachEvent("onreadystatechange", f);g.attachEvent("onload",e);h=false;try{h=g.frameElement===null}catch(i){}document.documentElement.doScroll&&h&&d()}}},Y=function(a,b){if(a.getAttribute("lang"))return a.getAttribute("lang").toLowerCase();try{if(a.getAttribute("xml:lang"))return a.getAttribute("xml:lang").toLowerCase()}catch(c){}if(a.tagName!=="HTML")return Y(a.parentNode,true);if(b)return m;return null},ga=function(a){a=a||l;var b=a.document.getElementsByTagName("html")[0];a=a.document.getElementsByTagName("meta");m=Y(b,false); if(!m)for(b=0;b<a.length;b++){if(a[b].getAttribute("http-equiv")&&a[b].getAttribute("http-equiv").toLowerCase()==="content-language")m=a[b].getAttribute("content").toLowerCase();if(a[b].getAttribute("name")&&a[b].getAttribute("name").toLowerCase()==="dc.language")m=a[b].getAttribute("content").toLowerCase();if(a[b].getAttribute("name")&&a[b].getAttribute("name").toLowerCase()==="language")m=a[b].getAttribute("content").toLowerCase()}!m&&v&&l!=g.parent&&ga(g.parent);if(!m&&I!=="")m=I;if(!m){a=navigator.language? navigator.language:navigator.userLanguage;a=a.substring(0,2);b=M.hasOwnProperty(a)?M[a]:M.en;b+=" (ISO 639-1)\n\n"+na;m=g.prompt(unescape(b),a).toLowerCase()}if(!t.hasOwnProperty(m))if(t.hasOwnProperty(m.split("-")[0]))m=m.split("-")[0];else{b=Error('The language "'+m+'" is not yet supported.');throw b;}},ra=function(){var a,b,c=0,d=function(e,f,h){var k=0,i={};if(f&&J==="hidden"){i.hasOwnStyle=e.getAttribute("style")?true:false;i.isHidden=true;e.style.visibility="hidden"}i.language=e.lang&&typeof e.lang=== "string"?e.lang.toLowerCase():h?h.toLowerCase():Y(e,true);h=i.language;if(t[h])r[h]=true;else if(t.hasOwnProperty(h.split("-")[0])){h=h.split("-")[0];i.language=h}else y||u(Error("Language "+h+" is not yet supported."));X.setDataForElem(e,i);for(z.push(e);f=e.childNodes[k++];)f.nodeType===1&&!ea[f.nodeName.toLowerCase()]&&f.className.indexOf(E)===-1&&!(f in a)&&d(f,false,h)};if(y){a=l.document.getElementsByTagName("body")[0];d(a,false,m)}else for(a=U();b=a[c++];)d(b,true,"");if(Hyphenator.languages.hasOwnProperty(m))Hyphenator.languages[m].prepared|| (r[m]=true);else r[m]=true;z.length>0&&X.appendDataForElem(z[z.length-1],{isLast:true})},Z=function(a){a=a.split(", ");var b={},c,d,e;c=0;for(d=a.length;c<d;c++){e=a[c].replace(/-/g,"");b.hasOwnProperty(e)||(b[e]=a[c])}return b},sa=function(a){var b,c;if(t[a]&&!Hyphenator.languages[a]){b=da+"patterns/"+t[a];if(oa&&!y){c=null;if(typeof XMLHttpRequest!=="undefined")c=new XMLHttpRequest;if(!c)try{c=new ActiveXObject("Msxml2.XMLHTTP")}catch(d){c=null}if(c){c.open("HEAD",b,false);c.setRequestHeader("Cache-Control", "no-cache");c.send(null);if(c.status===404){u(Error("Could not load\n"+b));delete r[a];return}}}if(S){a=g.document.getElementsByTagName("head").item(0);c=S("script",g);c.src=b;c.type="text/javascript";a.appendChild(c)}}},$=function(a){var b=Hyphenator.languages[a],c;if(!b.prepared){if(C){b.cache={};b.cache=b.cache}if(O)b.redPatSet={};if(b.hasOwnProperty("exceptions")){Hyphenator.addExceptions(a,b.exceptions);delete b.exceptions}if(n.hasOwnProperty("global"))if(n.hasOwnProperty(a))n[a]+=", "+n.global; else n[a]=n.global;if(n.hasOwnProperty(a)){b.exceptions=Z(n[a]);delete n[a]}else b.exceptions={};var d,e,f,h,k={};f=Hyphenator.languages[a].patterns;for(c in f)if(f.hasOwnProperty(c)){c=parseInt(c,10);d=0;for(e=c;d=f[c].substring(d,e);){h=d.replace(/\d/g,"");k[h]=d;d=e;e+=c}}Hyphenator.languages[a].patterns=k;Hyphenator.languages[a].patternsConverted=true;c="[\\w"+b.specialChars+"@"+String.fromCharCode(173)+"-]{"+x+",}";b.genRegExp=RegExp("((\\w*://)?((\\w*:)?(\\w*)@)?((([\\d]{1,3}\\.){3}([\\d]{1,3}))|((www\\.|[a-zA-Z]\\.)?[a-zA-Z0-9\\-\\.]+\\.([a-z]{2,4})))(:\\d*)?(/[\\w#!:\\.?\\+=&%@!\\-]*)*)|([\\w-\\.]+@[\\w\\.]+)|("+ c+")","gi");b.prepared=true}if(p)try{p.setItem("Hyphenator_"+a,g.JSON.stringify(b))}catch(i){}},ta=function(a){var b,c,d,e;if(P){for(b in r)if(r.hasOwnProperty(b))if(p&&p.getItem("Hyphenator_"+b)){Hyphenator.languages[b]=g.JSON.parse(p.getItem("Hyphenator_"+b));if(n.hasOwnProperty("global")){d=Z(n.global);for(e in d)if(d.hasOwnProperty(e))Hyphenator.languages[b].exceptions[e]=d[e]}if(n.hasOwnProperty(b)){d=Z(n[b]);for(e in d)if(d.hasOwnProperty(e))Hyphenator.languages[b].exceptions[e]=d[e];delete n[b]}d= "[\\w"+Hyphenator.languages[b].specialChars+"@"+String.fromCharCode(173)+"-]{"+x+",}";Hyphenator.languages[b].genRegExp=RegExp("((\\w*://)?((\\w*:)?(\\w*)@)?((([\\d]{1,3}\\.){3}([\\d]{1,3}))|((www\\.|[a-zA-Z]\\.)?[a-zA-Z0-9\\-\\.]+\\.([a-z]{2,4})))(:\\d*)?(/[\\w#!:\\.?\\+=&%@!\\-]*)*)|([\\w-\\.]+@[\\w\\.]+)|("+d+")","gi");delete r[b]}else sa(b);if(pa(r)===0)a();else c=g.setInterval(function(){var f=true,h;for(h in r)if(r.hasOwnProperty(h)){f=false;if(Hyphenator.languages[h]){delete r[h];$(h)}}if(f){g.clearInterval(c); a()}},100)}else{for(b in Hyphenator.languages)Hyphenator.languages.hasOwnProperty(b)&&$(b);a()}},K=function(){var a,b,c,d,e;d=Hyphenator.doHyphenation?"Hy-phen-a-tion":"Hyphenation";if(a=l.document.getElementById("HyphenatorToggleBox"))a.firstChild.data=d;else{b=l.document.getElementsByTagName("body")[0];a=S("div",l);c=l.document.createAttribute("id");c.nodeValue="HyphenatorToggleBox";e=l.document.createAttribute("class");e.nodeValue=E;d=l.document.createTextNode(d);a.appendChild(d);a.setAttributeNode(c); a.setAttributeNode(e);a.onclick=Hyphenator.toggleHyphenation;a.style.position="absolute";a.style.top="0px";a.style.right="0px";a.style.margin="0";a.style.backgroundColor="#AAAAAA";a.style.color="#FFFFFF";a.style.font="6pt Arial";a.style.letterSpacing="0.2em";a.style.padding="3px";a.style.cursor="pointer";a.style.WebkitBorderBottomLeftRadius="4px";a.style.MozBorderRadiusBottomleft="4px";b.appendChild(a)}},ca=function(a,b){var c=Hyphenator.languages[a],d,e,f,h,k,i,j,q,o=false,G,A,aa,ha,ia,ba;if(b=== "")return"";if(b.indexOf(s)!==-1)return b;if(C&&c.cache.hasOwnProperty(b))return c.cache[b];if(c.exceptions.hasOwnProperty(b))return c.exceptions[b].replace(/-/g,s);if(b.indexOf("-")!==-1){c=b.split("-");d=0;for(e=c.length;d<e;d++)c[d]=ca(a,c[d]);return c.join("-")}f="_"+b+"_";h=f.length;e=f.split("");f=b.indexOf("'")!==-1?f.toLowerCase().replace("'","\u2019"):f.toLowerCase();k=[];ia={"0":0,"1":1,"2":2,"3":3,"4":4,"5":5,"6":6,"7":7,"8":8,"9":9};ha=h-c.shortestPattern;for(i=0;i<=ha;i++){j=Math.min(h- i,c.longestPattern);for(q=c.shortestPattern;q<=j;q++)if(c.patterns.hasOwnProperty(G=f.substring(i,i+q))){o=c.patterns[G];if(O&&typeof o==="string")c.redPatSet[G]=o;if(typeof o==="string"){aa=0;ba=[];for(d=0;d<o.length;d++)if(A=ia[o.charAt(d)]){ba.push(d-aa,A);aa++}o=c.patterns[G]=ba}for(d=0;d<o.length;d++){A=i-1+o[d];if(!k[A]||k[A]<o[d+1])k[A]=o[d+1];d++}}}f=0;for(d=c.leftmin;d<=b.length-c.rightmin;d++)if(k[d]&1){e.splice(d+f+1,0,s);f++}d=e.slice(1,-1).join("");if(C)c.cache[b]=d;return d},ja=function(a){return a.replace(/([:\/\.\?#&_,;!@]+)/gi, "$&"+V)},L=function(a){var b,c=0,d;switch(s){case "|":b="\\|";break;case "+":b="\\+";break;case "*":b="\\*";break;default:b=s}for(;d=a.childNodes[c++];)if(d.nodeType===3){d.data=d.data.replace(RegExp(b,"g"),"");d.data=d.data.replace(RegExp(R,"g"),"")}else d.nodeType===1&&L(d)},ua=function(a){var b=a.ownerDocument.getElementsByTagName("body")[0],c,d,e,f,h,k=function(i){i=i||g.event;i=i.target||i.srcElement;var j=i.ownerDocument,q=j.getElementsByTagName("body")[0],o="defaultView"in j?j.defaultView: j.parentWindow;if(!(i.tagName&&ea[i.tagName.toLowerCase()])){c=j.createElement("div");c.style.overflow="hidden";c.style.position="absolute";c.style.top="-5000px";c.style.height="1px";q.appendChild(c);if(g.getSelection){d=o.getSelection();e=d.getRangeAt(0);c.appendChild(e.cloneContents());L(c);d.selectAllChildren(c);h=function(){c.parentNode.removeChild(c);d.addRange(e)}}else{d=o.document.selection;e=d.createRange();c.innerHTML=e.htmlText;L(c);f=q.createTextRange();f.moveToElementText(c);f.select(); h=function(){c.parentNode.removeChild(c);e.text!==""&&e.select()}}g.setTimeout(h,0)}};if(b){a=a||b;g.addEventListener?a.addEventListener("copy",k,false):a.attachEvent("oncopy",k)}},va=function(a){var b=X.getDataForElem(a),c=b.language,d,e,f,h=function(k){var i,j;switch(s){case "|":i="\\|";break;case "+":i="\\+";break;case "*":i="\\*";break;default:i=s}if(F>=2){j=k.split(" ");j[1]=j[1].replace(RegExp(i,"g"),"");j[1]=j[1].replace(RegExp(R,"g"),"");j=j.join(" ")}if(F===3)j=j.replace(/[ ]+/g,String.fromCharCode(160)); return j};if(Hyphenator.languages.hasOwnProperty(c)){d=function(k){return Hyphenator.doHyphenation?fa.test(k)?ja(k):ca(c,k):k};W&&a.tagName.toLowerCase()!=="body"&&ua(a);for(f=0;e=a.childNodes[f++];)if(e.nodeType===3&&e.data.length>=x){e.data=e.data.replace(Hyphenator.languages[c].genRegExp,d);if(F!==1)e.data=e.data.replace(/[\S]+ [\S]+$/,h)}}if(b.isHidden&&J==="hidden"){a.style.visibility="visible";if(b.hasOwnStyle)if(a.style.removeProperty)a.style.removeProperty("visibility");else a.style.removeAttribute&& a.style.removeAttribute("visibility");else{a.setAttribute("style","");a.removeAttribute("style")}}if(b.isLast){w--;if(w>-1E3&&w<=0){w=-2E3;T()}}},ka=function(){function a(d,e){return function(){return d(e)}}for(var b=0,c;c=z[b++];)c.ownerDocument.location.href===l.location.href&&g.setTimeout(a(va,c),0)},la=function(){try{if(D!=="none"&&typeof g.localStorage!=="undefined"&&typeof g.sessionStorage!=="undefined"&&typeof g.JSON.stringify!=="undefined"&&typeof g.JSON.parse!=="undefined")switch(D){case "session":p= g.sessionStorage;break;case "local":p=g.localStorage;break;default:p=undefined}}catch(a){}},ma=function(){p&&p.setItem("Hyphenator_config",g.JSON.stringify({STORED:true,classname:H,donthyphenateclassname:E,minwordlength:x,hyphenchar:s,urlhyphenchar:V,togglebox:K,displaytogglebox:Q,remoteloading:P,enablecache:C,onhyphenationdonecallback:T,onerrorhandler:u,intermediatestate:J,selectorfunction:U,safecopy:W,doframes:v,storagetype:D,orphancontrol:F,dohyphenation:Hyphenator.doHyphenation,persistentconfig:N, defaultlanguage:I}))},wa=function(){var a;if(p.getItem("Hyphenator_config")){a=g.JSON.parse(p.getItem("Hyphenator_config"));Hyphenator.config(a)}};return{version:"X.Y.Z",doHyphenation:true,languages:{},config:function(a){var b=function(d,e){if(typeof a[d]===e)return true;else{u(Error("Config onError: "+d+" must be of type "+e));return false}},c;if(a.hasOwnProperty("storagetype")){if(b("storagetype","string"))D=a.storagetype;p||la()}!a.hasOwnProperty("STORED")&&p&&a.hasOwnProperty("persistentconfig")&& a.persistentconfig===true&&wa();for(c in a)if(a.hasOwnProperty(c))switch(c){case "STORED":break;case "classname":if(b("classname","string"))H=a[c];break;case "donthyphenateclassname":if(b("donthyphenateclassname","string"))E=a[c];break;case "minwordlength":if(b("minwordlength","number"))x=a[c];break;case "hyphenchar":if(b("hyphenchar","string")){if(a.hyphenchar==="&shy;")a.hyphenchar=String.fromCharCode(173);s=a[c]}break;case "urlhyphenchar":if(a.hasOwnProperty("urlhyphenchar"))if(b("urlhyphenchar", "string"))V=a[c];break;case "togglebox":if(b("togglebox","function"))K=a[c];break;case "displaytogglebox":if(b("displaytogglebox","boolean"))Q=a[c];break;case "remoteloading":if(b("remoteloading","boolean"))P=a[c];break;case "enablecache":if(b("enablecache","boolean"))C=a[c];break;case "enablereducedpatternset":if(b("enablereducedpatternset","boolean"))O=a[c];break;case "onhyphenationdonecallback":if(b("onhyphenationdonecallback","function"))T=a[c];break;case "onerrorhandler":if(b("onerrorhandler", "function"))u=a[c];break;case "intermediatestate":if(b("intermediatestate","string"))J=a[c];break;case "selectorfunction":if(b("selectorfunction","function"))U=a[c];break;case "safecopy":if(b("safecopy","boolean"))W=a[c];break;case "doframes":if(b("doframes","boolean"))v=a[c];break;case "storagetype":if(b("storagetype","string"))D=a[c];break;case "orphancontrol":if(b("orphancontrol","number"))F=a[c];break;case "dohyphenation":if(b("dohyphenation","boolean"))Hyphenator.doHyphenation=a[c];break;case "persistentconfig":if(b("persistentconfig", "boolean"))N=a[c];break;case "defaultlanguage":if(b("defaultlanguage","string"))I=a[c];break;default:u(Error("Hyphenator.config: property "+c+" not known."))}p&&N&&ma()},run:function(){w=0;var a=function(){try{if(!(l.document.getElementsByTagName("frameset").length>0)){w++;ga(undefined);ra();ta(ka);Q&&K()}}catch(f){u(f)}},b,c,d=g.frames.length;p||la();!B&&!y&&qa(g,a);if(y||B){if(v&&d>0)for(b=0;b<d;b++){c=undefined;try{c=g.frames[b].document.toString()}catch(e){c=undefined}if(c){l=g.frames[b];a()}}l= g;a()}},addExceptions:function(a,b){if(a==="")a="global";if(n.hasOwnProperty(a))n[a]+=", "+b;else n[a]=b},hyphenate:function(a,b){var c,d,e;if(Hyphenator.languages.hasOwnProperty(b)){Hyphenator.languages[b].prepared||$(b);c=function(f){return fa.test(f)?ja(f):ca(b,f)};if(typeof a==="string"||a.constructor===String)return a.replace(Hyphenator.languages[b].genRegExp,c);else if(typeof a==="object")for(e=0;d=a.childNodes[e++];)if(d.nodeType===3&&d.data.length>=x)d.data=d.data.replace(Hyphenator.languages[b].genRegExp, c);else if(d.nodeType===1)d.lang!==""?Hyphenator.hyphenate(d,d.lang):Hyphenator.hyphenate(d,b)}else u(Error('Language "'+b+'" is not loaded.'))},getRedPatternSet:function(a){return Hyphenator.languages[a].redPatSet},isBookmarklet:function(){return y},getConfigFromURI:function(){var a=null,b={},c=document.getElementsByTagName("script"),d,e,f;d=0;for(e=c.length;d<e;d++){if(c[d].getAttribute("src"))a=c[d].getAttribute("src");if(a){f=a.indexOf("Hyphenator.js?");if(f!==-1){c=a.substring(f+14).split("&"); for(a=0;a<c.length;a++){d=c[a].split("=");if(d[0]!=="bm")b[d[0]]=d[1]==="true"?true:d[1]==="false"?false:isFinite(d[1])?parseInt(d[1],10):d[0]==="onhyphenationdonecallback"?new Function("",d[1]):d[1]}break}}}return b},toggleHyphenation:function(){if(Hyphenator.doHyphenation){for(var a=0,b;b=z[a++];)L(b);Hyphenator.doHyphenation=false}else{ka();Hyphenator.doHyphenation=true}ma();K()}}}(window);Hyphenator.languages=Hyphenator.languages;Hyphenator.config=Hyphenator.config;Hyphenator.run=Hyphenator.run; Hyphenator.addExceptions=Hyphenator.addExceptions;Hyphenator.hyphenate=Hyphenator.hyphenate;Hyphenator.getRedPatternSet=Hyphenator.getRedPatternSet;Hyphenator.isBookmarklet=Hyphenator.isBookmarklet;Hyphenator.getConfigFromURI=Hyphenator.getConfigFromURI;Hyphenator.toggleHyphenation=Hyphenator.toggleHyphenation;window.Hyphenator=Hyphenator; if(Hyphenator.isBookmarklet()){Hyphenator.config({displaytogglebox:true,intermediatestate:"visible",doframes:true});Hyphenator.config(Hyphenator.getConfigFromURI());Hyphenator.run()};

