/* Compiled from X 4.18 by XC 1.06.01 on 17Jul07 */
xLibrary={version:'4.18',license:'GNU LGPL',url:'http://www.yahoo.com'};function xAddEventListener(e,eT,eL,cap){if(!(e=xGetElementById(e)))return;eT=eT.toLowerCase();if(e.addEventListener)e.addEventListener(eT,eL,cap||false);else if(e.attachEvent)e.attachEvent('on'+eT,eL);else{var o=e['on'+eT];e['on'+eT]=typeof o=='function'?function(v){o(v);eL(v);}:eL;}}function xFirstChild(e,t){e=xGetElementById(e);var c=e?e.firstChild:null;while(c){if(c.nodeType==1&&(!t||c.nodeName.toLowerCase()==t.toLowerCase())){break;}c=c.nextSibling;}return c;}function xGetElementById(e){if(typeof(e)=='string'){if(document.getElementById)e=document.getElementById(e);else if(document.all)e=document.all[e];else e=null;}return e;}function xNextSib(e,t){e=xGetElementById(e);var s=e?e.nextSibling:null;while(s){if(s.nodeType==1&&(!t||s.nodeName.toLowerCase()==t.toLowerCase())){break;}s=s.nextSibling;}return s;}function xWalkUL(pu,d,f,lv){var r,cu,li=xFirstChild(pu);if(!lv){lv=0;}while(li){cu=xFirstChild(li,'ul');r=f(pu,li,cu,d,lv);if(cu){if(!r||!xWalkUL(cu,d,f,lv+1)){return 0;};}li=xNextSib(li);}return 1;}
/* Application */
function VerticalMenu(sUlId,sMainUlClass,sSubUlClass,sLblLiClass,sItmLiClass,sLblAClass,sItmAClass,sPlusImg,sMinusImg,sImgClass,bLblIsItm,sActiveId){var me=this;VerticalMenu.instances[sUlId]=this;this.ul=xGetElementById(sUlId);this.pImg=sPlusImg;this.mImg=sMinusImg;function click(e){if(this.xmChildUL){var s,uls=this.xmChildUL.style;if(uls.display!='block'){s=sMinusImg;uls.display='block';xWalkUL(this.xmParentUL,this.xmChildUL,function(p,li,c,d){if(c&&c!=d&&c.style.display!='none'){if(sPlusImg){var a=xFirstChild(li,'a');xFirstChild(a,'img').src=sPlusImg;}c.style.display='none';}return true;});}else{s=sPlusImg;uls.display='none';}if(sPlusImg){xFirstChild(this,'img').src=s;}if(typeof this.blur()=='function'){this.blur();}e=e||window.event;var t=e.target||e.srcElement;if(t.nodeName.toLowerCase()!='img'&&bLblIsItm){return true;}return false;}return true;}this.ul.className=sMainUlClass;var pgH=window.location.href.substr(window.location.href.lastIndexOf("/")+1).toLowerCase();if(pgH.indexOf('#')==pgH.length-1){pgH=pgH.replace(/#$/,'');}xWalkUL(this.ul,null,function(p,li,c){var liCls=sItmLiClass,aCls=sItmAClass;var h,a=xFirstChild(li,'a');if(a){var m='Click to toggle sub-menu';if(c){if(sPlusImg){var i=document.createElement('img');i.title=m;a.insertBefore(i,a.firstChild);i.src=sPlusImg;i.className=sImgClass;}aCls=sLblAClass;liCls=sLblLiClass;c.className=sSubUlClass;c.style.display='none';a.title=bLblIsItm?'Click to follow link':m;a.xmParentUL=p;a.xmChildUL=c;a.onclick=click;}a.className=aCls;if(sActiveId){h=a.href.substr(a.href.lastIndexOf("/")+1).toLowerCase();if(pgH==h){a.id=sActiveId;}}}li.className=liCls;return true;});this.open(sActiveId);this.ul.style.visibility='visible';this.ul.style.display='block';xAddEventListener(window,'unload',function(){xWalkUL(me.ul,null,function(p,li,c){var a=xFirstChild(li,'a');if(a&&c){a.xmParentUL=a.xmChildUL=a.onclick=null;}return true;});},false);}VerticalMenu.prototype.open=function(id){var img,ul,li,a=xGetElementById(id);while(a&&ul!=this.ul){ul=a.xmChildUL;if(ul){ul.style.display='block';if(this.pImg){img=xFirstChild(a,'img');if(img){img.src=this.mImg;}}}li=a.parentNode;ul=li.parentNode;li=ul.parentNode;a=xFirstChild(li,'a');}};VerticalMenu.instances={};(function(){var e,h;if(document.getElementsByTagName&&document.createElement){h=document.getElementsByTagName('head');e=document.createElement('link');if(h&&h.length&&e){e.rel='stylesheet';e.type='text/css';e.href='xmenu.css';h[0].appendChild(e);xAddEventListener(window,'load',function(){var i=1,e=xGetElementById('xMenu6_1');while(e){new VerticalMenu(e.id,'xmMainUL','xmSubUL','xmLblLI','xmItmLI','xmLblA','xmItmA','right_arrow_13x13.gif','down_arrow_13x13.gif','xmImg',false,'ActiveMenuItem'+i);e=xGetElementById('xMenu6_'+(++i));}},false);}}})();
