var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); /* * Copyright(C) 2010 - IceTheme.com. All rights reserved. */ var IceMenu25={}; IceMenu25.accordion=function(){ function slider(n){this.n=n; this.a=[];} slider.prototype.init=function(t,e,sec,m,o,k){ var a=$(t), i=s=0, n=a.childNodes, l=n.length; this.s=k||0; this.m=m||0; for(i;i0&&(f==-1||this.m||i==d)){ c.d=-1; $(h).removeClass('oppened'); } su(c); } } }; function su(c){ if (!ICEMENU_ACC_ALLOW_ANIM25) { if (c.d == 1) {c.style.height='auto';} else {c.style.height='0px';} } else { c.t=setInterval(function(){sl(c)},ICEMENU_ACC_ANIM_SPEED25); } }; function sl(c){ var h=c.offsetHeight, d=c.d==1?c.m-h:h; c.style.height=h+(Math.ceil(d/5)*c.d)+'px'; if (ICEMENU_ACC_ALLOW_OPACITY25) {c.style.opacity=h/c.m; c.style.filter='alpha(opacity='+h*100/c.m+')';} if((c.d==1&&h>=c.m)||(c.d!=1&&h==1)){if(c.d==1){c.style.height='auto'} else {c.style.visibility='hidden';} clearInterval(c.t);} }; return{slider:slider}; }(); IceMenu25.dropdown=function(){ var z=50,s=6,a; function dd(n){this.n=n; this.h=[]; this.c=[];}; dd.prototype.init=function(p,c) { a=c; var w=document.getElementById(p), s=w.getElementsByTagName('ul'), l=s.length, i=0; for(i;i=c.mh&&f==1))&&((w<=0&&f!=1)||(w>=c.mw&&f==1))); } else if (ICEMENU_DROP_ALLOW_HEIGHT25) { tostop=((h<=0&&f!=1)||(h>=c.mh&&f==1)); } else if (ICEMENU_DROP_ALLOW_WIDTH25) { tostop=((w<=0&&f!=1)||(w>=c.mw&&f==1)); } if (tostop){ if(f==1){ if (ICEMENU_DROP_ALLOW_OPACITY25) { c.style.filter=''; c.style.opacity=1; } c.style.overflow='visible'; } else { c.style.display='none'; } clearInterval(c.t); return; } var d=(f==1)?Math.ceil((c.mh-h)/s):Math.ceil(h/s); var dw=(f==1)?Math.ceil((c.mw-w)/s):Math.ceil(w/s); var o = 1; if (ICEMENU_DROP_ALLOW_HEIGHT25) { o=h/c.mh; } else if (ICEMENU_DROP_ALLOW_WIDTH25) { o=w/c.mw; } if (ICEMENU_DROP_ALLOW_OPACITY25) { c.style.opacity=o; c.style.filter='alpha(opacity='+(o*100)+')'; } if (ICEMENU_DROP_ALLOW_HEIGHT25){ if ((h<=0&&f!=1)||(h>=c.mh&&f==1)) { c.style.height=c.mh+'px'; } else { c.style.height=h+(d*f)+'px'; } } if (ICEMENU_DROP_ALLOW_WIDTH25){ if ((w<=0&&f!=1)||(w>=c.mw&&f==1)) { c.style.height=c.mh+'px'; } else { c.style.width=w+(dw*f)+'px'; } } if(!(ICEMENU_DROP_ALLOW_HEIGHT25 || ICEMENU_DROP_ALLOW_WIDTH25)) { c.style.display='none'; } }; return{dd:dd}; }(); }