/*

Milonic DHTML Menu - A JavaScript Website Navigation System.
Version 5.0 Release Candidate 6.0 Built: Wed August 20 2003 - 17:12
Copyright 2003 (c) Milonic Solutions Limited. All Rights Reserved.
This is a commercial application, please visit http://www.milonic.com/ for more information about its use.
See http://www.milonic.com/license.php for Commercial License Agreement
Non profit use of this menu system is free of charge. All Copyright statements must always remain in place
*******  PLEASE NOTE: THIS IS NOT FREE SOFTWARE, IT MUST BE LICENSED FOR ALL USE  ******* 

License Number: Un-Licensed

*/


_MTF=0;_onTS=0;var _cel=-1;function gmobj(mtxt){if(_d.layers[mtxt])return _d.layers[mtxt];re=/\d*\d/;fnd=re.exec(mtxt);if(_d.layers["menu"+_mi[fnd][0]]){return _d.layers["menu"+_mi[fnd][0]].document.layers["il"+fnd].document.layers[mtxt]}else{return document.layers["il"+fnd].document.layers[mtxt]}}function spos(gm,t_,l_,h_,w_){if(t_!=null)gm.top=t_;if(l_!=null)gm.left=l_;if(h_!=null)gm.height=h_;if(w_!=null)gm.width=w_}function gpos(gm){var gpa=new Array();gpa[0]=gm.pageY;gpa[1]=gm.pageX;gpa[2]=gm.clip.height;gpa[3]=gm.clip.width;return(gpa)}function dc(){_i=nshl;if(_i>-1){if(_mi[_i][2]){location.href=_mi[_i][2]}else{if(_mi[_i][39]||_mi[_i][40]){_nullLink(_i)}}}}function _nullLink(_i){if(_mi[_i][3]){_oldMC=_mi[_i][39];_mi[_i][39]=0;_oldMD=_menuOpenDelay;_menuOpenDelay=0;_gm=gmobj("menu"+getMenuByName(_mi[_i][3]));if(_gm.visibility=="show"&&_mi[_i][40]){menuDisplay(getMenuByName(_mi[_i][3]),0);itemOn(_i)}else{_popi(_i)}_menuOpenDelay=_oldMD;_mi[_i][39]=_oldMC}}function itemOn(_i){clearTimeout(_scrmt);if(_mi[_i][34]=="header"||_mi[_i][34]=="form")return;_gm=gmobj("oel"+_i);_gm.visibility="show"}function itemOff(_i){if(_el>-1){_gm=gmobj("oel"+_i);_gm.visibility="hide"}}function drawItem(_i){_Tmt="";_mnu=_mi[_i][0];var _M=_m[_mnu];var _mE=_mi[_i];if(!_mi[_i][33])_mi[_i][33]="none";if(!_mi[_i][26])_mi[_i][26]="none";if(!_mi[_i][14])_mi[_i][14]="normal";_st="";_cl="classes.item"+_i+".all.";if(_mi[_i][33])_st+=_cl+"textDecoration='"+_mi[_i][33]+"';";if(_mi[_i][15])_st+=_cl+"fontFamily='"+_mi[_i][15]+"';";if(_mi[_i][14])_st+=_cl+"fontWeight='"+_mi[_i][14]+"';";if(_mi[_i][12])_st+=_cl+"fontSize='"+_mi[_i][12]+"';";_cl="classes.oitem"+_i+".all.";_st+=_cl+"textDecoration=\"underline\";";if(_mi[_i][15])_st+=_cl+"fontFamily='"+_mi[_i][15]+"';";if(_mi[_i][14])_st+=_cl+"fontWeight='"+_mi[_i][14]+"';";if(_mi[_i][33])_st+=_cl+"textDecoration='"+_mi[_i][33]+"';";if(_mi[_i][44])_st+=_cl+"fontWeight='bold';";if(_mi[_i][45])_st+=_cl+"fontStyle='italic';";if(_mi[_i][12])_st+=_cl+"fontSize='"+_mi[_i][12]+"';";if(_mi[_i][26])_st+=_cl+"textDecoration='"+_mi[_i][26]+"';";_d.write("<style type=text/JavaScript>"+_st+"</style>");_lnk="javascript:_nullLink("+_i+");";if(_mi[_i][2])_lnk=_mi[_i][2];_wid="";if(_M[4])_wid="width="+_M[4];if(_mi[_i][55])_wid="width="+_mi[_i][55];_hgt="";if(_M[28]){_hgt="height="+_M[28]}if(_mi[_i][28]){_hgt="height="+_mi[_i][28]}_pad="0";if(_mE[11])_pad=_mE[11];if(_mi[_i][34]=="header"){if(_mi[_i][20])_mi[_i][7]=_mi[_i][20];if(_mi[_i][20])_mi[_i][8]=_mi[_i][21]}_bgc="";if(_mi[_i][7])_bgc="bgcolor="+_mi[_i][7];_fgc="";if(_mi[_i][8])_fgc="<font color="+_mi[_i][8]+">";_bgbc="";if(_mi[_i][5])_bgbc="bgcolor="+_mi[_i][5];_fgbc="";if(_mi[_i][6])_fgbc="<font color="+_mi[_i][6]+">";_algn="";if(_m[_mnu][9])_algn=" align="+_m[_mnu][9];if(_mi[_i][36])_algn=" align="+_mi[_i][36];_nw="";if(!_m[_mnu][4])_nw=" nowrap ";_iMS="";_iME="";if(_lnk){_iMS="<a href=\""+_lnk+"\" onMouseOver=\"set_status("+_i+");return true\">";_iME="</a>"}_Lsimg="";_Rsimg="";_LsimgO="";_RsimgO="";_itrs="";_itre="";if(_mi[_i][3]&&_mi[_i][24]){_subIR=0;if(_m[_mnu][15]=="rtl")_subIR=1;_img=_iMS+"<img border=0 src="+_mi[_i][24]+">"+_iME;_oimg=_img;if(_mi[_i][48])_oimg=_iMS+"<img border=0 src="+_mi[_i][48]+">"+_iME;_simgP="";if(_mi[_i][22])_simgP=_mi[_i][22];_imps="";if(_mi[_i][23]){_iA="";_ivA="";_imP=_mi[_i][23].split(" ");for(_ia=0;_ia<_imP.length;_ia++){if(_imP[_ia]=="left")_subIR=1;if(_imP[_ia]=="right")_subIR=0;if(_imP[_ia]=="top"||_imP[_ia]=="bottom"||_imP[_ia]=="middle"){_ivA="valign="+_imP[_ia];if(_imP[_ia]=="top")_subIR=1;if(_imP[_ia]=="bottom")_subIR=0}if(_imP[_ia]=="center"){_itrs="<tr>";_itre="</tr>";_iA="align=center"}}_imps=_iA+" "+_ivA}_its=_itrs+"<td "+_imps+"><table border=0 cellspacing="+_simgP+" cellpadding=0><td>";_ite="</td></table></td>"+_itre;if(_subIR)_Lsimg=_its+_img+_ite;else _Rsimg=_its+_img+_ite;if(_subIR)_LsimgO=_its+_oimg+_ite;else _RsimgO=_its+_oimg+_ite}_Limg="";_Rimg="";_LimgO="";_RimgO="";if(_mi[_i][29]){_iA="";_ivA="";_imps="";_Iwid="";if(_mi[_i][37])_Iwid=" width="+_mi[_i][37];_Ihgt="";if(_mi[_i][38])_Ight=" height="+_mi[_i][38];_img=_iMS+"<img "+_Iwid+_Ihgt+" border=0 src="+_mi[_i][29]+">"+_iME;_oimg=_img;if(_mi[_i][32])_oimg=_iMS+"<img "+_Iwid+_Ihgt+" border=0 src="+_mi[_i][32]+">"+_iME;if(!_mi[_i][30])_mi[_i][30]="left";_imP=_mi[_i][30].split(" ");for(_ia=0;_ia<_imP.length;_ia++){if(_imP[_ia]=="left")_subIR=1;if(_imP[_ia]=="right")_subIR=0;if(_imP[_ia]=="top"||_imP[_ia]=="bottom"||_imP[_ia]=="middle"){_ivA="valign="+_imP[_ia];if(_mi[_i][3])_ivA+=" colspan=2";if(_imP[_ia]=="top")_subIR=1;if(_imP[_ia]=="bottom")_subIR=0}if(_imP[_ia]=="center"){_itrs="<tr>";_itre="</tr>";_iA="align=center"}}_imps=_iA+" "+_ivA;_its=_itrs+"<td "+_imps+"><table border=0 cellspacing=0 cellpadding=0><tr><td>";_ite="</td></tr></table></td>"+_itre;if(!_mi[_i][1]){_its="";_ite=""}if(_subIR)_Limg=_its+_img+_ite;else _Rimg=_its+_img+_ite;if(_subIR)_LimgO=_its+_oimg+_ite;else _RimgO=_its+_oimg+_ite}if(!_M[12]){_Tmt+="<tr>"}_Tmt+="<td  class=item"+_i+">";_Tmt+="<ilayer id=il"+_i+">";_txt="";if(_mi[_i][1])_txt=_mi[_i][1];_acT="onmouseover=\"_popi("+_i+");clearTimeout(_MTF);_MTF=setTimeout('close_el("+_i+")',200);\"";if(_mi[_i][34]=="header")_acT="";_Tmt+="<layer id=el"+_i+" "+_acT+" width=100%>";_Tmt+="<div></div>";_Tmt+="<table "+_wid+" "+_bgc+" border=0 cellpadding=0 cellspacing=0 width=100%>";_Tmt+=_Limg;_Tmt+=_Lsimg;_Tmt+="<td width=100%><table border=0 cellpadding="+_pad+" cellspacing=0 width=100%><td "+_hgt+" "+_algn+_nw+" >";_Tmt+="<a class=item"+_i+" onMouseOver=\"set_status("+_i+");return true\">";_Tmt+=_fgc+_txt;_Tmt+="</a>";_Tmt+="</td></table></td>";_Tmt+=_Rimg;_Tmt+=_Rsimg;_Tmt+="</table>";_Tmt+="</layer>";_Tmt+="<layer visibility=hide id=oel"+_i+" zindex=9999 onMouseOver=\"clearTimeout(_MTF);_back2par("+_i+");nshl="+_i+";this.captureEvents(Event.MOUSEUP);this.onMouseUp=dc;\" onMouseOut=\"close_el("+_i+")\" width=100%>";_Tmt+="<div></div>";_Tmt+="<table "+_wid+" "+_bgbc+" border=0 cellpadding=0 cellspacing=0 width=100%>";_Tmt+=_LsimgO;_Tmt+=_LimgO;_Tmt+="<td height=1 width=100%><table border=0 cellpadding="+_pad+" cellspacing=0 width=100%><td "+_hgt+" "+_algn+_nw+" >";_Tmt+="<a class=oitem"+_i+" href=\""+_lnk+"\" onMouseOver=\"set_status("+_i+");return true\">";_Tmt+=_fgbc+_txt;_Tmt+="</a>";_Tmt+="</td></table></td>";_Tmt+=_RimgO;_Tmt+=_RsimgO;_Tmt+="</table>";_Tmt+="</layer>";_Tmt+="</ilayer>";_Tmt+="</td>";_hgt="";if(_M[28]){_hgt="height="+(_M[28]+6);_hgt="height=20"}_spd="";if(_mi[_i][51])_spd=_mi[_i][51];_sal="align=center";if(_mi[_i][52])_sal="align="+_mi[_i][52];if(!_M[12]){_Tmt+="</tr>";if((_i!=_M[0][_M[0].length-1])&&_mi[_i][27]>0){_swid="100%";if(_mi[_i][50])_swid=_mi[_i][50];if(_spd)_Tmt+="<tr><td height="+_spd+"></td></tr>";_Tmt+="<tr><td "+_sal+"><table cellpadding=0 cellspacing=0 border=0 width="+_swid+">";_Tmt+="<td bgcolor="+_mi[_i][10]+">";_Tmt+="<spacer type=block height="+_mi[_i][27]+">";_Tmt+="</td></table></td></tr>";if(_spd)_Tmt+="<tr><td height="+_spd+"></td></tr>"}}else{if((_i!=_M[0][_M[0].length-1])&&_mi[_i][27]>0){_hgt="height=100%";if(_spd)_Tmt+="<td><spacer type=block width="+_spd+"></td>";_Tmt+="<td bgcolor="+_mi[_i][10]+"><spacer type=block "+_hgt+" width="+_mi[_i][27]+"></td>";if(_spd)_Tmt+="<td><spacer type=block width="+_spd+"></td>"}}return _Tmt}function csto(_mnu){_onTS=0;clearTimeout(_scrmt);clearTimeout(_oMT);_MT=setTimeout("closeAllMenus()",_menuCloseDelay)}function followScroll(_mnu,_cycles,_rate){if(!_startM){_fogm=_m[_mnu][22];_fgp=gpos(_fogm);if(_sT>_m[_mnu][2]-_m[_mnu][29])_tt=_sT-(_sT-_m[_mnu][29]);else _tt=_m[_mnu][2]-_sT;if((_fgp[0]-_sT)!=_tt){diff=_sT+_tt;if(diff-_fgp[0]<1)_rcor=_rate;else _rcor=-_rate;_nv=parseInt((diff-_rcor-_fgp[0])/_rate);if(_nv==0)spos(_fogm,diff);else spos(_fogm,_fgp[0]+_nv+_m[_mnu][5]);if(ns4){_fgp=gpos(_fogm);spos(gmobj("bord"+_mnu),_fgp[0]-_m[_mnu][5])}}}_fS=setTimeout("followScroll(\""+_mnu+"\","+_cycles+","+_rate+")",_cycles)}_amt="";function _drawMenu(_mnu){_mt="";_mnucnt++;var _M=_m[_mnu];_ms=_m[_mnu][7];if(_M[12]=="horizontal")_M[12]=1;else _M[12]=0;_visi="";if(!_M[8])_visi="visibility=hide";_top="top=0";if(_M[2])_top="top="+_M[2];_left="left=0";if(_M[3])_left="left="+_M[3];if(_M[12]){_oldBel=_Bel;_d.write("<layer visibility=hide id=HT"+_mnu+"><table border=0 cellpadding=0 cellspacing=0>");for(_b=0;_b<_M[0].length;_b++){_d.write(drawItem(_Bel));_Bel++}_d.write("</table></layer>");_Bel=_oldBel;_gm=gmobj("HT"+_mnu);_M[28]=_gm.clip.height-6}_bImg="";if(_M[18])_bImg="background="+_M[18];if(_M[24]!="relative")_mt+="<layer zindex=99 "+_bImg+" onmouseout=\"close_menu()\" onmouseover=\"clearTimeout(_MT);\" zindex=999 id=menu"+_mnu+" "+_top+" "+_left+" "+_visi+">";_bgc="";if(_m[_mnu][7].offbgcolor)_bgc="bgcolor="+_m[_mnu][7].offbgcolor;_mrg=0;if(_M[20])_mrg=_M[20];_mt+="<table "+_bgc+" border=0 cellpadding="+_mrg+" cellspacing=0 >";_mt+="<td>";_mt+="<table width=1 border=0 cellpadding=0 cellspacing=0 "+_bgc+">";for(_b=0;_b<_M[0].length;_b++){_mt+=drawItem(_Bel);_Bel++}_mt+="</table>";_mt+="</td>";_mt+="</table>";if(_M[24]!="relative")_mt+="</layer>";_amt+=_mt;_d.write(_mt);_M[22]=gmobj("menu"+_mnu);if(_M[29]){_M[29]=_M[29].toString();_fs=_M[29].split(",");if(!_fs[1])_fs[1]=20;if(!_fs[2])_fs[2]=20;_M[29]=_fs[0];followScroll(_mnu,_fs[1],_fs[2])}if(_M[24]!="relative"){_st="";_cl="classes.menu"+_mnu+".all.";_brdsty="solid";if(_M[7].borderstyle)_brdsty=_M[7].borderstyle;if(_M[10])_brdsty=_M[10];_brdcol="#000000";if(_M[7].bordercolor)_brdcol=_M[7].bordercolor;if(_M[17])_brdcol=_M[17];_brdwid="";if(_M[7].borderwidth)_brdwid=_M[7].borderwidth;if(_M[5])_brdwid=_M[5];_M[5]=_brdwid;_st+=_cl+"borderStyle=\""+_brdsty+"\";";_st+=_cl+"borderColor=\""+_brdcol+"\";";_st+=_cl+"borderWidth=\""+_brdwid+"px\";";if(_ms.fontsize)_st+=_cl+"fontSize=\""+2+"\";";_d.write("<style type=text/JavaScript>"+_st+"</style>");_gm=gmobj("menu"+_mnu);_d.write("<layer visibility=hidden zIndex=0 id=bord"+_mnu+" zindex=0 class=menu"+_mnu+"><table width="+(_gm.clip.width-6)+" height="+(_gm.clip.height-6)+"><td></td></table></layer>");if(_M[8]){_gm=gmobj("menu"+_mnu);_gm.zIndex=99;_gp=gpos(_gm);spos(_gm,_gp[0]+_M[5],_gp[1]+_M[5],_gp[2],_gp[3]);_gmb=gmobj("bord"+_mnu);_gmb.zIndex=0;spos(_gmb,_gp[0],_gp[1],_gp[2],_gp[3]);_gmb.visibility="show"}}else{}if(_m[_mnu][23]=="scroll"){_gm=gmobj("menu"+_mnu);_gm.fullHeight=_gm.clip.height;_scs=";this.bgColor='"+_m[_mnu][7].onbgcolor+"'\" onmouseout=\"csto("+_mnu+");this.bgColor='"+_m[_mnu][7].offbgcolor+"'\"";_scs+=" visibility=hide "+_bgc+" class=menu"+_mnu+"><table border=0 cellpadding=0 cellspacing=0 width="+(_gm.clip.width-6)+"><td align=center>";_sce="</td></table></layer>";_d.write("<layer id=tscroll"+_mnu+" onmouseover=\"_is("+_mnu+","+_scrollAmount+");"+_scs+"<img src=images/uparrow.gif>"+_sce);_d.write("<layer id=bscroll"+_mnu+" onmouseover=\"_is("+_mnu+",-"+_scrollAmount+");"+_scs+"<img src=images/uparrow.gif>"+_sce);_ts=gmobj("tscroll"+_mnu);_gm.tsHeight=_ts.clip.height;_ts=gmobj("bscroll"+_mnu);_gm.bsHeight=_ts.clip.height}}function _pathDisplay(_i,_show){if(_i>-1){_io=parseInt(_m[_mi[_i][0]][21]);if(_io>-1){while(_io!=-1){_el=_i;if(_show)itemOn(_io);else itemOff(_io);_io=parseInt(_m[_mi[_io][0]][21]);if(isNaN(_io))return}}_io=null}}function _back2par(_i){if(_oldel>-1){if(_i==_m[_mi[_oldel][0]][21][0]){_popi(_i)}}}function closeMenusByArray(_ar){for(_a=0;_a<_ar.length;_a++){menuDisplay(_ar[_a],0)}}function cm(){_tar=getMenusToClose();closeMenusByArray(_tar);for(_b=0;_b<_tar.length;_b++){if(_tar[_b]!=_mnu)_sm=remove(_sm,_tar[_b])}}function getMenusToClose(){_st=-1;_en=_sm.length;_mm=_iP;if(_iP==-1){if(_sm[0]!=_masterMenu)return _sm;_mm=_masterMenu}for(_b=0;_b<_sm.length;_b++){if(_sm[_b]==_mm)_st=_b+1;if(_sm[_b]==_mnu)_en=_b}if(_st>-1&&_en>-1){_tsm=_sm.slice(_st,_en)}return _tsm}function getMenuByName(_mname){_mname=_mname.toLowerCase();for(_a=0;_a<_m.length;_a++){if(_mname==_m[_a][1]){return _a}}return-1}function clearELs(_i){_mnu=_mi[_i][0];for(_q=0;_q<_m[_mnu][0].length;_q++){gmobj("oel"+_m[_mnu][0][_q]).visibility="hide"}}function menuDisplay(_mnu,_show){_gm=gmobj("menu"+_mnu);_gmb=gmobj("bord"+_mnu);for(_q=0;_q<_m[_mnu][0].length;_q++){gmobj("oel"+_m[_mnu][0][_q]).visibility="hide"}if(_m[_mnu][11]){_tdv=_m[_mnu][11].split(";");for(_c=0;_c<_tdv.length;_c++){_gd=gmobj(_tdv[_c]);if(_show){if(_gd)_gd.visibility="hide"}else{if(_gd)_gd.visibility="show"}}}if(_show){_gm.zIndex=_zi;_gm.visibility="show";_gmb.top=_gm.pageY-_m[_mnu][5];_gmb.left=_gm.pageX-_m[_mnu][5];_gmb.zIndex=_zi-1;_gmb.visibility="show";if(_el>-1)_m[_mnu][21][0]=_el;if(_m[_mnu][23]=="scroll"){;if((_gm.clip.height>_bH)||_gm.nsDoScroll){_gi=gmobj("el"+_el);_tsm=gmobj("tscroll"+_mnu);_bsm=gmobj("bscroll"+_mnu);if(!_gm.scrollTop)_gm.top=_gm.top+_tsm.clip.height-1;else _gm.top=_gm.scrollTop;_gm.clip.height=_bH-(_gi.pageY+_gi.clip.height)-19;_gmb.clip.height=_gm.clip.height;_tsm.top=_gmb.top;_tsm.left=_gmb.left;_tsm.zIndex=_zi+1;_bsm.left=_gmb.left;_bsm.top=(_gmb.pageY+_gmb.clip.height)-_tsm.clip.height+_gm.tsHeight;_tsm.zIndex=_zi+1;_tsm.visibility="show";_bsm.zIndex=_zi+1;_bsm.visibility="show";_gm.nsDoScroll=1}}}else{if(!(_m[_mnu][8])){_gm.visibility="hide";_gmb.visibility="hide";if(_m[_mnu][23]=="scroll"){_tsm=gmobj("tscroll"+_mnu);_tsm.visibility="hide";_tsm=gmobj("bscroll"+_mnu);_tsm.visibility="hide"}}}}function closeAllMenus(){;_cmo=gmobj("menu"+_mi[_cel][0]);if(!_cmo)_cmo=gmobj("oel"+_cel);if(!_onTS&&_cmo&&(MouseX>(_cmo.pageX+_cmo.clip.width)||MouseY>(_cmo.pageY+_cmo.clip.height)||MouseX<_cmo.pageX||MouseY<_cmo.pageY)){for(_a=0;_a<_m.length;_a++)menuDisplay(_a,0);_zi=99;_el=-1;_sm=new Array()}}function close_menu(){if(_el==-1)_MT=setTimeout("closeAllMenus()",_menuCloseDelay)}function close_el(_i){if(_mi[_i][43])eval(_mi[_i][43]);clearELs(_i);window.status="";clearTimeout(_oMT);_MT=setTimeout("closeAllMenus()",_menuCloseDelay);_el=-1;_oldel=_i}function getParentMenuByItem(_gel){_gel=_mi[_gel][0];if(_m[_gel][8])_gel=-1;return _gel}function getParentItemByItem(_gel){_par=getParentMenuByItem(_gel);for(_a=0;_a<_m[_par][0].length;_a++){if(_gel==_m[_par][0][_a]){return _m[_par][0]}}return false}function getParentsByItem(_gmi){}function lc(_i){if(_mi[_i]=="disabled")return;location.href=_mi[_i][2]}function _is(_mnu,_SCRam){_onTS=1;_cel=_m[_mnu][0][0];_pathDisplay(_m[_mnu][0][0],1);clearTimeout(_MT);clearTimeout(_scrmt);_doScroll(_mnu,_SCRam);_scrmt=setTimeout("_is("+_mnu+","+_SCRam+")",_scrollDelay)}function _doScroll(_mnu,_SCRam){gm=gmobj("menu"+_mnu);if(_SCRam<0&&((gm.clip.top+gm.clip.height)>gm.fullHeight+gm.tsHeight+_SCRam))return;if(_SCRam>0&&gm.clip.top<_SCRam)return;;gm.top=gm.top+_SCRam;gm.scrollTop=gm.top;gm.clip.top=gm.clip.top-_SCRam;gm.clip.height=gm.clip.height-_SCRam}function set_status(_i){if(_mi[_i][4]){status=_mi[_i][4]}else{if(_mi[_i][2])status=_mi[_i][2];else status=""}}function popup(){_arg=arguments;clearTimeout(_MT);if(_cel>-1)closeAllMenus();if(_arg[0]){_ofMT=0;_mnu=getMenuByName(_arg[0]);_cel=_m[_mnu][0][0];;_tos=0;if(_arg[2])_tos=_arg[2];_los=0;if(_arg[3])_los=_arg[3];_sm[_sm.length]=_arg[0];if(_arg[1]){_gm=gmobj("menu"+_mnu);_gp=gpos(_gm);if(MouseY+_gp[2]>_bH)_tos=-(MouseY+_gp[2]-_bH);spos(_gm,MouseY+_tos,MouseX+_los)}menuDisplay(_mnu,1);_m[_mnu][21][0]=-1}}function Opopup(_mn,_mp){clearTimeout(_MT);closeAllMenus();if(_mn){_mnu=getMenuByName(_mn);_sm[_sm.length]=_mnu;menuDisplay(_mnu,1);_m[_mnu][21][0]=-1}}function popdown(){_MT=setTimeout("closeAllMenus()",_menuCloseDelay)}function _popi(_i){_cel=_i;clearTimeout(_MT);clearTimeout(_cMT);clearTimeout(_oMT);if(_mi[_i][34]=="disabled")return;clearELs(_i);if(_oldel>-1)clearELs(_oldel);_mnu=-1;_el=_i;_mopen=_mi[_i][3];horiz=0;if(_m[_mi[_i][0]][12])horiz=1;itemOn(_i);if(!_sm.length){_sm[_sm.length]=_mi[_i][0];_masterMenu=_mi[_i][0]}_iP=getParentMenuByItem(_el);if(_iP==-1)_masterMenu=_mi[_i][0];set_status(_el);_cMT=setTimeout("cm()",_menuOpenDelay);if(_mopen&&!_mi[_el][39]){_gel=gmobj("el"+_i);_gp=gpos(_gel);_mnu=getMenuByName(_mopen);if(_mnu){_gp=gpos(_gel);_mnO=gmobj("menu"+_mnu);                ;_mp=gpos(_mnO);if(horiz){_top=_gp[0]+_gp[2]+1;_left=_gp[1];if(_m[_mnu][15]=="rtl"){_left=_left-(_mp[3]-_gp[3])-_mi[_i][27]}}else{_top=_gp[0]+_subOffsetTop;_left=_gp[1]+_gp[3]+_subOffsetLeft;if(_m[_mnu][15]=="rtl"){_left=_gp[1]-_mp[3]-_subOffsetLeft}}if(_left<0)_left=0;if(_top<0)_top=0;if(_m[_mnu][2]){if(isNaN(_m[_mnu][2])&&_m[_mnu][2].indexOf("offset=")==0){_os=_m[_mnu][2].substr(7,99);_top=_top+parseInt(_os)}else{_top=_m[_mnu][2]}}if(_m[_mnu][3]){if(isNaN(_m[_mnu][3])&&_m[_mnu][3].indexOf("offset=")==0){_os=_m[_mnu][3].substr(7,99);_left=_left+parseInt(_os)}else{_left=_m[_mnu][3]}};if(_left+_mp[3]>_bW){if(!horiz&&(_gp[1]-_mp[3])>0){_left=_gp[1]-_mp[3]-_subOffsetLeft}else{_left=(_bW-_mp[3])-2}}if(!horiz&&_top+_mp[2]>_bH){_top=(_bH-_mp[2])-2}spos(_mnO,_top+_m[_mnu][5],_left+_m[_mnu][5]);_zi++;_mnb=gmobj("bord"+_mnu);_oMT=setTimeout("menuDisplay("+_mnu+",1)",_menuOpenDelay);if(_sm[_sm.length-1]!=_mnu)_sm[_sm.length]=_mnu}}_pathDisplay(_i,1)}function _setPosition(_mnu){if(_m[_mnu][6]){_gm=gmobj("menu"+_mnu);_gp=gpos(_gm);_osl=0;_omnu3=0;if(isNaN(_m[_mnu][3])&&_m[_mnu][3].indexOf("offset=")==0){_omnu3=_m[_mnu][3];_m[_mnu][3]=null;_osl=_omnu3.substr(7,99)}if(!_m[_mnu][3]){_lft=_m[_a][5];if(_m[_a][6].indexOf("center")!=-1)_lft=(_bW/2)-(_gp[3]/2);if(_m[_a][6].indexOf("right")!=-1)_lft=_bW-_gp[3];if(_osl)_lft=_lft+parseInt(_osl)}else{_lft=null}_ost=0;_omnu2=0;if(isNaN(_m[_mnu][2])&&_m[_mnu][2].indexOf("offset=")==0){_omnu2=_m[_mnu][2];_m[_mnu][2]=null;_ost=_omnu2.substr(7,99)}if(!_m[_mnu][2]){_tp=_m[_a][5];if(_m[_a][6].indexOf("middle")!=-1)_tp=(_bH/2)-(_gp[2]/2);if(_m[_a][6].indexOf("bottom")!=-1)_tp=_bH-_gp[2];if(_ost)_lft=_lft+parseInt(_ost)}else{_tp=null}spos(_gm,_tp,_lft);if(_tp)_tp=_tp-_m[_mnu][5];if(_lft)_lft=_lft-_m[_mnu][5];_sb=gmobj("bord"+_mnu);spos(_sb,_tp,_lft);if(_omnu3)_m[_mnu][3]=_omnu3;if(_omnu2)_m[_mnu][2]=_omnu2}}function _MScan(){_bW=self.innerWidth-16;_bH=self.innerHeight-17;_sT=self.pageYOffset;if(_startM==1){for(_a=0;_a<_m.length;_a++){if(_m[_a][6]){_setPosition(_a)}}}else{if(_bH!=_oldbH||_bW!=_oldbW){location.reload()}}_startM=0;_oldbH=_bH;_oldbW=_bW}setInterval("_MScan()",200);function getMouseXY(e){MouseX=e.pageX;MouseY=e.pageY}_d.captureEvents(Event.MOUSEMOVE);_d.onmousemove=getMouseXY;
