if(typeof jQuery=="undefined")jQuery=function(){};if(typeof jQuery.classBehaviours=="undefined")jQuery.classBehaviours=function(){};if(typeof jQuery.classBehaviours.handlers=="undefined")jQuery.classBehaviours.handlers=function(){};document.writeln("<style>.toggleNextNode{cursor:pointer;}</style>");jQuery.classBehaviours.handlers.toggleNextNode={name:"toggleNextNode",step:10,acceleration:10,extra:0,delay:10,index:0,start:function(a){var b=this;a.onclick=b.toggle;a.id=a.id?a.id:b.name+b.index++;autoDelay=jQuery.classBehaviours.utilities.getClassParameter(a,"auto",null);if(autoDelay){b.index++;a.id=a.id?a.id:b.name+b.index;setTimeout('jQuery.classBehaviours.handlers.toggleNextNode.toggle(document.getElementById("'+a.id+'"))',autoDelay)}},findContainer:function(a,b){var c=jQuery.classBehaviours.handlers.toggleNextNode;if(b)for(var d=0;d<parseInt(b);d++)a=a.parentNode;targetObject=jQuery.classBehaviours.utilities.nextNode(a);targetObject.id=targetObject.id?targetObject.id:c.name+"Target"+c.index++;return targetObject},positionContainer:function(a,b,c){var d="undefined";targetContainerWidth=a.firstChild.offsetWidth;screenWidth=window.innerWidth?window.innerWidth:document.documentElement.clientWidth;scrolledWidth=typeof document.documentElement.scrollLeft!=d?document.documentElement.scrollLeft:window.pageXOffset;if(b+targetContainerWidth>screenWidth+window.pageXOffset)b-=targetContainerWidth;targetContainerHeight=a.firstChild.offsetHeight;screenHeight=window.innerHeight?window.innerHeight:document.documentElement.clientHeight;scrolledHeight=typeof document.documentElement.scrollTop!=d?document.documentElement.scrollTop:window.pageYOffset;if(c+targetContainerHeight+10>screenHeight+scrolledHeight)c-=targetContainerHeight;a.style.left=b+"px";a.style.top=c+"px"},toggle:function(c){var e="hideThisNode",a="yes",b="undefined",f=typeof this.nodeName==b?c:this,d=jQuery.classBehaviours.handlers.toggleNextNode;targetLabel=f;targetContainerId=jQuery.classBehaviours.utilities.getClassParameter(targetLabel,"id",null);targetRecursion=jQuery.classBehaviours.utilities.getClassParameter(targetLabel,"parent",null);targetClosable=jQuery.classBehaviours.utilities.getClassParameter(targetLabel,"closable",a)==a;targetAtMouse=jQuery.classBehaviours.utilities.getClassParameter(targetLabel,"atmouse",a)==a;targetContainer=targetContainerId?document.getElementById(targetContainerId):d.findContainer(targetLabel,targetRecursion);if(targetContainer.className.indexOf(e)<0&&targetContainer.className.indexOf("showThisNode")<0)targetContainer.className+=" showThisNode";targetGrows=targetContainer.className.indexOf(e)>-1;(!targetGrows&&targetClosable||targetGrows)&&d.update(targetLabel.id,targetGrows);if(targetAtMouse&&targetGrows){screenXpos=typeof event!=b&&document.all?event.x:c.layerX;screenYpos=typeof event!=b&&document.all?event.y:c.layerY;d.positionContainer(targetContainer,screenXpos,screenYpos)}return false},update:function(h,g){var d="link",c="active",f='jQuery.classBehaviours.handlers.hideThisNode.start(document.getElementById("',b=null,a=jQuery.classBehaviours.handlers.toggleNextNode;targetLabel=document.getElementById(h);targetContainerId=jQuery.classBehaviours.utilities.getClassParameter(targetLabel,"id",b);targetFamily=jQuery.classBehaviours.utilities.getClassParameter(targetLabel,"family",b);targetRecursion=jQuery.classBehaviours.utilities.getClassParameter(targetLabel,"parent",b);targetContainer=targetContainerId?document.getElementById(targetContainerId):a.findContainer(targetLabel,targetRecursion);allNodes=jQuery.classBehaviours.utilities.getElementsByClassName(a.name);for(var e=0;e<allNodes.length;e++){peerLabel=allNodes[e];peerContainerId=jQuery.classBehaviours.utilities.getClassParameter(peerLabel,"id",b);peerFamily=jQuery.classBehaviours.utilities.getClassParameter(peerLabel,"family",b);peerRecursion=jQuery.classBehaviours.utilities.getClassParameter(peerLabel,"parent",b);peerContainer=peerContainerId?document.getElementById(peerContainerId):a.findContainer(peerLabel,peerRecursion);if(peerLabel.id==targetLabel.id){peerContainer.style.overflow="hidden";peerContainer.style.visibility="visible";if(!g)jQuery.classBehaviours.fader.size(peerContainer.id,b,1,a.step,a.delay,a.acceleration,f+peerContainer.id+'"))');else jQuery.classBehaviours.fader.size(peerContainer.id,1,b,a.step,a.delay,a.acceleration,'jQuery.classBehaviours.handlers.showThisNode.start(document.getElementById("'+peerContainer.id+'"))');peerLabel.className=!g?peerLabel.className.replace(c,d):peerLabel.className.replace(d,c)}if(peerFamily==targetFamily&&peerFamily!=b&&peerContainer.className.indexOf("hideThisNode")<0&&peerContainer!=targetContainer){peerContainer.style.overflow="hidden";peerContainer.style.visibility="visible";jQuery.classBehaviours.fader.size(peerContainer.id,b,1,a.step,a.delay,a.acceleration,f+peerContainer.id+'"))');peerLabel.className=peerLabel.className.replace(c,d)}}}};document.writeln("<style>.hideThisNode{overflow:hidden; visibility:hidden; height:1px;}</style>");jQuery.classBehaviours.handlers.hideThisNode={name:"hideThisNode",start:function(a){a.style.overflow="hidden";a.style.visibility="hidden";a.style.height="1px";a.className=a.className.replace("showThisNode","hideThisNode")}};document.writeln("<style>.ShowThisNode{overflow:visible; visibility:visible; height:auto;}</style>");jQuery.classBehaviours.handlers.showThisNode={name:"showThisNode",start:function(a){a.style.overflow="visible";a.style.visibility="visible";a.style.height="auto";a.className=a.className.replace("hideThisNode","showThisNode")}};if(typeof jQuery.fn!="undefined"){jQuery.fn.toggleNextNode=function(){return this.each(function(){jQuery.classBehaviours.handlers.toggleNextNode.start(this)})};jQuery.fn.hideThisNode=function(){return this.each(function(){jQuery.classBehaviours.handlers.hideThisNode.start(this)})};jQuery.fn.showThisNode=function(){return this.each(function(){jQuery.classBehaviours.handlers.showThisNode.start(this)})};$(document).ready(function(){$(".toggleNextNode").toggleNextNode();$(".hideThisNode").hideThisNode();$(".showThisNode").showThisNode()})}