/* UDMv4.3 */ /***************************************************************\ ULTIMATE DROP DOWN MENU Version 4.3 by Brothercake http://www.udm4.com/ This script may not be used or distributed without license \***************************************************************/ var um=new Object;um.e=['horizontal','left','top','absolute','320px','98px',300,'rigid','yes','yes',0,300,'yes','default',-4,-40,'7.5em',0,0,'separate','transparent','solid none solid solid','#000000','solid','transparent','solid',0,0,'transparent','transparent','transparent','11px','tahoma,sans-serif','bold','none','left','#0000FF','#0000FF','#0000FF','normal','normal','normal','letter-spacing:1px !important;','','','none','none',7,'..',-7,-12,1,'#999999','solid','130px',2,'#99CCFF','','greenshadow.png','22px','filter:progid:DXImageTransform.Microsoft.Shadow(color=#bbddbb,direction=135,strength=2);',0,1,'separate','#99CCFF','solid','#AAAAAA','solid','#99CCFF','solid',5,2,'transparent','#CCFFCC','transparent','10px','tahoma,sans-serif','normal','none','left','#000000','#0000FF','#000000','normal','normal','normal','','','','+','>',3,'..',];um.v=[];um.w=[];um.vl=0;um.wl=0;um.baseSRC='/sources/udm-resources/';var i,j;um.imn=['greenshadow.png',];um.im=[];i=0;do{um.im[i]=new Image;um.im[i].src=um.baseSRC+um.imn[i];i++;}while(i<1);var umTree=null;um.gp=function(umRI){return (um.vn(umRI.nodeName).toLowerCase()=='li')?umRI:this.gp(umRI.parentNode);};um.menuCode=[];um.ready=0;um.pi=function(n){n=parseInt(n,10);return (isNaN(n)?0:n);};um.un='undefined';um.m=document;um.gd=function(umD){return um.m.getElementById(umD);};um.xd=function(umD){umD.style.display='block';};um.xn=function(umD){umD.style.display='none';};um.xv=function(umD){umD.style.visibility='visible';};um.xh=function(umD){umD.style.visibility='hidden';};um.ne=function(umD){return umD.parentNode.className=='udm';};um.u=navigator.userAgent.toLowerCase();um.d=(typeof um.m.getElementById!=um.un&&(typeof um.m.createElement!=um.un||typeof um.m.createElementNS!=um.un));um.o5=/opera[\/ ][56]/.test(um.u);um.k=(navigator.vendor=='KDE');if(um.o5||um.k){um.d=0;};um.b=(um.d||um.o5||um.k);um.o7=(um.d&&typeof window.opera!=um.un);um.o75=(um.o7&&/opera[\/ ]7\.[5-9]/.test(um.u));um.o73=(um.o7&&/opera[\/ ]7\.[3-9]/.test(um.u));um.o71=(um.o7&&/opera[\/ ]7\.[0-1]/.test(um.u));um.s=(navigator.vendor=='Apple Computer, Inc.'&&typeof um.m.childNodes!=um.un&&typeof um.m.all==um.un&&typeof navigator.taintEnabled==um.un);um.wie=(um.d&&typeof um.m.all!=um.un&&typeof window.opera==um.un);um.mie=(um.wie&&um.u.indexOf('mac')>0);um.mx=(um.u.indexOf('tasman 0.9')>0);if(um.mx){um.mie=1;}um.omie=0;if(um.mie){um.wie=0;um.omie=(/msie 5\.[0-1]/.test(um.u));}um.ie=(um.wie||um.mie);um.wie5=(um.wie&&um.u.indexOf('msie 5')>0);um.wie55=(um.wie&&um.u.indexOf('msie 5.5')>0);um.wie50=(um.wie5&&!um.wie55);um.wie6=(um.wie&&um.u.indexOf('msie 6')>0);if(um.wie6){um.wie55=1;}um.q=(um.wie5||(um.mie&&!um.mx)||((um.mx||um.wie6||um.o7)&&um.m.compatMode!='CSS1Compat'));um.og=0;um.dg=0;if(navigator.product=='Gecko'&&!um.s){um.sub=um.pi(navigator.productSub);um.og=(um.sub<20030312);um.dg=(um.sub<20030208);}if(true&&!(um.d||um.b)){document.write('');}um.hstrip=['none','yes'];um.reset=['yes','yes','yes'];um.kb=(false&&!(um.mie||um.o7||um.s));um.sp=(false&&um.wie);if(um.mx||(um.wie50&&um.rp)){um.e[12]='no';}um.rp=false;um.p=false;um.hz=((um.wie50&&true)||(um.wie&&false));um.a=false;um.h=true;um.rg=(um.h&&true&&true);um.fe=false;if(um.e[3]=='allfixed'){um.e[3]='fixed';if(um.wie){um.fe=true;}}um.f=(um.e[3]=='fixed'&&!(um.ie||um.og));um.nc=false;um.mc=false;um.nm=((um.og&&um.rp)||(um.omie&&um.h)||((um.dg||um.wie50)&&false));um.nr=(um.nm||um.mie);um.ns=(um.dg||um.o71||(um.wie50&&um.rp)||(um.o7&&um.f)||um.mie);um.cns=(typeof um.m.createElementNS!=um.un);um.ss=(um.cns&&typeof um.m.styleSheets!=um.un&&!(um.s||um.k||um.mx));um.ni=false;um.mi=false;um.rn=0;um.rv=[];um.addReceiver=function(umFC,umEC){um.rv[um.rn++]=[umFC,umEC];};um.createElement=function(umE,umA){um.el=(um.cns)?um.m.createElementNS('http://www.w3.org/1999/xhtml',umE):um.m.createElement(umE);if(typeof umA!=um.un){for(var i in umA){switch(i){case 'text' :um.el.appendChild(um.m.createTextNode(umA[i]));break;case 'class' : um.el.className=umA[i];break;default : um.el.setAttribute(i,'');um.el[i]=umA[i];break;}}}return um.el;};um.ap=function(umC,umE){um.rl=um.rv.length;if(um.rl>0){um.i=0;do{if(um.rv[um.i][1]==''){um.rv[um.i][0](umE,umC);}else if(umC==um.rv[um.i][1]){um.rv[um.i][0](umE);}um.i++;}while(um.i/ig,'\n');}um.nh.innerHTML+=um.menuCode[i];if(um.mie){um.dm=um.gm(um.nh);um.xn(um.dm);um.xh(um.dm);}}}um.cleanWhitespace(umTree);um.rtl=um.m.getElementsByTagName('html')[0].getAttribute('dir')=='rtl';um.st=0;um.kb=(um.kb&&typeof umKM=='function');if(um.e[8]=='yes'&&um.wie){um.t=um.m.cookie;if(!um.t||um.t.indexOf('udmSnapshot')==-1||typeof applySnapshot==um.un){um.st=1;um.sy=um.m.createStyleSheet();um.sy.addRule('#udm ul','visibility:visible;display:block;position:absolute !important;'+um.e[1]+':0;margin-top:-100em !important;width:1px;height:1px;overflow:scroll;',0);document.attachEvent('onmousewheel',function(){if(event.ctrlKey&&um.st){um.rds(um.sy);}});}}um.sp=(um.sp&&typeof udmSpeechModule=='function');um.n=new umNav(umTree);um.ap('009',um.n);if(um.fe){um.tr.style.top=(um.getScrollAmount())+'px';window.attachEvent('onscroll',function(){um.tr.style.top=(um.getScrollAmount())+'px';});}if(um.s){umTree.style.KhtmlOpacity='1';}um.s1=(typeof umTree.style.KhtmlOpacity!=um.un);um.ready=1;um.ap('010',um.tr);}}}function umNav(umTree){um.n=this;um.tr=umTree;if(um.wie){um.tr.style.color='black';}if(um.rg){um.rw=0;}um.li=umTree.getElementsByTagName('li');um.ll=um.li.length;i=0;do{this.it(um.li[i]);i++;}while(i';um.ar=um.gc(umI).lastChild;um.ar.src=um.baseSRC+um.ac;}else if(um.s){um.at={'class':'udmA'};um.ar=um.gc(umI).appendChild(um.createElement('span',um.at));um.at={'src':um.baseSRC+um.ac,'alt':um.aa,'title':''};um.ar.appendChild(um.createElement('img',um.at));}else{um.at={'class':'udmA','alt':um.aa,'title':''};um.ar=um.gc(umI).appendChild(um.createElement('img',um.at));um.ar.src=um.baseSRC+um.ac;}}if(um.vh=='onclick'){um.ar.onmousedown=function(){return false;}};um.ar.onmouseover=function(e){um.t=um.gp(this.parentNode).parentNode.childNodes;um.tl=um.t.length;i=0;do{if(um.gu(um.t[i]).length>0){if(um.gu(um.t[i])[0].style.visibility=='visible'){(!e)?event.cancelBubble=1:e.stopPropagation();this.parentNode.style.zIndex=um.e[6]+=2;return false;break;}}clearInterval(um.oc);um.or=0;i++;}while(i0){if(typeof um.tv.blur!=um.un){um.tv.blur();}if(um.gu(um.gp(um.tv))[0].style.display=='block'){um.n.cd(this.parentNode);return false;}return (um.gp(um.tv).className.indexOf('(true)')!=-1);}}if(!e){e=window.event;}return (e.type=='click'||um.o7||um.mx);};umI.onmouseout=function(e){this.out(e);};}umI.over=function(umF,umT){um.cf=um.n.cck();if(!um.cf||um.mf){um.mf=0;if(!um.ec){if(um.gm(this)!=null){this.removeChild(um.gm(this));}}return false;}if(!umF){um.nn=um.vn(umT.nodeName).toLowerCase();if(/(li|ul)/.test(um.nn)){return false;}um.ap('020',umT);}clearInterval(um.cc);um.cr=0;um.n.lr(um.gc(umI),1);um.n.pr(umM,umI,umF,umT);return umI;};umI.out=function(e){if(um.lf){um.gc(this).blur();}um.lf=0;if(!e){e=window.event;e.relatedTarget=e.toElement;}if(!umI.contains(e.relatedTarget)){if(!um.tr.contains(e.relatedTarget)){clearInterval(um.cc);um.cr=0;}um.n.cp(umM,umI);um.ap('025',um.gc(this));}};if(!um.ie){umI.contains=function(umN){return (umN==null)?false:(umN==this)?true:this.contains(umN.parentNode);};}um.ap('008',umI);};umNav.prototype.cck=function(){if(typeof document.defaultView!=um.un&&typeof document.defaultView.getComputedStyle!=um.un){um.sa=document.defaultView.getComputedStyle(um.fl,'').getPropertyValue('display');}else if(typeof um.fl.currentStyle!=um.un){um.sa=um.fl.currentStyle.display;}um.mv=1;um.ec=(!um.wie||um.tr.currentStyle.color=='black');return ((um.sa!='inline'||typeof um.sa==um.un)&&um.ec);};umNav.prototype.lr=function(umL,umV){if(umL!=null&&typeof umL.style!=um.un&&!(um.p&&um.mx)){um.cl=umL.className;if(um.cl==null){um.cl='';}um.ii=um.ne(um.gp(umL));if(umV){umL.style.zIndex=um.e[6]+=2;(um.cl=='')?umL.className='udmR':umL.className+=(umL.className.indexOf('udmR')==-1)?' udmR':'';}else{if(umL.className.indexOf('udmR')!=-1){umL.className=umL.className.replace(/([ ]?udmR)/g,'');}}um.n.wv(umL,um.ii);}};umNav.prototype.pr=function(umG,umJ,umK,umR){if(um.st){um.rds(um.sy);}if(!um.nm&&umG!=null&&umG.style.visibility!='visible'){if(um.wie){if(um.e[61]>0){um.gc(umG).style.marginTop=um.e[61]+'px';}else if(um.e[63]=='collapse'){umG.firstChild.style.marginTop=0+'px';}}if(!(um.kb&&umK)){um.n.tu(umG,null);}}if(umG==null){um.n.tu(null,umJ);}};umNav.prototype.tu=function(umG,umJ){if(um.cr){clearInterval(um.oc);um.oj=umG;um.ij=umJ;um.or=1;um.oc=setInterval('um.n.tu(um.oj,um.ij)',um.e[10]);}else if(um.or){clearInterval(um.oc);um.or=0;this.ou(umG,umJ);}else{um.ap('061',umG);um.oj=umG;um.ij=umJ;um.or=1;um.oc=setInterval('um.n.tu(um.oj,um.ij)',um.e[10]);}};umNav.prototype.ou=function(umO,umP){if(umO==null){this.cd(umP.parentNode);return false;}this.cd(um.gp(umO).parentNode);if(um.hz){this.ts('hidden');}um.xd(umO);if(!um.nr&&um.e[89]!='none'){um.kl=umO.childNodes.length;i=0;do{um.tn=umO.childNodes.item(i);um.nn=um.vn(um.tn.nodeName).toLowerCase();if(um.nn=='li'){um.ar=um.n.ga(um.gc(um.tn));if(um.ar!=null){this.wp(um.ar,um.tn,um.e[70],um.e[62],0);}}i++;}while(i0);if(um.hf){umO.filters[0].Apply();}if(um.wie&&um.h){um.t=umO.parentNode;if(um.ne(um.t)){um.t=um.t.style;um.t.position='absolute';um.t.zIndex=um.e[6]+=2;um.t.position='relative';}}um.xv(umO);um.pk=um.gc(umO.parentNode);if(um.hf){um.ap('065',umO);umO.filters[0].Play();if(um.sh!=null){umO.onfilterchange=function(){um.xd(um.sh);um.n.ric(um.pk);um.ap('066',umO);};}}else if(um.sh!=null){um.xd(um.sh);this.ric(um.pk);}if(um.wie50){um.xn(umO);um.xd(umO);}um.ap('060',umO);return umO;};umNav.prototype.ric=function(umU){if(um.wie){if(umU.href!=''&&umU.href!='#'){umU.style.cursor='hand';}}};umNav.prototype.cd=function(umD){um.sm=(um.mie&&!um.mx)?um.gt(umD,'ul'):um.gu(umD);um.sml=um.sm.length;i=-1;while(++i0){um.t2=umH.parentNode.lastChild;if(um.t2.className){if(um.t2.className.indexOf(um.t[i])!=-1){umH.parentNode.removeChild(um.t2);}}}i++;}while(i<2);}um.ap('070',umH);}};umNav.prototype.ga=function(umL){um.ta=null;um.t=['img','span'];var k=0;do{um.lss=umL.getElementsByTagName(um.t[k]);um.lsl=um.lss.length;j=-1;while(++jum.t[1]){if(um.is){um.mp.nx=(((um.p)?um.mp.x:0)-(um.t[0]-um.t[1]));}else{um.mp.nx=(((um.p)?(0-um.mp.w-um.mp.pw+um.e[55]-um.e[49]):(0-um.mp.w-um.e[55]-um.e[51]))-um.e[49]);}}if(um.mp.x<0){if(!um.is){um.mp.nx=(0-um.e[55]-um.e[51]+um.mp.pw+um.e[49]);}}um.yd=(um.mp.y+um.mp.h)-(um.wz.y-um.mp.m+um.mp.sc);if(um.f&&!um.is){um.yd+=um.mp.sc;}if(um.yd>0){um.t=umU.parentNode;um.y=um.getRealPosition(um.t,'y');while(!um.ne(um.t)){um.y+=um.e[51];um.t=um.t.parentNode.parentNode;}um.mp.ny=(0-um.y-(um.mp.m*2)+um.wz.y+um.mp.sc-um.mp.h);if(um.f){um.mp.ny-=um.mp.sc;}}if(um.mp.y<0){um.mp.ny=(0-(0-um.mp.y));}if(um.mp.nx!=-1){if(um.p){umU.style.left=um.mp.nx+'px';}else{umU.style.marginLeft=um.mp.nx+'px';}um.ap('110',umU);}if(um.mp.ny!=-1){if(um.p&&um.ne(umU.parentNode)){umU.style.marginTop=(2000-um.yd)+'px';}else{umU.style.marginTop=um.mp.ny+'px';}um.ap('120',umU);}um.t=umU;um.y=um.getRealPosition(um.t,'y')-um.mp.sc;while(!um.ne(um.t.parentNode)){um.y+=um.e[51];um.t=um.t.parentNode.parentNode;}if(um.f){um.y+=um.mp.sc;}if(um.y<0){um.mp.ny=um.pi(umU.style.marginTop);if(isNaN(um.mp.ny)){um.mp.ny=0;}umU.style.marginTop=(um.mp.ny-um.y)+'px';}um.t=umU;um.x=um.getRealPosition(um.t,'x');while(!um.ne(um.t.parentNode)){um.x+=um.e[51];um.t=um.t.parentNode.parentNode;}if(um.x<0){umU.style.marginLeft=(um.p&&um.ne(umU.parentNode))?'2000px':'0';umU.style.left='0';}return true;};umNav.prototype.hl=function(umH){um.at={'class':'udmS'};um.sh=umH.parentNode.appendChild(um.createElement('span',um.at));if(umH.className!=''){um.cn=umH.className;if(typeof um.v[um.cn]!=um.un){if(um.sh.className.indexOf(um.cn)==-1){um.sh.className+=' '+um.cn;}}}um.sh.style.width=umH.offsetWidth+'px';um.hh=umH.offsetHeight;if(typeof um.scr!=um.un){um.hh=scr.gmh(umH);}um.sh.style.height=um.hh+'px';um.mp={x:(umH.offsetLeft),y:(umH.offsetTop)};um.is=um.ne(um.sh.parentNode);if(um.s&&!um.is){um.mp.x-=um.e[51];um.mp.y-=um.e[51];}um.sh.style.left=um.mp.x+'px';um.sh.style.top=um.mp.y+'px';return um.sh;};umNav.prototype.il=function(umH){um.at={'class':'udmC', 'src':'javascript:false;'};um.co=umH.parentNode.appendChild(um.createElement('iframe',um.at));um.co.tabIndex='-1';um.co.style.width=umH.offsetWidth+'px';um.co.style.height=umH.offsetHeight+'px';um.co.style.left=umH.offsetLeft+'px';um.co.style.top=umH.offsetTop+'px';return um.co;};umNav.prototype.dw=function(umA){um.rw+=umA.offsetWidth;if(um.nc){um.rw-=um.e[18];}else{um.rw+=um.e[17];}};umNav.prototype.aw=function(){if(um.o7||um.mie||um.q){if(um.mx){um.rw+=um.pi(document.defaultView.getComputedStyle(um.tr,'').paddingLeft);}else{um.rw+=(um.gp(um.gc(um.tr)).offsetLeft+um.getRealPosition(um.tr,'x'));}}if(um.mie||um.og){um.rw*=1.05;}if(um.getWindowDimensions().x0){i=0;do{um.se[i++].style.visibility=umZ;}while(i