/* UDMv4.51 */ /***************************************************************\ ULTIMATE DROP DOWN MENU Version 4.51 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','relative','0px','0px',1000,'flexible','yes','no',200,500,'yes','default',-1,+2,'auto',0,1,'separate','#ffffff #999999 #ffffff #ffffff','solid','#E0E0E0 #999999 #E0E0E0 #E0E0E0','solid','#ffffff #999999 #ffffff #ffffff','solid solid solid solid',9,5,'#ffffff','#eeeeee','#ffffff','90%','arial, helvtica; sans-serif','bold','none','left','#336699','#cc3300','#336699','normal','normal','normal','letter-spacing:0px !important;','','','none','none',7,'..',+4,-1,0,'#666666 #666666 #666666 #666666','solid','200px',0,'#666666','','#6c7983','2px','filter:alpha(opacity=50);',1,0,'separate','#f8fbd0','solid','#aca','solid','#f8fbd0','solid',5,2,'#ffffff','#eeeeee','#ffffff','100%','arial narrow,arial,helvetical','normal','none','left','#336699','#cc3300','#336699','normal','normal','normal','','','','right-black.gif','right-red.gif',3,'..',];um.v=[];um.w=[];um.vl=0;um.wl=0;um.menuCode=[];um.baseSRC='/udm-resources/';um.trigger='';var i,j;um.imn=['right-black.gif','right-red.gif',];um.im=[];i=0;do{um.im[i]=new Image;um.im[i].src=um.baseSRC+um.imn[i];i++;}while(i<2);var umTree=null;um.gp=function(umRI){return umRI?um.vn(umRI.nodeName).toLowerCase()=='li'?umRI:this.gp(umRI.parentNode):null;};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)&&typeof navigator.IBM_HPR==um.un);um.o5=/opera[\/ ][56]/.test(um.u);um.k=(navigator.vendor=='KDE');if(um.o5){um.d=0;};um.b=(um.d||um.o5);um.o7=(um.d&&typeof window.opera!=um.un);um.o75=0;um.o73=0;um.o71=0;if(um.o7){um.ova=um.pi(um.u.split(/opera[\/ ]/)[1].match(/[7-9]/)[0]);um.ovi=um.pi(um.u.split(/opera[\/ ][7-9]\./)[1].match(/^[0-9]/)[0]);um.o75=(um.ova>=8||um.ovi>=5);um.o73=(um.ova>=8||um.ovi>=3);um.o71=(um.ova==7&&um.ovi<=1);}um.google=(navigator.vendor=='Google Inc.');um.s=(navigator.vendor=='Apple Computer, Inc.'||um.google);um.s2=(um.s&&typeof XMLHttpRequest!=um.un);um.s3=(um.s&&um.u.indexOf('version/3')!=-1);um.s3=(um.s3||um.google);um.wie=(um.d&&typeof um.m.all!=um.un&&typeof window.opera==um.un&&!um.k);um.mie=(um.wie&&um.u.indexOf('mac')>0);um.mx=0;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.wie7=(um.wie&&typeof XMLHttpRequest!=um.un);um.q=(um.wie5||um.mie||((um.wie6||um.wie7||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);}um.hstrip=['#ffffff','yes'];um.reset=['yes','yes','yes','no'];um.keys=[38,39,40,37,123,'none',27,'document.getElementsByTagName("a")[0]',];um.kb=(true&&!(um.mie||um.o7||um.k||(um.s&&!um.s2)));um.skb=(um.kb||(true&&((um.o7&&!um.o71)||um.k)));um.sp=(false&&um.wie);if(um.wie50&&um.r){um.e[12]='no';}um.rp=true;um.p=false;um.hz=((um.wie50&&true)||(um.wie&&false));um.a=false;um.h=true;um.rg=(um.h&&false&&true);um.ep=0;if(false){um.ep=1;um.e[0]='vertical';}um.fe=false;if(um.e[3]=='allfixed'){um.e[3]='fixed';if(um.wie5||um.wie6){um.fe=true;}}um.f=(um.e[3]=='fixed'&&!(um.wie5||um.wie6||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.ni=false;um.mi=true;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(c,v){var r=um.rv.length;if(r>0){for(var i=0;i/ig,'\n');}l.innerHTML+=um.menuCode[i];if(um.mie){um.dm=um.gm(l);um.xn(um.dm);um.xh(um.dm);}}}um.bub=0;um.wsr=0;um.rtl=um.m.getElementsByTagName('html')[0].getAttribute('dir')=='rtl';um.kdf=0;if(um.o7){um.m.addEventListener('keydown',function(e){if(e.keyCode==16){um.kdf=1;}},0);um.m.addEventListener('keyup',function(e){if(e.keyCode==16){um.kdf=0;}},0);}um.skb=(um.skb&&typeof umKM=='function');um.kb=(um.skb&&um.kb);if(um.skb){um.kbm=new umKM;if(g){um.ap('001',um.kbm);}}um.sp=(um.sp&&typeof udmSpeechModule=='function');um.n=new umNav(umTree,g);if(g){um.ap('009',um.n);}if(um.fe){um.tr.style.left=(um.getScrollAmount(1))+'px';um.tr.style.top=(um.getScrollAmount())+'px';window.attachEvent('onscroll',function(){um.tr.style.left=(um.getScrollAmount(1))+'px';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;if(g){um.ap('010',um.tr);}}};function umNav(umTree,g){um.n=this;um.tr=umTree;if(um.wie){um.tr.style.color='black';}um.jv='javascript:void(0)';var l=umTree.getElementsByTagName('li');if(l.length==0){return;}var i=0;do{this.it(l[i]);if(g){um.ap('008',l[i]);}i++;}while(i');u=um.gc(l).lastChild;u.src=um.baseSRC+r;}else if(um.s||um.k){t={'class':'udmA'};u=um.gc(l).appendChild(um.createElement('span',t));t={'src':um.baseSRC+r,'alt':x,'title':''};u.appendChild(um.createElement('img',t));}else{t={'class':'udmA','alt':x,'title':''};u=um.gc(l).appendChild(um.createElement('img',t));u.src=um.baseSRC+r;}}if(h=='onclick'){u.onmousedown=function(){return false;}};u.onmouseover=function(e){var t=um.gp(this.parentNode).parentNode.childNodes;var n=t.length;for(var i=0;i0){if(um.gu(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;}return true;};u.onmouseout=function(){clearInterval(um.oc);um.or=0;};um.xd(u);if(s){this.wp(u,l,um.e[26],um.e[18],1);}}}if(um.mie){var v=l.getElementsByTagName('span')[0];if(typeof v!=um.un){v.onclick=function(){this.parentNode.click();};}}if(um.mie){t=um.gc(l);if(t.className&&/nohref/.test(t.className)){um.gc(l).href=um.jv;}}if(um.skb){um.kbm.bth(l);}l.onmousedown=function(e){um.lf=1;um.ap('030',um.gc(this));(!e)?event.cancelBubble=1:e.stopPropagation();};l.onmouseup=function(e){um.ap('035',um.gc(this));(!e)?event.cancelBubble=1:e.stopPropagation();};if(h!='onclick'){l.onclick=function(e){if(!um.bub){um.qc(um.gc(this).href);}um.bub=1;};}else if(!um.mie){l.onmouseover=function(){um.n.lr(um.gc(l),1);um.bub=0;};}if(!(um.mie&&h=='onclick')){l[h]=function(e){var v=(um.ie)?window.event.srcElement:e.target;if(v.nodeName=='#text'&&e.type=='click'){v=v.parentNode;}if(!um.gp(v)){return false;}var b=um.es(um.gp(v).className);var c=(um.lf&&!um.nm&&b.indexOf('onclick')!=-1);if(c){um.rt=um.e[10];um.e[10]=1;}if(b.indexOf('onclick')==-1){um.bub=0;}else if(!um.lf){if(!um.bub){um.qc(v.href);}um.bub=1;}this.over(0,v);if(c){um.e[10]=um.rt;um.lf=0;if(v.nodeName!='#text'&&um.gu(um.gp(v)).length>0){if(typeof v.blur!=um.un){v.blur();}if(um.gu(um.gp(v))[0].style.display=='block'){um.n.cd(this.parentNode);(!e)?event.cancelBubble=1:e.stopPropagation();return false;}(!e)?event.cancelBubble=1:e.stopPropagation();b=um.es(um.gp(v).className);return (b.indexOf('(true)')!=-1);}else{um.qc(v.href);um.bub=1;}}if(!e){e=window.event;}return (e.type=='click'||um.o7);};l.onmouseout=function(e){this.out(e);};}l.over=function(f,t){if(um.bub||(!f&&um.ha&&um.kdf)){return false;}var c=um.n.cck();if(!c||um.mf){um.mf=0;if(!um.ec){if(um.gm(this)){this.removeChild(um.gm(this));}}return false;}if(f){if(!um.wsr&&!um.ie){um.kbm.cws(um.tr);um.wsr=1;}um.ha=1;if(um.ie&&event.altKey){um.n.ck(um.gp(t).parentNode);}um.ap('040',t);}if(!f){var n=um.vn(t.nodeName).toLowerCase();if(/(li|ul)/.test(n)){return false;}if(um.skb){if(!um.lf){um.e[10]=um.mt[0];um.e[11]=um.mt[1];}um.nf=um.gc(this);if(um.ha){um.n.ck(l.parentNode);um.n.cd(um.gp(t).parentNode);um.nf.focus();um.nf.blur();um.ha=0;}}um.ap('020',t);}clearInterval(um.cc);um.cr=0;um.n.lr(um.gc(l),1);um.n.pr(umM,l,f,t);return l;};l.out=function(e){if(um.o7&&um.ha&&um.kdf){return;}if(um.lf){um.gc(this).blur();}um.lf=0;if(!e){e=window.event;e.relatedTarget=e.toElement;}if(!l.contains(e.relatedTarget)){if(!um.tr.contains(e.relatedTarget)){clearInterval(um.cc);um.cr=0;}um.n.cp(umM,l);um.ap('025',um.gc(this));}};if(!um.ie){l.contains=function(n){return (n==null)?false:(n==this)?true:this.contains(n.parentNode);};}};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.fl.currentStyle){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(l,v){if(l&&typeof l.style!=um.un){um.cl=um.es(l.className);um.ii=um.ne(um.gp(l));if(v){l.style.zIndex=um.e[6]+=2;(um.cl=='')?l.className='udmR':l.className+=(l.className.indexOf('udmR')==-1)?' udmR':'';}else{if(um.cl.indexOf('udmR')!=-1){l.className=um.cl.replace(/([ ]?udmR)/g,'');}}um.n.wv(l,um.ii);}};umNav.prototype.pr=function(m,l,f,r){if(um.skb&&f){um.kbm.cu(m,l,r);}if(!um.nm&&m&&m.style.visibility!='visible'){if(um.wie&&!um.wie7){if(um.e[61]>0){um.gc(m).style.marginTop=um.e[61]+'px';}else if(um.e[63]=='collapse'){m.firstChild.style.marginTop=0+'px';}}if(um.skb&&f){um.n.ou(m);}if(!(um.skb&&f)){um.n.tu(m,null);}}if(m==null){um.n.tu(null,l);}};umNav.prototype.tu=function(m,l){if(um.cr){clearInterval(um.oc);um.oj=m;um.ij=l;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(m,l);}else{um.ap('061',m);um.oj=m;um.ij=l;um.or=1;um.oc=setInterval('um.n.tu(um.oj,um.ij)',um.e[10]);}};umNav.prototype.ou=function(m,l){if(m==null){this.cd(l.parentNode);return false;}this.cd(um.gp(m).parentNode);if(typeof m.m==um.un){m.m=um.gu(m);m.l=m.m.length;if(m.l>0){for(var i=0;i0);if(um.hf){m.filters[0].Apply();}if(um.wie&&um.h){var t=m.parentNode;if(um.ne(t)){t=t.style;t.position='absolute';t.zIndex=um.e[6]+=2;t.position='relative';}}um.xv(m);if(um.hf){um.ap('065',m);m.filters[0].Play();if(um.sh){m.onfilterchange=function(){um.xd(um.sh);um.ap('066',m);};}}else if(um.sh){um.xd(um.sh);}if(um.wie50){um.xn(m);um.xd(m);}if(um.ep&&um.s&&m.offsetLeft<-1000){var fs=um.pi(document.defaultView.getComputedStyle(m,'').getPropertyValue('font-size'));m.style.fontSize=(fs-1)+'px';setTimeout(function(){m.style.fontSize=fs+'px';},0);}um.ap('060',m);return m;};umNav.prototype.cd=function(m){var s=um.mie?um.gt(m,'ul'):um.gu(m);var n=s.length;for(var i=0;i0&&!um.o7){this.wpo(a.fn[0],a.fn[1],a.fn[2],a.fn[3],a.fn[4]);}else{a.c=0;a.ti=window.setInterval(function(){if(a.offsetHeight>0){clearInterval(a.ti);um.n.wpo(a.fn[0],a.fn[1],a.fn[2],a.fn[3],a.fn[4]);}else{a.c++;if(a.c>=100){clearInterval(a.ti);}}},55);}return true;};umNav.prototype.wpo=function(a,l,p,b,n){var s=um.gc(l);var t=[a.offsetWidth,a.offsetHeight];a.style.marginTop=um.pi(((s.offsetHeight-t[1])/2)-b)+'px';s.style[(um.a||um.rtl)?'paddingLeft':'paddingRight']=((p*2)+t[0])+'px';if(um.wie&&um.rtl){a.style.marginRight=((n)?(0-um.e[26]):(0-um.e[70]))+'px';}if(((um.wie50&&um.a)||(um.wie55&&um.rtl))&&n&&um.h){a.style.top=(b)+'px';a.style.left=(b)+'px';}if((n&&um.ni)||(!n&&um.mi)){var c=((n)?um.e[47]:um.e[91]);if((t[0]-c)<0){c=t[0];}a.style.clip=(um.a||um.rtl)?'rect(0,'+c+'px,'+t[1]+'px,0)':'rect(0,'+t[0]+'px,'+t[1]+'px,'+(t[0]-c)+'px)';}um.xv(a);return true;};umNav.prototype.wv=function(l,n){if(um.nr){return false;}var a=this.ga(l);if(a){var c=um.es(l.className);var r=(c.indexOf('udmR')==-1);if(c.indexOf('udmY')!=-1){r=0;}var p=um.es(um.gp(l).className);var t=(um.s||um.k)?a.firstChild:a;t.src=um.baseSRC+((n)?(r)?um.e[45]:um.e[46]:(typeof um.w[p]!=um.un)?(r)?um.w[p][23]:um.w[p][24]:(r)?um.e[89]:um.e[90]);}return a;};umNav.prototype.pu=function(m){m.style.height='auto';m.style.overflow='visible';var s=(um.ne(m.parentNode));var l=m.parentNode;var p={tw:l.offsetWidth,th:l.offsetHeight,mw:m.offsetWidth,pw:(s)?um.gc(l).offsetWidth:l.parentNode.offsetWidth};var x=(um.p)?2000:0;var y=(um.p)?2000:0;if(!((um.h||um.p)&&s)){x=(s)?(um.a?(0-p.mw):p.pw):((um.a?(0-p.mw):p.pw)-um.e[51]-um.e[55]);y=(0-p.th);}else if(um.h&&s&&um.a){x=(0-p.mw+p.tw);}x+=(s)?(um.a?(0-um.e[14]):um.e[14]):(um.a?(0-um.e[49]):um.e[49]);y+=(s)?(um.e[2]=='bottom')?(0-um.e[15]):um.e[15]:um.e[50];if(s){if(um.h){if(um.e[2]=='bottom'){y-=(m.offsetHeight+p.th);}if(um.s){if(um.nc&&!um.a){x-=um.e[18];}if(!um.s1&&um.rp){x+=um.getRealPosition(um.tr,'x');y+=um.getRealPosition(um.tr,'y');}}if(um.mie){x-=um.gc(l).offsetWidth;if(um.nc&&um.a){x+=um.e[18];}y+=p.th;}if(um.ie&&um.hstrip[1]=='yes'){y-=um.e[17];}}else if(um.ie&&um.nc){y-=um.e[18];}}m.style.marginLeft=x+'px';m.style.marginTop=y+'px';if(!um.p||!s){m.style.left='auto';m.style.top='auto';if(um.s1||um.k){m.style.top=(p.th)+'px';}if(um.s3){m.style.top='auto';}}if(um.wie50){um.xn(m);um.xd(m);}};umNav.prototype.ru=function(m){var c=um.es(m.className);if(/nomove/.test(c)){return false;}var w=um.getWindowDimensions();var p={x:um.getRealPosition(m,'x'),y:um.getRealPosition(m,'y'),w:m.offsetWidth,h:m.offsetHeight,pw:m.parentNode.parentNode.offsetWidth,m:32,nx:-1,ny:-1,sc:um.getScrollAmount(),scx:um.getScrollAmount(1)};if(um.wie50&&um.rtl){p.x-=um.m.body.clientWidth;}if(typeof um.scr!=um.un){p.h=scr.gmh(m);}var s=(um.ne(m.parentNode));if(um.s&&!um.s3){p.x-=um.m.body.offsetLeft;p.y-=um.m.body.offsetTop;}else if(um.mie){var t=um.e[55]+um.e[51];p.x-=t;p.y-=t;}else{t=m;while(!um.ne(t.parentNode)){p.x+=um.e[51];p.y+=um.e[51];t=t.parentNode.parentNode;}}if(!um.ie&&um.e[3]=='fixed'&&s){p.x+=p.scx;p.y+=p.sc;}t=[(p.x+p.w),(w.x-p.m+p.scx)];if(t[0]>t[1]){if(s){p.nx=(((um.p)?p.x:0)-(t[0]-t[1]));}else{p.nx=(((um.p)?(0-p.w-p.pw+um.e[55]-um.e[49]):(0-p.w-um.e[55]-um.e[51]))-um.e[49]);}}if(p.x<0){if(!s){p.nx=(0-um.e[55]-um.e[51]+p.pw+um.e[49]);}}um.yd=(p.y+p.h)-(w.y-p.m+p.sc);if(um.f&&!s){um.yd+=p.sc;}if(um.yd>0){t=m.parentNode;um.y=um.getRealPosition(t,'y');while(!um.ne(t)){um.y+=um.e[51];t=t.parentNode.parentNode;}p.ny=(0-um.y-(p.m*2)+w.y+p.sc-p.h);if(um.f){p.ny-=p.sc;}}if(p.y<0){p.ny=(0-(0-p.y));}if(p.nx!=-1){if(um.p){m.style.left=p.nx+'px';}else{m.style.marginLeft=p.nx+'px';}um.ap('110',m);}if(p.ny!=-1){if(um.p&&um.ne(m.parentNode)){m.style.marginTop=(2000-um.yd)+'px';}else{m.style.marginTop=p.ny+'px';}um.ap('120',m);}t=m;var y=(um.wie50&&!um.p)?((um.pi(m.style.marginTop)+m.parentNode.offsetHeight+um.getRealPosition(m.parentNode,'y'))-p.sc):(um.getRealPosition(t,'y')-p.sc);while(!um.ne(t.parentNode)){y+=um.e[51];t=t.parentNode.parentNode;}if(um.f){y+=p.sc;}if(y<0){p.ny=um.pi(m.style.marginTop);if(isNaN(p.ny)){p.ny=0;}m.style.marginTop=(p.ny-y)+'px';}t=m;var x=um.getRealPosition(t,'x')-p.scx;while(!um.ne(t.parentNode)){x+=um.e[51];t=t.parentNode.parentNode;}if(x<0){m.style.marginLeft=(um.p&&um.ne(m.parentNode))?'2000px':(p.scx>0?0-x:0)+'px';m.style.left='0';}return true;};umNav.prototype.hl=function(m){var d={'class':'udmS'};um.sh=m.parentNode.appendChild(um.createElement('span',d));var c=um.es(m.className);if(c!=''){if(typeof um.v[c]!=um.un){if(um.sh.className.indexOf(c)==-1){um.sh.className+=' '+c;}}}um.sh.style.width=m.offsetWidth+'px';var h=m.offsetHeight;if(typeof um.scr!=um.un){h=scr.gmh(m);}um.sh.style.height=h+'px';var p={x:(m.offsetLeft),y:(m.offsetTop)};var s=um.ne(um.sh.parentNode);if(um.s&&!um.s1&&!s){p.x-=um.e[51];p.y-=um.e[51];}um.sh.style.left=p.x+'px';um.sh.style.top=p.y+'px';return um.sh;};umNav.prototype.il=function(m){var c=m.parentNode.appendChild(um.createElement('iframe',{'class':'udmC', 'src':'javascript:false;'}));c.tabIndex='-1';c.style.width=m.offsetWidth+'px';c.style.height=(typeof um.scr!=um.un?scr.gmh(m):m.offsetHeight)+'px';c.style.left=m.offsetLeft+'px';c.style.top=m.offsetTop+'px';return c;};umNav.prototype.ts=function(v){var s=um.m.getElementsByTagName('select');var n=s.length;if(n>0){var i=0;do{s[i++].style.visibility=v;}while(i