if(typeof(ligeruimanagers)=="undefined")ligeruimanagers={};(function($) {$.fn.ligergetaccordionmanager=function() {return ligeruimanagers[this[0].id+"_accordion"];};$.fn.ligerremoveaccordionmanager=function() {return this.each(function() {ligeruimanagers[this.id+"_accordion"]=null;});};$.fn.ligeraccordion=function(p) {this.each(function() {p=$.extend({height:null,speed:"normal",changeheightonresize:false,heightdiff:0},p||{});if(this.usedaccordion)return;var g={onresize:function() {if(!p.height||typeof(p.height)!='string'||p.height.indexof('%')==-1)return false;if(g.accordion.parent()[0].tagname.tolowercase()=="body") {var windowheight=$(window).height();windowheight-=parseint(g.layout.parent().css('paddingtop'));windowheight-=parseint(g.layout.parent().css('paddingbottom'));g.height=p.heightdiff+windowheight*parsefloat(g.height)*0.01;} else {g.height=p.heightdiff+(g.accordion.parent().height()*parsefloat(p.height)*0.01);} g.accordion.height(g.height);g.setcontentheight(g.height-g.headerholdheight);},setheight:function(height) {g.accordion.height(height);height-=g.headerholdheight;$("> .l-accordion-content",g.accordion).height(height);}};g.accordion=$(this);if(!g.accordion.hasclass("l-accordion-panel"))g.accordion.addclass("l-accordion-panel");var selectedindex=0;if($("> div[lselected=true]",g.accordion).length>0) selectedindex=$("> div",g.accordion).index($("> div[lselected=true]",g.accordion));$("> div",g.accordion).each(function(i,box) {var header=$('