Joomla=window.Joomla||{};!function(document,Joomla){"use strict";Joomla.setcollapse=function(url,name,height){if(!document.getElementById("collapse-"+name)){document.getElementById("container-collapse").innerHTML='
'}};if(!Array.prototype.indexOf){Array.prototype.indexOf=function(elt){var len=this.length>>>0;var from=Number(arguments[1])||0;from=from<0?Math.ceil(from):Math.floor(from);if(from<0){from+=len}for(;from0){showfield=true;condition["valid"]=1}}}if(target.is("option")){target.toggle(showfield);target.attr("disabled",showfield?false:true);var parent=target.parent();if($("#"+parent.attr("id")+"_chzn").length){parent.trigger("liszt:updated");parent.trigger("chosen:updated")}}animate=animate&&!target.hasClass("no-animation")&&!target.hasClass("no-animate")&&!target.find(".no-animation, .no-animate").length;if(animate){showfield?target.slideDown():target.slideUp();return}target.toggle(showfield)}function setUpShowon(container){container=container||document;var $showonFields=$(container).find("[data-showon]");for(var is=0,ls=$showonFields.length;is