Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/clients/2ab252807f77c37afe8dc10913cda771/web/archives/core/model/modx/modresource.class.php on line 271

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/clients/2ab252807f77c37afe8dc10913cda771/web/archives/core/xpdo/cache/xpdocachemanager.class.php on line 166

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/clients/2ab252807f77c37afe8dc10913cda771/web/archives/core/xpdo/cache/xpdocachemanager.class.php on line 180

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/clients/2ab252807f77c37afe8dc10913cda771/web/archives/core/xpdo/cache/xpdocachemanager.class.php on line 334

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/clients/2ab252807f77c37afe8dc10913cda771/web/archives/core/xpdo/cache/xpdocachemanager.class.php on line 407

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/clients/2ab252807f77c37afe8dc10913cda771/web/archives/core/xpdo/cache/xpdocachemanager.class.php on line 408

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/clients/2ab252807f77c37afe8dc10913cda771/web/archives/core/model/modx/modcachemanager.class.php on line 580
(function(i){var l,t,r,q,a,p,h,o,j,w,b={boxId:"superbox",boxClasses:"",overlayOpacity:0.8,boxWidth:"600",boxHeight:"400",loadTxt:"Loading...",closeTxt:"Close",prevTxt:"Previous",nextTxt:"Next",beforeShow:function(){}},x={},m=false,s=i([]);i.superbox=function(){w=i.extend({},b,i.superbox.settings);if(i.browser.msie&&i.browser.version<7){s=s.add("select")}n();z()};function z(){i("a[rel^=superbox],area[rel^=superbox]").each(function(){var D=i(this),F=D.attr("rel"),B=F.match(/^superbox\[([^#\.\]]+)/)[1],E=F.replace("superbox","").match(/([#\.][^#\.\]]+)/g)||[],C=w.boxId,A=w.boxClasses;this._relSettings=F.replace("superbox["+B+E.join("")+"]","");i.each(E,function(G,H){if(H.substr(0,1)=="#"){C=H.substr(1)}else{if(H.substr(0,1)=="."){A+=" "+H.substr(1)}}});if(B.search(/^image|gallery|iframe|content|ajax$/)!=-1){D.superbox(B,{boxId:C,boxClasses:A})}})}i.fn.superbox=function(B,A){A=i.extend({},w,A);i.superbox[B](this,A)};i.extend(i.superbox,{image:function(C,A,B){var E=f(C.get(0)),D=false;if(E&&B=="gallery"){D=E[1]}else{if(E){D=E[0]}}C.click(function(F){F.preventDefault();k();if(B=="gallery"){c(C,E[0])}y(function(){var H=false,G;if(D){H=D.split("x")}G=i('');G.load(function(){g(G,H);e({boxClasses:"image "+A.boxClasses,boxId:A.boxId});u()}).appendTo($innerbox)})})},gallery:function(B,A){var C=f(B.get(0));if(!x[C[0]]){x[C[0]]=[]}x[C[0]].push(B);B.get(0)._superboxGroupKey=(x[C[0]].length-1);i.superbox.image(B,A,"gallery")},iframe:function(B,A){var C=f(B.get(0));B.click(function(D){D.preventDefault();k();y(function(){var F=false,E;if(C){F=C[0].split("x")}A=i.extend({},A,{boxWidth:F[0]||A.boxWidth,boxHeight:F[1]||A.boxHeight});E=i('');E.load(function(){q.width(A.boxWidth+"px");$innerbox.height(A.boxHeight+"px");e({boxClasses:"iframe "+A.boxClasses,boxId:A.boxId});u()}).appendTo($innerbox)})})},content:function(B,A){var C=f(B.get(0));B.click(function(D){D.preventDefault();k();y(function(){var E=false;if(C){E=C[0].split("x")}A=i.extend({},A,{boxWidth:E[0]||A.boxWidth,boxHeight:E[1]||A.boxHeight});q.width(A.boxWidth+"px");$innerbox.height(A.boxHeight+"px");i(B.attr("href")).clone().appendTo($innerbox).show();e({boxClasses:"content "+A.boxClasses,boxId:A.boxId});u()})})},ajax:function(B,A){var C=f(B.get(0));B.click(function(D){D.preventDefault();k();y(function(){var E=false;if(C&&C[3]){E=C[3].split("x")}A=i.extend({},A,{boxWidth:E[0]||A.boxWidth,boxHeight:E[1]||A.boxHeight});q.width(A.boxWidth+"px");$innerbox.height(A.boxHeight+"px");i.get(C[2],function(F){i(F).appendTo($innerbox)});e({boxClasses:"ajax "+A.boxClasses,boxId:A.boxId});u()})})}});function f(A){return A._relSettings.match(/([^\[\]]+)/g)}function g(A,B){q.width(A.width()+($innerbox.css("paddingLeft").slice(0,-2)-0)+($innerbox.css("paddingRight").slice(0,-2)-0));$innerbox.height(A.height());if(B&&B[0]!=""){q.width(B[0]+"px")}if(B&&B[1]!=""&&B[1]>A.height()){$innerbox.height(B[1]+"px")}}function c(C,D){h.show();m=true;var A=C.get(0)._superboxGroupKey+1,B=A-2;if(x[D][A]){o.removeClass("disabled").unbind("click").bind("click",function(){x[D][A].click()})}else{o.addClass("disabled").unbind("click")}if(x[D][B]){j.removeClass("disabled").unbind("click").bind("click",function(){x[D][B].click()})}else{j.addClass("disabled").unbind("click")}}function e(A){q.attr("id",A.boxId).attr("class",A.boxClasses)}function d(){i(document).unbind("keydown");p.hide();h.hide();t.hide().css({position:"fixed",top:0});$innerbox.empty()}function v(A){d();l.fadeOut(300,function(){s.show()});m=false}function y(B){var A=function(){if(i.browser.msie&&i.browser.version<7){t.css({position:"absolute",top:"50%"})}s.hide();p.show();B()};if(m){l.css("opacity",w.overlayOpacity).show();A()}else{l.css("opacity",0).show().fadeTo(300,w.overlayOpacity,A)}}function k(){t.show();$innerbox.empty();q.css({position:"absolute",top:"-99999px"})}function u(A,B){p.hide();i(document).unbind("keydown").bind("keydown",function(C){if(C.keyCode==27){v()}if(C.keyCode==39&&o.is(":visible")){o.click()}if(C.keyCode==37&&j.is(":visible")){j.click()}});q.css({position:"static",top:0,opacity:0});if(i.browser.msie&&i.browser.version<8){q.css({position:"relative",top:"-50%"});if(i.browser.msie&&i.browser.version<7){t.css({position:"absolute",top:"50%"})}}if(i(window).height()').appendTo("body").hide();t=i('
').appendTo("body").hide();r=i('
').appendTo(t);q=i('
').appendTo(r);$innerbox=i('
').appendTo(q);h=i('

').appendTo(q).hide();j=i('").appendTo(h);o=i('").appendTo(h);a=i('

'+w.closeTxt+"

").prependTo(q).find("a");p=i('

'+w.loadTxt+"

").appendTo(r).hide();l.add(t).add(a).click(function(){v()});q.click(function(A){A.stopPropagation()});i.superbox.elementsReady=true}}})(jQuery);(function($){$.fn.listnav=function(options){var opts=$.extend({},$.fn.listnav.defaults,options);var letters=['_','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','-'];var firstClick=false;opts.prefixes=$.map(opts.prefixes,function(n){return n.toLowerCase();});return this.each(function(){var $wrapper,list,$list,$letters,$letterCount,id;id=this.id;$wrapper=$('#'+id+'-nav');$list=$(this);var counts={},allCount=0,isAll=true,numCount=0,prevLetter='';function init(){$wrapper.append(createLettersHtml());$letters=$('.ln-letters',$wrapper).slice(0,1);if(opts.showCounts)$letterCount=$('.ln-letter-count',$wrapper).slice(0,1);addClasses();addNoMatchLI();if(opts.flagDisabled)addDisabledClass();bindHandlers();if(!opts.includeAll)$list.show();if(!opts.includeAll)$('.all',$letters).remove();if(!opts.includeNums)$('._',$letters).remove();if(!opts.includeOther)$('.-',$letters).remove();$(':last',$letters).addClass('ln-last');if($.cookie&&(opts.cookieName!=null)){var cookieLetter=$.cookie(opts.cookieName);if(cookieLetter!=null)opts.initLetter=cookieLetter;} if(opts.initLetter!=''){firstClick=true;$('.'+opts.initLetter.toLowerCase(),$letters).slice(0,1).click();} else{if(opts.includeAll)$('.all',$letters).addClass('ln-selected');else{for(var i=((opts.includeNums)?0:1);i0){firstClick=true;$('.'+letters[i],$letters).slice(0,1).click();break;}}}}} function setLetterCountTop(){$letterCount.css({top:$('.a',$letters).slice(0,1).offset({margin:false,border:true}).top-$letterCount.outerHeight({margin:true})});} function addClasses(){var str,firstChar,firstWord,spl,$this,hasPrefixes=(opts.prefixes.length>0);$($list).children().each(function(){$this=$(this),firstChar='',str=$.trim($this.text()).toLowerCase();if(str!=''){if(hasPrefixes){spl=str.split(' ');if((spl.length>1)&&($.inArray(spl[0],opts.prefixes)>-1)){firstChar=spl[1].charAt(0);addLetterClass(firstChar,$this,true);}} firstChar=str.charAt(0);addLetterClass(firstChar,$this);}});} function addLetterClass(firstChar,$el,isPrefix){if(/\W/.test(firstChar))firstChar='-';if(!isNaN(firstChar))firstChar='_';$el.addClass('ln-'+firstChar);if(counts[firstChar]==undefined)counts[firstChar]=0;counts[firstChar]++;if(!isPrefix)allCount++;} function addDisabledClass(){for(var i=0;i