um.rep=function(umEC,umEO){um.rl=um.rv.length;if(um.rl>0){um.i=0;do{if(um.rv[um.i][1]==''){um.rv[um.i][0](umEO,umEC);}else if(umEC==um.rv[um.i][1]){um.rv[um.i][0](umEO);}um.i++;}while(um.i<um.rl);}};if(!um.k&&typeof window.addEventListener!=um.un){window.addEventListener('load',umIni,0);}else if(um.o7){um.m.addEventListener('load',umIni,0);}else if(um.wie){window.attachEvent('onload',umIni);}else{if(typeof window.onload=='function'){um.on=onload;window.onload=function(){um.on();umIni();};}else{window.onload=umIni;}}function umIni(){umTree=(um.b)?um.m.getElementById('udm'):null;if(umTree!=null){if(um.k){um.cleanWhitespace(umTree);um.kn=umTree.childNodes;um.kl=um.kn.length;i=0;do{um.tm=um.gnu(um.kn[i])[0];if(um.tm){um.kn[i].removeChild(um.tm);}i++;}while(i<um.kl);}else if(um.d){um.rep('000',umTree);if(um.s){umTree.style.KhtmlOpacity = "1";}um.s1=(typeof umTree.style.KhtmlOpacity!='undefined');for(i in um.menuCode){um.nh=um.m.getElementById(i);if(um.nh!=null){if(um.mie){um.menuCode[i]=um.menuCode[i].replace(/<\/(li|ul)>/ig,'</$1>\n');}um.nh.innerHTML+=um.menuCode[i];if(um.mie){um.dm=um.gum(um.nh);um.dm.style.display='none';um.dm.style.visibility='hidden';}}}um.cleanWhitespace(umTree);um.st=0;um.kb=(um.kb&&typeof umKM=='function');if(um.kb){um.kbm=new umKM;um.rep('001',um.kbm);if(um.e[8]=='yes'&&um.wie){um.st=1;um.sy=um.m.createStyleSheet();um.sy.addRule('.udm ul','visibility:visible;display:block;margin-top:-100em;width:1px;height:1px;overflow:scroll;',0);document.attachEvent('onmousewheel',function(){if(event.ctrlKey&&um.st){um.sy.disabled=1;um.st=0;}});}}um.sp=(um.sp&&typeof udmSpeechModule=='function');if(um.sp){um.sapi=new udmSpeechModule;um.rep('002',um.sapi);}um.n=new umNav(umTree);um.rep('009',um.n);if(um.fe){um.tr.style.top=(um.getScrollAmount())+'px';window.attachEvent('onscroll',function(){um.tr.style.top=(um.getScrollAmount())+'px';});}um.ready=1;um.rep('010',um.tr);}}}function umNav(umTree){um.n=this;um.tr=umTree;if(um.rg){um.rw=0;}um.li=umTree.getElementsByTagName('li');um.ll=um.li.length;i=0;do{if(um.wl>0){um.tm=um.li[i];if(um.tm.className==''&&um.tm.parentNode.className!='udm'){um.tm=um.gpi(um.tm.parentNode);if(um.tm.className!=''&&um.tm.parentNode.className!='udm'){um.li[i].className=um.tm.className;}}}this.it(um.li[i]);i++;}while(i<um.li.length);if(um.vl>0){um.mo=um.gnu(um.tr);um.moLen=um.mo.length;i=0;do{if(um.mo[i].className==''){um.tm=um.mo[i].parentNode.parentNode;if(um.tm.className!=''&&um.tm.className!='udm'){um.mo[i].className=um.tm.className;}}i++;}while(i<um.moLen);}um.mf=0;if(typeof um.m.addEventListener!=um.un){um.m.addEventListener('mousedown',function(e){um.mf=1;clearInterval(um.oc);um.or=0;um.cam(e);},0);um.m.addEventListener('mouseup',function(e){um.mf=0;},0);}else if(typeof um.m.attachEvent!=um.un){um.m.attachEvent('onmousedown',function(){um.mf=1;clearInterval(um.oc);um.or=0;if(um.wie50&&um.e[13]=='yes'){um.n.ts('visible');}um.cam();});um.m.attachEvent('onmouseup',function(){um.mf=0;});}if(um.kb){um.kbm.bdh();}if(um.rg){this.arw();}um.cc=null,um.cr=0,um.oc=null,um.or=0;if(!um.ie){um.tr.contains=function(umN){if (umN==null){return false;}if (umN==this){return true;}else{return this.contains(umN.parentNode);}};}um.lws=um.getWindowDimensions();um.lh=um.gca(um.tr).offsetHeight;um.vst=setInterval('um.n.wvs()',55);}umNav.prototype.it=function(umI){if(um.kb&&um.wie50){um.tm=um.gca(umI);um.ht=um.tm.outerHTML;if(um.tm.getAttribute('onfocus')!=null){um.ht=um.ht.replace(/onfocus=([\"\'])?/i,'onfocus=$1um.gpi(this).over(1,this);');}else{um.ht=um.ht.replace(/<a/i,'<a onfocus="um.gpi(this).over(1,this)"');}um.tm.outerHTML=um.ht;}um.ii=(umI.parentNode.className=='udm');var umM=null;umM=um.gnu(umI)[0];if(umM!=null&&!(um.mie||um.nm)){if((um.ii&&um.e[45]!='none')||(!um.ii&&um.e[89]!='none')){um.tm=um.gca(umI);if(um.ii){um.ac=(um.ni)?' ':um.e[45];um.aa=(um.ni)?um.e[48]:'';}else{um.ac=(um.mi)?' ':um.e[89];um.aa=(um.mi)?um.e[92]:'';if(typeof um.w[umI.className]!=um.un){if(!um.mi){um.ac=um.w[umI.className][23];}else{um.aa=um.w[umI.className][25];}}}um.at={'class':'udmA','text':um.ac};um.ar=um.createElement('span',um.at);if(um.aa!=''){um.at={'src':um.arShim.src,'alt':um.aa,'title':''};um.ai=um.createElement('img',um.at);um.ar.appendChild(um.ai);}um.tm.appendChild(um.ar);um.ar.onmouseover=function(e){(!e)?event.cancelBubble=1:e.stopPropagation();this.parentNode.style.zIndex=um.e[6]+=2;return false;};um.ar.onmouseout=function(){clearInterval(um.oc);um.or=0;};um.ar.style.display='block';if(um.ii){this.aap(um.ar,umI,um.e[26],um.e[18],1);}}}if(um.mie){um.spn=umI.getElementsByTagName('span')[0];if(typeof um.spn!=um.un){um.spn.onclick=function(){this.parentNode.click();}}}if(um.rg&&umI.parentNode.className=='udm'){um.n.atrw(umI);}if(um.mie){um.tm=um.gca(umI);if(um.tm.className&&/nohref/.test(um.tm.className)){um.gca(umI).href='#';um.gca(umI).onmousedown=function(){return false;};um.gca(umI).onclick=function(){return false;};}}if(um.kb){um.kbm.bth(umI);}if(typeof um.fl==um.un){um.fl=um.gca(umI);}umI.onmouseover=function(e){this.over(0,(um.ie)?event.srcElement:e.target);};umI.onmouseout=function(e){this.out(e);};umI.over=function(umFK,umTA){um.cf=um.n.cck();if(!um.cf||um.mf){um.mf=0;return false;}if(umFK){if(um.sp){um.sapi.speechBuffer(um.gca(umI));event.cancelBubble=1;}um.ha=1;if(um.ie&&event.altKey){um.n.cdk(um.gpi(umTA).parentNode);}um.rep('040',umTA);}else{um.nn=um.cnn(umTA.nodeName).toLowerCase();if(/(li|ul)/.test(um.nn)){return false;}if(um.kb){um.e[10]=um.mt[0];um.e[11]=um.mt[1];um.nextFocus=um.gca(this);if(um.ha){um.n.cdk(umI.parentNode);um.n.cdm(um.gpi(umTA).parentNode);um.nextFocus.focus();um.nextFocus.blur();um.ha=0;}}um.rep('020',umTA);}clearInterval(um.cc);um.cr=0;um.n.lir(um.gca(umI),1);um.n.opp(umM,umI,umFK,umTA);return umI;};umI.out=function(e){if(!e){e=event;e.relatedTarget=e.toElement;}if(!umI.contains(e.relatedTarget)){if(!um.tr.contains(e.relatedTarget)){clearInterval(um.cc);um.cr=0;}um.n.cop(umM,umI);}};if(!um.ie){umI.contains=function(umN){if (umN==null){return false;}if (umN==this){return true;}else{return this.contains(umN.parentNode);}};}um.rep('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;}return (um.sa!='inline'||typeof um.sa==um.un);};umNav.prototype.lir=function(umLJ,umOV){if(umLJ!=null&&typeof umLJ.style!="undefined"&&!(um.p&&um.mx)){um.cl=umLJ.className;if(um.cl==null){um.cl='';}um.ii=(um.gpi(umLJ).parentNode.className=='udm');if(umOV){umLJ.style.zIndex=um.e[6]+=2;(um.cl=='')?umLJ.className='udmR':umLJ.className+=' udmR';}else{umLJ.className=umLJ.className.replace(/([ ]?udmR)/g,'');}um.n.arv(umLJ,um.ii);}};umNav.prototype.opp=function(umMJ,umIJ,umKO,umTR){if(um.st){um.sy.disabled=1;um.st=0;}if(um.kb&&umKO){um.kbm.cpm(umMJ,umIJ,umTR);}if(!um.nm&&umMJ!=null&&umMJ.style.visibility!='visible'){if(um.wie){if(um.e[61]>0){um.gca(umMJ).style.marginTop=um.e[61]+'px';}}(um.kb&&umKO)?um.n.opm(umMJ):um.n.opt(umMJ,null);}if(umMJ==null){um.n.opt(null,umIJ);}};umNav.prototype.opt=function(umMJ,umIJ){if(um.cr){clearInterval(um.oc);um.oj=umMJ;um.ij=umIJ;um.or=1;um.oc=setInterval("um.n.opt(um.oj,um.ij)",um.e[10]);}else if(um.or){clearInterval(um.oc);um.or=0;this.opm(umMJ,umIJ);}else{um.rep('061',umMJ);um.oj=umMJ;um.ij=umIJ;um.or=1;um.oc=setInterval("um.n.opt(um.oj,um.ij)",um.e[10]);}};umNav.prototype.opm=function(umO,umOI){if(umO==null){this.cdm(umOI.parentNode);return false;}this.cdm(um.gpi(umO).parentNode);if(um.wie50&&um.e[13]=='yes'){this.ts('hidden');}umO.style.display='block';if(!um.mie&&um.e[89]!='none'){um.kl=umO.childNodes.length;i=0;do{um.tn=umO.childNodes.item(i);um.nn=um.cnn(um.tn.nodeName).toLowerCase();if(um.nn=='li'){um.ar=um.n.gao(um.gca(um.tn));if(um.ar!=null){this.aap(um.ar,um.tn,um.e[70],0,0);}}i++;}while(i<um.kl);}this.pom(umO);if(um.e[12]=='yes'){this.repom(umO);}um.sh=null;if(!um.ns&&um.e[58]!='none'){this.csl(umO);}if(um.wie55){this.cif(umO);}um.hf=(um.wie55&&umO.filters&&umO.filters.length>0);if(um.hf){umO.filters[0].Apply();}umO.style.visibility='visible';um.plk=um.gca(umO.parentNode);if(um.hf){um.rep('065',umO);umO.filters[0].Play();if(um.sh!=null){umO.onfilterchange=function(){um.sh.style.display='block';um.n.ric(um.plk);um.rep('066',umO);};}}else if(um.sh!=null){um.sh.style.display='block';this.ric(um.plk);}if(um.wie50){umO.style.display='none';umO.style.display='block';}um.rep('060',umO);return umO;};umNav.prototype.ric=function(umCu){if(um.wie){if(umCu.href!=''&&umCu.href!='#'){umCu.style.cursor='hand';}}};umNav.prototype.cdm=function(umRo){um.sm=(um.mie&&!um.mx)?um.gtn(umRo,'ul'):um.gnu(umRo);um.sml=um.sm.length;i=-1;while(++i<um.sml){this.clm(um.sm[i]);}};umNav.prototype.cdk=function(umRo){um.lk=(um.mie&&!um.mx)?um.gtn(umRo,'a'):umRo.getElementsByTagName('a');um.lkl=um.lk.length;i=-1;while(++i<um.lkl){this.lir(um.lk[i],0);}};umNav.prototype.cop=function(umMJ,umFN){clearTimeout(um.oc);um.or=0;this.lir(um.gca(umFN),0);if(!um.nm&&umMJ!=null){this.cot(umMJ);}};umNav.prototype.cot=function(umCM){if(um.cr){clearInterval(um.cc);um.cr=0;this.clm(umCM);}else{um.rep('071',umCM);um.closeObj=umCM;um.cr=1;um.cc=setInterval("um.n.cot(um.closeObj)",um.e[11]);}};umNav.prototype.clm=function(umHi){if(umHi.style.visibility=='visible'){umHi.style.visibility='hidden';umHi.style.display='none';if(um.wie50&&um.e[13]=='yes'){if(umHi.parentNode.parentNode.id=='udm'){this.ts('visible');}}um.tm=['udmC','udmS'];i=0;do{if(um.wie55||i>0){um.t2=umHi.parentNode.lastChild;if(um.t2.className){if(um.t2.className.indexOf(um.tm[i])!=-1){umHi.parentNode.removeChild(um.t2);}}}i++;}while(i<2);um.rep('070',umHi);}};umNav.prototype.gao=function(umLJ){um.tma=null;um.lss=umLJ.getElementsByTagName('span');um.lsl=um.lss.length;j=-1;while(++j<um.lsl){if(um.lss[j].className=='udmA'){um.tma=um.lss[j];break;}}return um.tma;};umNav.prototype.aap=function(umAR,umLN,umPP,umBP,umNA){um.tm=((umPP*2)+umAR.offsetWidth);if(um.a=='right'){um.gca(umLN).style.paddingLeft=um.tm+'px';if(um.wie55){umAR.style.left=(0-((umPP*2)+umAR.offsetWidth))+'px'}if(um.wie50&&umNA){umAR.style.left=(umBP)+'px';}}else{um.gca(umLN).style.paddingRight=um.tm+'px';}};umNav.prototype.arv=function(umLk,umNA){if(um.mie){return false;}um.tma=this.gao(umLk);um.ac=(umNA)?(um.ni)?null:(!/udmR/.test(umLk.className))?um.e[45]:um.e[46]:(um.mi)?null:(!/udmR/.test(umLk.className))?um.e[89]:um.e[90];if(!umNA&&!um.mi){if(typeof um.w[um.gpi(umLk).className]!=um.un){um.ac=(!/udmR/.test(umLk.className))?um.w[um.gpi(umLk).className][23]:um.w[um.gpi(umLk).className][24];}}if(um.tma!=null&&um.ac!=null){if(um.cns){um.tma.removeChild(um.tma.firstChild);um.arText=um.m.createTextNode(um.ac);um.tma.appendChild(um.arText);}else{um.tma.innerText=um.ac;}}return um.tma;};umNav.prototype.pom=function(umPM){um.tm=umPM.parentNode;um.pp={tw:um.tm.offsetWidth,th:um.tm.offsetHeight,mw:umPM.offsetWidth,pw:um.tm.parentNode.offsetWidth};um.is=(umPM.parentNode.parentNode.className=='udm');um.x=(um.p)?2000:0;um.y=(um.p)?2000:0;if(!((um.h||um.p)&&um.is)){if(um.a=='right'){um.x=(um.is)?(0-um.pp.mw):(0-um.pp.mw-um.e[51]-um.e[55]);}else{um.x=(um.is)?um.pp.pw:(um.pp.pw-um.e[51]-um.e[55]);}um.y=(0-um.pp.th);}else if(um.h&&um.is&&um.a=='right'){um.x=(0-um.pp.mw+um.pp.tw);}if(um.a=='right'){um.x+=(um.is)?(0-um.e[14]):(0-um.e[49]);}else{um.x+=(um.is)?um.e[14]:um.e[49];}um.y+=(um.is)?(um.e[2]=='bottom')?(0-um.e[15]):um.e[15]:um.e[50];if(um.h&&um.is){if(um.e[2]=='bottom'){um.y-=(umPM.offsetHeight+um.pp.th);}if((um.s&&!um.s1)&&um.rp){um.x+=um.getRealPosition(um.tr,'x');um.y+=um.getRealPosition(um.tr,'y');}if(um.mie){um.x-=um.pp.tw;um.y+=um.pp.th;}}umPM.style.marginLeft=um.x+'px';umPM.style.marginTop=um.y+'px';if(um.wie50){umPM.style.display='none';umPM.style.display='block';}};umNav.prototype.repom=function(umRM,umRS){um.wz=um.getWindowDimensions();um.mp={x:um.getRealPosition(umRM,'x'),y:um.getRealPosition(umRM,'y'),w:umRM.offsetWidth,h:umRM.offsetHeight,pw:umRM.parentNode.parentNode.offsetWidth,m:32,nx:-1,ny:-1,sc:um.getScrollAmount()};um.is=(umRM.parentNode.parentNode.className=='udm');if(um.s){um.mp.x-=um.m.body.offsetLeft;um.mp.y-=um.m.body.offsetTop;}else if(um.mie){um.mp.x-=(um.e[55]+um.e[51]);um.mp.y-=(um.e[55]+um.e[51]);}else{um.tm=umRM;while(um.tm.parentNode.parentNode.className!='udm'){um.mp.x+=um.e[51];um.mp.y+=um.e[51];um.tm=um.tm.parentNode.parentNode;}}if(!um.ie&&um.e[3]=='fixed'&&um.is){um.mp.y+=um.mp.sc;}if((um.mp.x+um.mp.w)>(um.wz.x-um.mp.m)){if(um.is){um.mp.nx=(0-((um.mp.x+um.mp.w)-(um.wz.x-um.mp.m)));}else{um.mp.nx=(0-um.mp.w-um.e[55]-um.e[51]-um.e[49]);if(um.p){um.mp.nx=(0-um.mp.w-um.mp.pw+um.e[55]-um.e[49]-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.tm=umRM.parentNode;um.y=um.getRealPosition(um.tm,'y');while(um.tm.parentNode.className!='udm'){um.y+=um.e[51];um.tm=um.tm.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){umRM.style.left=um.mp.nx+'px';}else{umRM.style.marginLeft=um.mp.nx+'px';}um.rep('110',umRM);}if(um.mp.ny!=-1){if(um.p&&umRM.parentNode.parentNode.className=='udm'){umRM.style.marginTop=(2000-um.yd)+'px';}else{umRM.style.marginTop=um.mp.ny+'px';}um.rep('120',umRM);}um.tm=umRM;um.y=um.getRealPosition(um.tm,'y')-um.mp.sc;while(um.tm.parentNode.parentNode.className!='udm'){um.y+=um.e[51];um.tm=um.tm.parentNode.parentNode;}if(um.f){um.y+=um.mp.sc;}if(um.y<0){um.mp.ny=um.pi(umRM.style.marginTop);if(isNaN(um.mp.ny)){um.mp.ny=0;}umRM.style.marginTop=(um.mp.ny-um.y)+'px';}um.tm=umRM;um.x=um.getRealPosition(um.tm,'x');while(um.tm.parentNode.parentNode.className!='udm'){um.x+=um.e[51];um.tm=um.tm.parentNode.parentNode;}if(um.x<0){umRM.style.marginLeft=(um.p&&umRM.parentNode.parentNode.className=='udm')?'2000px':'0';umRM.style.left='0';}};umNav.prototype.csl=function(umHM){um.at={'class':'udmS'};um.sh=um.createElement('span',um.at);umHM.parentNode.appendChild(um.sh);if(umHM.className!=''){um.cn=umHM.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=umHM.offsetWidth+'px';um.sh.style.height=umHM.offsetHeight+'px';um.mp={x:(umHM.offsetLeft),y:(umHM.offsetTop)};um.is=(um.sh.parentNode.parentNode.className=='udm');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.cif=function(umIF){um.at={'class':'udmC'};um.co=um.createElement('iframe',um.at);umIF.parentNode.appendChild(um.co);um.co.style.width=umIF.offsetWidth+'px';um.co.style.height=umIF.offsetHeight+'px';um.co.style.left=umIF.offsetLeft+'px';um.co.style.top=umIF.offsetTop+'px';};umNav.prototype.atrw=function(umAI){um.rw+=umAI.offsetWidth;if(um.e[17]==0&&um.e[19]=='collapse'){um.rw-=um.e[18];}else{um.rw+=um.e[17];}};umNav.prototype.arw=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.gpi(um.gca(um.tr)).offsetLeft+um.getRealPosition(um.tr,'x'));}if(um.mie){um.rw*=1.05;}}um.tr.style.width=um.rw+'px';if(um.mie){um.tr.style.height=um.gca(um.tr).offsetHeight+'px';}};umNav.prototype.ts=function(umSH){um.se=um.m.getElementsByTagName('select');um.sl=um.se.length;if(um.sl>0){i=0;do{um.se[i++].style.visibility=umSH;}while(i<um.sl);um.rep((umSH=='hidden')?'067':'077',um.se);}};umNav.prototype.wvs=function(){clearInterval(um.vst);um.ch=um.gca(um.tr).offsetHeight;um.cz=um.getWindowDimensions();if((um.ch!=um.lh)||(um.cz.x!=um.lws.x)||(um.cz.y!=um.lws.y)){if(um.st){um.sy.disabled=1;um.st=0;}this.cdk(um.tr);this.cdm(um.tr);if(um.kb){um.ha=0;}if(um.rg&&(um.ch!=um.lh)){um.rw=0;um.kn=um.tr.childNodes;um.kl=um.kn.length;i=0;do{if(um.kn[i].nodeName!='#text'){this.atrw(um.kn[i]);}i++;}while(i<um.kl);this.arw();}um.lws=um.cz;um.lh=um.ch;}um.vst=setInterval('um.n.wvs()',55);};um.cnn=function(umNN){return umNN.replace(/html[:]+/,'');};um.gtn=function(umRT,umTG,umCE){if(!umCE){umCE=[];}for(var i=0;i<umRT.childNodes.length;i++){if(umRT.childNodes[i].nodeName.toUpperCase()==umTG.toUpperCase()||umTG=="*"){umCE[umCE.length]=umRT.childNodes[i];}umCE=um.gtn(umRT.childNodes[i],umTG,umCE);}return umCE;};um.gpi=function(umRI){if(um.cnn(umRI.nodeName).toLowerCase()=='li'){return umRI;}else{return this.gpi(umRI.parentNode)}};um.gca=function(umRA){return umRA.getElementsByTagName('a')[0];};um.gnu=function(umRU){return umRU.getElementsByTagName('ul');};um.gum=function(umRU){um.mu=null;um.mnd=umRU.childNodes;um.mnl=um.mnd.length;i=0;do{um.nn=um.cnn(um.mnd[i].nodeName).toLowerCase();if(um.nn=='ul'){um.mu=um.mnd[i];break;}i++;}while(i<um.mnl);return um.mu;};um.cleanWhitespace=function(umN){if(um.mie){return false;}for (var x=0;x<umN.childNodes.length;x++){um.kd=umN.childNodes[x];if((um.kd.nodeType==3)&&(!/\S/.test(um.kd.nodeValue))){umN.removeChild(umN.childNodes[x]);x--;}if(um.kd.nodeType==1){um.cleanWhitespace(um.kd);}}return umN;};um.getWindowDimensions=function(){if(typeof window.innerWidth!=um.un){um.wz={x:window.innerWidth,y:window.innerHeight};}else if(um.q){um.wz={x:um.m.body.clientWidth,y:um.m.body.clientHeight};}else{um.wz={x:um.m.documentElement.offsetWidth,y:um.m.documentElement.offsetHeight};}return um.wz;};um.getScrollAmount=function(){if(typeof window.pageYOffset!=um.un){um.sc=window.pageYOffset;}else if(um.q){um.sc=um.m.body.scrollTop;}else{um.sc=um.m.documentElement.scrollTop;}return um.sc;};um.getRealPosition=function(umEL,umAX){um.ps=(umAX=='x')?umEL.offsetLeft:umEL.offsetTop;um.te=umEL.offsetParent;while(um.te!=null){um.ps+=(umAX=='x')?um.te.offsetLeft:um.te.offsetTop;um.te=um.te.offsetParent;}return um.ps;};um.cam=function(e){if(!e){e=window.event;}if(!um.tr.contains(e.target||e.srcElement)||e.keyCode){um.n.cdm(um.tr);um.n.cdk(um.tr);if(um.kb){um.ha=0;}}};um.activateMenu=function(umNID,umXP,umYP){var umVN=um.m.getElementById(umNID);if(umVN!=null){um.vm=um.gum(umVN);if(um.vm!=null){um.n.cdm(umVN);um.n.opp(um.vm,umVN,0);um.vm.style.left=umXP;um.vm.style.top=umYP;}}};um.deactivateMenu=function(umNID){var umVN=um.m.getElementById(umNID);if(umVN!=null){um.n.cop(um.gum(umVN),umVN);}};       



/*	Unobtrusive Flash Objects (UFO) v3.22 <http://www.bobbyvandersluis.com/ufo/>
	Copyright 2005-2007 Bobby van der Sluis
	This software is licensed under the CC-GNU LGPL <http://creativecommons.org/licenses/LGPL/2.1/>
*/

var UFO = {
	req: ["movie", "width", "height", "majorversion", "build"],
	opt: ["play", "loop", "menu", "quality", "scale", "salign", "wmode", "bgcolor", "base", "flashvars", "devicefont", "allowscriptaccess", "seamlesstabbing", "allowfullscreen", "allownetworking"],
	optAtt: ["id", "name", "align"],
	optExc: ["swliveconnect"],
	ximovie: "ufo.swf",
	xiwidth: "215",
	xiheight: "138",
	ua: navigator.userAgent.toLowerCase(),
	pluginType: "",
	fv: [0,0],
	foList: [],
		
	create: function(FO, id) {
		if (!UFO.uaHas("w3cdom") || UFO.uaHas("ieMac")) return;
		UFO.getFlashVersion();
		UFO.foList[id] = UFO.updateFO(FO);
		UFO.createCSS("#" + id, "visibility:hidden;");
		UFO.domLoad(id);
	},

	updateFO: function(FO) {
		if (typeof FO.xi != "undefined" && FO.xi == "true") {
			if (typeof FO.ximovie == "undefined") FO.ximovie = UFO.ximovie;
			if (typeof FO.xiwidth == "undefined") FO.xiwidth = UFO.xiwidth;
			if (typeof FO.xiheight == "undefined") FO.xiheight = UFO.xiheight;
		}
		FO.mainCalled = false;
		return FO;
	},

	domLoad: function(id) {
		var _t = setInterval(function() {
			if ((document.getElementsByTagName("body")[0] != null || document.body != null) && document.getElementById(id) != null) {
				UFO.main(id);
				clearInterval(_t);
			}
		}, 250);
		if (typeof document.addEventListener != "undefined") {
			document.addEventListener("DOMContentLoaded", function() { UFO.main(id); clearInterval(_t); } , null); // Gecko, Opera 9+
		}
	},

	main: function(id) {
		var _fo = UFO.foList[id];
		if (_fo.mainCalled) return;
		UFO.foList[id].mainCalled = true;
		document.getElementById(id).style.visibility = "hidden";
		if (UFO.hasRequired(id)) {
			if (UFO.hasFlashVersion(parseInt(_fo.majorversion, 10), parseInt(_fo.build, 10))) {
				if (typeof _fo.setcontainercss != "undefined" && _fo.setcontainercss == "true") UFO.setContainerCSS(id);
				UFO.writeSWF(id);
			}
			else if (_fo.xi == "true" && UFO.hasFlashVersion(6, 65)) {
				UFO.createDialog(id);
			}
		}
		document.getElementById(id).style.visibility = "visible";
	},
	
	createCSS: function(selector, declaration) {
		var _h = document.getElementsByTagName("head")[0]; 
		var _s = UFO.createElement("style");
		if (!UFO.uaHas("ieWin")) _s.appendChild(document.createTextNode(selector + " {" + declaration + "}")); // bugs in IE/Win
		_s.setAttribute("type", "text/css");
		_s.setAttribute("media", "screen"); 
		_h.appendChild(_s);
		if (UFO.uaHas("ieWin") && document.styleSheets && document.styleSheets.length > 0) {
			var _ls = document.styleSheets[document.styleSheets.length - 1];
			if (typeof _ls.addRule == "object") _ls.addRule(selector, declaration);
		}
	},
	
	setContainerCSS: function(id) {
		var _fo = UFO.foList[id];
		var _w = /%/.test(_fo.width) ? "" : "px";
		var _h = /%/.test(_fo.height) ? "" : "px";
		UFO.createCSS("#" + id, "width:" + _fo.width + _w +"; height:" + _fo.height + _h +";");
		if (_fo.width == "100%") {
			UFO.createCSS("body", "margin-left:0; margin-right:0; padding-left:0; padding-right:0;");
		}
		if (_fo.height == "100%") {
			UFO.createCSS("html", "height:100%; overflow:hidden;");
			UFO.createCSS("body", "margin-top:0; margin-bottom:0; padding-top:0; padding-bottom:0; height:100%;");
		}
	},

	createElement: function(el) {
		return (UFO.uaHas("xml") && typeof document.createElementNS != "undefined") ?  document.createElementNS("http://www.w3.org/1999/xhtml", el) : document.createElement(el);
	},

	createObjParam: function(el, aName, aValue) {
		var _p = UFO.createElement("param");
		_p.setAttribute("name", aName);	
		_p.setAttribute("value", aValue);
		el.appendChild(_p);
	},

	uaHas: function(ft) {
		var _u = UFO.ua;
		switch(ft) {
			case "w3cdom":
				return (typeof document.getElementById != "undefined" && typeof document.getElementsByTagName != "undefined" && (typeof document.createElement != "undefined" || typeof document.createElementNS != "undefined"));
			case "xml":
				var _m = document.getElementsByTagName("meta");
				var _l = _m.length;
				for (var i = 0; i < _l; i++) {
					if (/content-type/i.test(_m[i].getAttribute("http-equiv")) && /xml/i.test(_m[i].getAttribute("content"))) return true;
				}
				return false;
			case "ieMac":
				return /msie/.test(_u) && !/opera/.test(_u) && /mac/.test(_u);
			case "ieWin":
				return /msie/.test(_u) && !/opera/.test(_u) && /win/.test(_u);
			case "gecko":
				return /gecko/.test(_u) && !/applewebkit/.test(_u);
			case "opera":
				return /opera/.test(_u);
			case "safari":
				return /applewebkit/.test(_u);
			default:
				return false;
		}
	},
	
	getFlashVersion: function() {
		if (UFO.fv[0] != 0) return;  
		if (navigator.plugins && typeof navigator.plugins["Shockwave Flash"] == "object") {
			UFO.pluginType = "npapi";
			var _d = navigator.plugins["Shockwave Flash"].description;
			if (typeof _d != "undefined") {
				_d = _d.replace(/^.*\s+(\S+\s+\S+$)/, "$1");
				var _m = parseInt(_d.replace(/^(.*)\..*$/, "$1"), 10);
				var _r = /r/.test(_d) ? parseInt(_d.replace(/^.*r(.*)$/, "$1"), 10) : 0;
				UFO.fv = [_m, _r];
			}
		}
		else if (window.ActiveXObject) {
			UFO.pluginType = "ax";
			try { // avoid fp 6 crashes
				var _a = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
			}
			catch(e) {
				try { 
					var _a = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
					UFO.fv = [6, 0];
					_a.AllowScriptAccess = "always"; // throws if fp < 6.47 
				}
				catch(e) {
					if (UFO.fv[0] == 6) return;
				}
				try {
					var _a = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
				}
				catch(e) {}
			}
			if (typeof _a == "object") {
				var _d = _a.GetVariable("$version"); // bugs in fp 6.21/6.23
				if (typeof _d != "undefined") {
					_d = _d.replace(/^\S+\s+(.*)$/, "$1").split(",");
					UFO.fv = [parseInt(_d[0], 10), parseInt(_d[2], 10)];
				}
			}
		}
	},

	hasRequired: function(id) {
		var _l = UFO.req.length;
		for (var i = 0; i < _l; i++) {
			if (typeof UFO.foList[id][UFO.req[i]] == "undefined") return false;
		}
		return true;
	},
	
	hasFlashVersion: function(major, release) {
		return (UFO.fv[0] > major || (UFO.fv[0] == major && UFO.fv[1] >= release)) ? true : false;
	},

	writeSWF: function(id) {
		var _fo = UFO.foList[id];
		var _e = document.getElementById(id);
		if (UFO.pluginType == "npapi") {
			if (UFO.uaHas("gecko") || UFO.uaHas("xml")) {
				while(_e.hasChildNodes()) {
					_e.removeChild(_e.firstChild);
				}
				var _obj = UFO.createElement("object");
				_obj.setAttribute("type", "application/x-shockwave-flash");
				_obj.setAttribute("data", _fo.movie);
				_obj.setAttribute("width", _fo.width);
				_obj.setAttribute("height", _fo.height);
				var _l = UFO.optAtt.length;
				for (var i = 0; i < _l; i++) {
					if (typeof _fo[UFO.optAtt[i]] != "undefined") _obj.setAttribute(UFO.optAtt[i], _fo[UFO.optAtt[i]]);
				}
				var _o = UFO.opt.concat(UFO.optExc);
				var _l = _o.length;
				for (var i = 0; i < _l; i++) {
					if (typeof _fo[_o[i]] != "undefined") UFO.createObjParam(_obj, _o[i], _fo[_o[i]]);
				}
				_e.appendChild(_obj);
			}
			else {
				var _emb = "";
				var _o = UFO.opt.concat(UFO.optAtt).concat(UFO.optExc);
				var _l = _o.length;
				for (var i = 0; i < _l; i++) {
					if (typeof _fo[_o[i]] != "undefined") _emb += ' ' + _o[i] + '="' + _fo[_o[i]] + '"';
				}
				_e.innerHTML = '<embed type="application/x-shockwave-flash" src="' + _fo.movie + '" width="' + _fo.width + '" height="' + _fo.height + '" pluginspage="http://www.macromedia.com/go/getflashplayer"' + _emb + '></embed>';
			}
		}
		else if (UFO.pluginType == "ax") {
			var _objAtt = "";
			var _l = UFO.optAtt.length;
			for (var i = 0; i < _l; i++) {
				if (typeof _fo[UFO.optAtt[i]] != "undefined") _objAtt += ' ' + UFO.optAtt[i] + '="' + _fo[UFO.optAtt[i]] + '"';
			}
			var _objPar = "";
			var _l = UFO.opt.length;
			for (var i = 0; i < _l; i++) {
				if (typeof _fo[UFO.opt[i]] != "undefined") _objPar += '<param name="' + UFO.opt[i] + '" value="' + _fo[UFO.opt[i]] + '" />';
			}
			var _p = window.location.protocol == "https:" ? "https:" : "http:";
			_e.innerHTML = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' + _objAtt + ' width="' + _fo.width + '" height="' + _fo.height + '" codebase="' + _p + '//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=' + _fo.majorversion + ',0,' + _fo.build + ',0"><param name="movie" value="' + _fo.movie + '" />' + _objPar + '</object>';
		}
	},
		
	createDialog: function(id) {
		var _fo = UFO.foList[id];
		UFO.createCSS("html", "height:100%; overflow:hidden;");
		UFO.createCSS("body", "height:100%; overflow:hidden;");
		UFO.createCSS("#xi-con", "position:absolute; left:0; top:0; z-index:1000; width:100%; height:100%; background-color:#fff; filter:alpha(opacity:75); opacity:0.75;");
		UFO.createCSS("#xi-dia", "position:absolute; left:50%; top:50%; margin-left: -" + Math.round(parseInt(_fo.xiwidth, 10) / 2) + "px; margin-top: -" + Math.round(parseInt(_fo.xiheight, 10) / 2) + "px; width:" + _fo.xiwidth + "px; height:" + _fo.xiheight + "px;");
		var _b = document.getElementsByTagName("body")[0];
		var _c = UFO.createElement("div");
		_c.setAttribute("id", "xi-con");
		var _d = UFO.createElement("div");
		_d.setAttribute("id", "xi-dia");
		_c.appendChild(_d);
		_b.appendChild(_c);
		var _mmu = window.location;
		if (UFO.uaHas("xml") && UFO.uaHas("safari")) {
			var _mmd = document.getElementsByTagName("title")[0].firstChild.nodeValue = document.getElementsByTagName("title")[0].firstChild.nodeValue.slice(0, 47) + " - Flash Player Installation";
		}
		else {
			var _mmd = document.title = document.title.slice(0, 47) + " - Flash Player Installation";
		}
		var _mmp = UFO.pluginType == "ax" ? "ActiveX" : "PlugIn";
		var _uc = typeof _fo.xiurlcancel != "undefined" ? "&xiUrlCancel=" + _fo.xiurlcancel : "";
		var _uf = typeof _fo.xiurlfailed != "undefined" ? "&xiUrlFailed=" + _fo.xiurlfailed : "";
		UFO.foList["xi-dia"] = { movie:_fo.ximovie, width:_fo.xiwidth, height:_fo.xiheight, majorversion:"6", build:"65", flashvars:"MMredirectURL=" + _mmu + "&MMplayerType=" + _mmp + "&MMdoctitle=" + _mmd + _uc + _uf };
		UFO.writeSWF("xi-dia");
	},

	expressInstallCallback: function() {
		var _b = document.getElementsByTagName("body")[0];
		var _c = document.getElementById("xi-con");
		_b.removeChild(_c);
		UFO.createCSS("body", "height:auto; overflow:auto;");
		UFO.createCSS("html", "height:auto; overflow:auto;");
	},

	cleanupIELeaks: function() {
		var _o = document.getElementsByTagName("object");
		var _l = _o.length
		for (var i = 0; i < _l; i++) {
			_o[i].style.display = "none";
			for (var x in _o[i]) {
				if (typeof _o[i][x] == "function") {
					_o[i][x] = null;
				}
			}
		}
	}

};

if (typeof window.attachEvent != "undefined" && UFO.uaHas("ieWin")) {
	window.attachEvent("onunload", UFO.cleanupIELeaks);
}  


function getVar(name)
         {
         get_string = document.location.search;         
         return_value = '';
         
         do { //This loop is made to catch all instances of any get variable.
            name_index = get_string.indexOf(name + '=');
            
            if(name_index != -1)
              {
              get_string = get_string.substr(name_index + name.length + 1, get_string.length - name_index);
              
              end_of_value = get_string.indexOf('&');
              if(end_of_value != -1)                
                value = get_string.substr(0, end_of_value);                
              else                
                value = get_string;                
                
              if(return_value == '' || value == '')
                 return_value += value;
              else
                 return_value += ', ' + value;
              }
            } while(name_index != -1)
            
         //Restores all the blank spaces.
         space = return_value.indexOf('+');
         while(space != -1)
              { 
              return_value = return_value.substr(0, space) + ' ' + 
              return_value.substr(space + 1, return_value.length);
							 
              space = return_value.indexOf('+');
              }
          
         return(return_value);        
         }

