if(typeof jQuery=="undefined")jQuery=function(){};if(typeof jQuery.classBehaviours=="undefined")jQuery.classBehaviours=function(){};if(typeof jQuery.classBehaviours.handlers=="undefined")jQuery.classBehaviours.handlers=function(){};jQuery.classBehaviours.handlers.pseudoHover={name:"pseudoHover",index:0,timeout:null,timeout2:null,start:function(b){allItems=b.getElementsByTagName("LI");for(var a=0;a<allItems.length;a++)if(allItems[a].nodeName=="LI"){allItems[a].className+=allItems[a].className.indexOf("link")<0?" link":"";allItems[a].onmouseover=this.hoverOver;allItems[a].onmouseout=this.hoverOff}},resetSub:function(a,b){var c=jQuery.classBehaviours.handlers.pseudoHover;subMenuTimeout=jQuery.classBehaviours.utilities.getClassParameter(a,"time",null);clearTimeout(subMenuTimeout);jQuery.classBehaviours.utilities.setClassParameter(b,"step","0")},animateSub:function(c,a){var b=jQuery.classBehaviours.handlers.pseudoHover;a.id=a.id?a.id:b.name+b.index++;jQuery.classBehaviours.utilities.setClassParameter(c,"sub",a.id);jQuery.classBehaviours.utilities.setClassParameter(a,"step","4");b.animateStep(a)},animateStep:function(a){var b=a.parentNode,c=jQuery.classBehaviours.handlers.pseudoHover;currentStep=parseInt(jQuery.classBehaviours.utilities.getClassParameter(a,"step","0"));if(currentStep>0){jQuery.classBehaviours.utilities.setClassParameter(a,"step",currentStep-1);subMenuTimeout=setTimeout('jQuery.classBehaviours.handlers.pseudoHover.animateStep(document.getElementById("'+a.id+'"))',100);jQuery.classBehaviours.utilities.setClassParameter(b,"time",subMenuTimeout)}},hoverOver:function(c){var a=typeof this.nodeName=="undefined"?c:this,b=jQuery.classBehaviours.handlers.pseudoHover;clearTimeout(b.timeout);a.className=a.className.replace("link","hover");if(navigator.userAgent.indexOf("MSIE ")>-1)a.style.zIndex=2e3;subMenus=a.getElementsByTagName("UL");subMenus.length>0&&b.resetSub(a,subMenus[0])},hoverOff:function(c){var a=typeof this.nodeName=="undefined"?c:this,b=jQuery.classBehaviours.handlers.pseudoHover;clearTimeout(b.timeout);a.className=a.className.replace("hover","link");if(navigator.userAgent.indexOf("MSIE ")>-1)a.style.zIndex=1e3;subMenus=a.getElementsByTagName("UL");subMenus.length>0&&b.animateSub(a,subMenus[0])}};if(typeof jQuery.fn!="undefined"){jQuery.fn.pseudoHover=function(){return this.each(function(){jQuery.classBehaviours.handlers.pseudoHover.start(this)})};$(document).ready(function(){$(".pseudoHover").pseudoHover()})}