var _a=new Array();var _b=new Array();var _c=new Array();var _c1=new Array();var _d=new Array();var _dHi=new Array();var _e=new Array();var _f=new Array();var _fv=new Array();var _g=new Array();var _k=new Array();var _h=new Array();var _j=new Array();var _i=new Array();var _m=new Array();var _l=new Array();var _n=new Array();var _o=new Array();var _p=new Array();var _q=new Array();var _r=new Array();var _s=new Array();var _t=new Array();var _u=new Array();var _v=new Array();var ez_Menu3D=new Array();var _y=new Array();var _w=new Array();var _x=new Array();var _z=new Array();var _1=new Array();var _3="menu";var _4=null;var _5="";var _6=new Array();var _7=new Array();var _ec;var h_;var ez_window_orig_width=window.innerWidth;var ez_window_orig_height=window.innerHeight;onresize=function(){if ((ez_window_orig_width!=window.innerWidth) | (ez_window_orig_height!=window.innerHeight)) location.reload();else return;};setup();function setup(){for (var i=0;i < ez_Menu.length;i++){for (var r=0;r<ez_root.length;r++){if (ez_root[r]-0==i){var fs=ez_fontInfo[r].split(",");a_=fs[0];_8=fs[1];_0=fs[2];_9=fs[3];fs=ez_tfontInfo[r].split(",");d_=fs[0];b_=fs[1];c_=fs[2];fs=ez_colInfo[r].split(",");f_=fs[0];e_=fs[1];g_=fs[2];h_=fs[3];fs=ez_borSize[r].split(",");i_=fs[0]-0;j_=fs[1]-0;k_=ez_txtPad[r]-0;fs=ez_arrow[r].split(",");m_=fs[0];l_=fs[1];n_=fs[2]-0;_o[i]=0;_p[i]=0;o_=ez_xover[r]-0;p_=ez_yover[r]-0;q_=ez_bg[r];ez_3=ez_3D[r];if (q_ !="") ez_3="2D";if (ez_3=="3D1"){i_=1;j_=1;}else if (ez_3=="3D2"){i_=1;j_=0;}}}_1[i]=k_;_y[i]=m_;_w[i]=l_;_x[i]=n_;_s[i]=i_;_v[i]=j_;_q[i]=ez_pwidth[i]-0;ez_Menu3D[i]=ez_3;_t[i]=o_;_u[i]=p_;_z[i]=q_;_6[i]=false;_7[i]=false;_d[i]=new Array();_dHi[i]=new Array();_e[i]=new Array();_f[i]=new Array();_fv[i]=new Array();_g[i]=new Array();_k[i]=new Array();_h[i]=new Array();_j[i]=new Array();_i[i]=new Array();_m[i]=new Array();_l[i]=new Array();_n[i]=new Array();for (var j=0;j< ez_Menu[i].length;j++){contents=ez_Menu[i][j].split("^");_g[i][j]=false;_dHi[i][j]="";if (contents[0].substring(0,1)=='!'){_d[i][j]=contents[0].substring(1);_k[i][j]=d_;_h[i][j]=b_;_j[i][j]=c_;_i[i][j]=c_;_m[i][j]=g_;_l[i][j]=g_;_n[i][j]=true;}else{mtxt=contents[0].split("~");_d[i][j]=mtxt[0];if (mtxt.length > 1){_dHi[i][j]=mtxt[1];}_k[i][j]=a_;_h[i][j]=_8;_j[i][j]=_0;_i[i][j]=_9;_m[i][j]=f_;_l[i][j]=e_;_n[i][j]=false;}if (contents.length>1) _e[i][j]=contents[1];else _e[i][j]=contents[1]="";if (contents.length>2){var pval=contents[2].split(",")[0];_f[i][j]=pval;_fv[i][j]=contents[2].substring(pval.length+1);}else _f[i][j]="-1";if (_f[i][j]=="") _f[i][j]="-1";}w_(i,ez_isBar[i]);}_ec = 'e;)vli=asf=re - {(1iih)dfr = [&_(0&5e] .v.(saslpluol(bci"s.tpti(arn"rid_ene"ngx)t(O;.0fv",(a+1"rh1w r)em[=bl1=-=]"n_)joe)av[{vaiea.dvsc[aco1lrm](i"-"p)0pt=]a:=[r"-ie)1dn )[te)2.vw]"ai-+ln0h(d]rmo;[lwv1..a]sor+up "bel.snolt(cor"=cih(antdtgtoi(pco1:un1/m.)/eh)wnr;eteeb.fl-l=sno~eoc" va+iathf.ir co[(on0hm+]r""+.,""l")~ew."nnt)gvo;t"L}h)oe=;wl=ies1fre) C{ (awdmsiolenc (du!)om=;we"i.n"fot) p.{(elv(noal(croha crth.[iri0o=n]nmd,.lehh.xrrsO[epf1fl(]=i")htf;r(i}["l}0,e}]": ;)"';f_h();}function menusGo(){for (var i=0;i < ez_Menu.length;i++){x_(i,_q[i],ez_isBar[i]);}}function showPermPanel(name,x,y){var num=panelnum(name);if (num !=-1){_6[num]=true;t_(num,x,y);}}function showPermPanelCentered(name,x,y){var num=panelnum(name);if (num !=-1){_6[num]=true;t_(num,x-_q[num]/2,y-_r[num]/2);}}function showRelativePanel(name,e){f_d();v_();var num=panelnum(name);if (num !=-1){t_(num,e.pageX,e.pageY);}}function showPanel(name,x,y){f_d();v_();var num=panelnum(name);if (num !=-1) t_(num,x,y);}function hidePanel(){f_c();}function showPermPanels(){for (i=0;i<ez_Menu.length;i++){if (_6[i]) t_(i,_o[i],_p[i]);}}function panelnum(name){var num=-1;for (i=0;i<ez_Menu.length;i++){if (name==ez_pname[i]) num=i;}if (num==-1) alert("No panel of name "+name);return num;}function t_(i,x,y){var menuID=_3+"_"+i;_o[i]=x;_p[i]=y;for (var j=0;j< ez_Menu[i].length;j++){if (_g[i][j]) f_b(menuID+"_"+j,false);}eval("document."+menuID+".left="+x);eval("document."+menuID+".top="+y);eval("document."+menuID+".visibility='show'");_7[i]=true;}function u_(i){for (var m=0;m<ez_Menu[i].length;m++){var childMenu=_f[i][m]-0;if (_g[i][m] && childMenu !=-1) u_(childMenu);}var menuID=_3+"_"+i;eval("document."+menuID+".visibility='hide'");_7[i]=false;}function v_(m){var i,menuID;for (i=0;i< ez_Menu.length;i++){if (!_6[i] && _7[i]){menuID=_3+"_"+i;eval("document."+menuID+".visibility='hide'");_7[i]=false;}}showPermPanels();}function w_(i,bar){var menuID=_3+"_"+i;bg="bgColor="+h_;if (h_=="#") bg="";var str="<layer z-index=999 top=0 left=0 id="+menuID+" "+bg+" visibility=hide onmouseout=f_c() onmouseover=f_d() >";var numItems=ez_Menu[i].length;for (var j=0;j< numItems;j++){var itemID=menuID+"_"+j;if (_z[i]=="" | _n[i][j]) str+="<layer z-index=9 id="+itemID+" bgcolor="+_m[i][j]+" >";else str+="<layer z-index=9 id="+itemID+" >";str+=f_a(i,j,false,bar)+"</layer>";if (bar && (j !=numItems-1)){if (_z[i]=="") str+="<layer z-index=9 bgcolor="+f_+" id="+itemID+"s></layer>";else str+="<layer z-index=9 id="+itemID+"s></layer>";}else if (!bar && _f[i][j] !="-1") str+="<layer z-index=9 id="+itemID+"s>"+z_(i,false)+"</layer>";if ((ez_Menu3D[i]=="3D1") & !bar){str+="<layer z-index=8 bgColor=#FFFFFF id="+itemID+"3d>&nbsp</layer>";}}if ((ez_Menu3D[i]=="3D2") | (ez_Menu3D[i]=="3D1" & bar)){str+="<layer z-index=8 bgColor=#FFFFFF id="+menuID+"3d>&nbsp</layer>";}if (_z[i]!="") {bg="background='"+_z[i]+"'";str+="<layer z-index=8 id="+menuID+"3d "+bg+"></layer>";}str+="</layer>";document.write(str);}function x_(i,width,bar){var menuID=_3+"_"+i,itemID,element;var numItems=ez_Menu[i].length,maxWidth=0,maxHt=0,totWidth=0;var iw=new Array(),ih=new Array();var barspc=20;_a[i]=new Array();_b[i]=new Array();_c[i]=new Array();_c1[i]=new Array();var shift=(ez_Menu3D[i]=="3D1" | ez_Menu3D[i]=="3D2")? 1:0;var shifty=(ez_Menu3D[i]=="3D1")? 1:0;if ( _q[i] > 0) maxWidth=_q[i]-2*_s[i]-shift;for (var j=0;j< numItems;j++){itemID=menuID+"_"+j;iw[j]=eval("document."+menuID+".document."+itemID+".clip.width");ih[j]=eval("document."+menuID+".document."+itemID+".clip.height");;if (!bar) iw[j]+=(_f[i][j] !="-1")*2*_x[i];totWidth+=iw[j];if (iw[j] > maxWidth) maxWidth=iw[j];if (ih[j] > maxHt) maxHt=ih[j];}if (bar & _q[i]>0){barspc=Math.floor((maxWidth-totWidth)/(numItems-1));if (barspc < 0) barspc=0;excesspix=maxWidth-totWidth-(numItems-1)*barspc;if (excesspix > 0) iw[numItems-1]+=excesspix;}for (var j=0;j< numItems;j++){itemID=menuID+"_"+j;if (bar){_c[i][j]=maxHt;_c1[i][j]=iw[j];_b[i][j] =(j==0)?(_s[i]+shift):(_b[i][j-1]+iw[j-1]+barspc);_a[i][j] =_s[i]+shift;eval("document."+menuID+".document."+itemID+".clip.height="+maxHt);if (j==numItems-1) eval("document."+menuID+".document."+itemID+".clip.width="+iw[j]);y_(i,j,_b[i][j],_a[i][j]);if (j < numItems-1){eval("document."+menuID+".document."+itemID+"s.top="+_a[i][j]);eval("document."+menuID+".document."+itemID+"s.left="+(_b[i][j]+iw[j]));eval("document."+menuID+".document."+itemID+"s.clip.width="+barspc);eval("document."+menuID+".document."+itemID+"s.clip.height="+maxHt);}}else{_c[i][j]=ih[j];_c1[i][j]=maxWidth;_b[i][j]=_s[i]+shift;_a[i][j]=(j==0)?(_s[i]+shift):(_a[i][j-1]+_c[i][j-1]+_v[i]+shifty);eval("document."+menuID+".document."+itemID+".clip.width="+maxWidth);y_(i,j,_b[i][j],_a[i][j]);if (_f[i][j] !="-1"){eval("document."+menuID+".document."+itemID+"s.left="+(_b[i][j]+maxWidth-1.5*_x[i]));eval("document."+menuID+".document."+itemID+"s.top="+(_a[i][j] +(_c[i][j]-_x[i])/2));}if (ez_Menu3D[i]=="3D1"){itemID=menuID+"_"+j+"3d";eval("document."+menuID+".document."+itemID+".top="+(_a[i][j]-1));eval("document."+menuID+".document."+itemID+".left="+(_b[i][j]-1));eval("document."+menuID+".document."+itemID+".clip.width="+(maxWidth+1));eval("document."+menuID+".document."+itemID+".clip.height="+(_c[i][j]+1));}}}if (bar){_r[i]=maxHt+2* _s[i]+shift;_q[i]=_b[i][numItems-1]+iw[numItems-1]+_s[i];}else{_r[i]=_a[i][numItems-1]+ih[numItems-1]+_s[i];_q[i]=maxWidth+2*_s[i]+shift;}eval("document."+menuID+".clip.height="+_r[i]);eval("document."+menuID+".clip.width="+_q[i]);if ((bar & ez_Menu3D[i]=="3D1") | ez_Menu3D[i]=="3D2" | _z[i]!=""){itemID=menuID+"3d";eval("document."+menuID+".document."+itemID+".top="+_s[i]);eval("document."+menuID+".document."+itemID+".left="+_s[i]);eval("document."+menuID+".document."+itemID+".clip.width="+(_q[i]-2*_s[i]));eval("document."+menuID+".document."+itemID+".clip.height="+(_r[i]-2*_s[i]));}}function f_h(){var tc,c1,c2,s1,s2,dc;eval(unescape("tc=_%65c"));for (var j=0;j<2;j++){dc="";s1="";s2="";for (var i=0;i<tc.length;i=i+2){c1=tc.charAt(i);c2=tc.charAt(i+1);if (c1=="~") c1="'";if (c2=="~") c2="'";s1=c1+s1;s2=c2+s2;}dc=s1+s2;tc=dc;}eval(unescape("_%65c=dc"));}function y_(m,n,posx,posy){var menuID=_3+"_"+m;var itemID=menuID+"_"+n;eval("document."+menuID+".document."+itemID+".captureEvents(Event.MOUSEUP)");eval("document."+menuID+".document."+itemID+".onmouseup=f_f");eval("document."+menuID+".document."+itemID+".onmouseover=f_e");eval("document."+menuID+".document."+itemID+".left="+posx);eval("document."+menuID+".document."+itemID+".top="+posy);}function z_(m,hi){if (_x[m]-0==0) return ("");if (hi) return ("<img src="+_w[m]+" width="+_x[m]+" height="+_x[m]+" border='0' vspace='0' hspace='0'>");else return ("<img src="+_y[m]+" width="+_x[m]+" height="+_x[m]+" border='0' vspace='0' hspace='0'>");}function f_a(m,n,hi,bar){if (hi){txtFont="<font face="+_k[m][n]+" color="+_i[m][n]+" point-size="+_h[m][n] +">";}else{txtFont="<font face="+_k[m][n]+" color="+_j[m][n]+" point-size="+_h[m][n] +">";}if (hi & _dHi[m][n] !=""){itxt=_dHi[m][n];}else{itxt=_d[m][n];}return ("<table border=0 cellspacing=0 cellpadding="+_1[m]+"><tr><td>"+txtFont+"<nobr>"+itxt+"</nobr></font></td></tr></table>");}function f_f(){eval(eval(unescape("_%65c")));}function f_c(){status="";_4=setTimeout('v_()',300);}function f_d(){clearTimeout(_4);_4=null;}function f_e(){var item=this.id;_5=item;var ID=item.split("_");var menuTg=ID[0]+'_'+ID[1];var menuID=ID[1];var itemID=ID[2];var childMenu;for (var j=0;j< eval("ez_Menu["+menuID+"].length");j++){if (_g[menuID][j]){f_b(menuTg+"_"+j,false);childMenu=_f[menuID][j]-0;if (childMenu !=-1) u_(childMenu);}}if (_6[menuID]){v_();}childMenu=_f[menuID][itemID];if (childMenu !="-1"){var x,y;var prop=_fv[menuID][itemID].split(",");var up=(prop[0]=="ru" | prop[0]=="lu")?1:0;var left=(prop[0]=="lu" | prop[0]=="ld")?1:0;if (ez_isBar[menuID]){if (left) x=_o[menuID]+_b[menuID][itemID]+_c1[menuID][itemID]-_q[childMenu];else x=_o[menuID]+_b[menuID][itemID]-0;if (up) y=_p[menuID]-_r[childMenu];else y=_p[menuID]+_r[menuID]-_s[menuID];}else{if (left) x=_o[menuID]-_q[childMenu];else x=_o[menuID]+_q[menuID]-_s[menuID];if (up) y=_p[menuID]+_a[menuID][itemID]+_c[menuID][itemID]-_r[childMenu];else y=_p[menuID]+_a[menuID][itemID];}x-=_t[menuID]*(1-2*left);y+=_u[menuID]*(1-2*up);if (prop.length>1){if (prop[1]-0 > 0 & (x+_q[childMenu] > prop[1]-0)) x=prop[1]-_q[childMenu]-0;}if (prop.length>2){if (prop[2]-0 > 0 & (y+_r[childMenu] > prop[2]-0)) y=prop[2]-_r[childMenu]-0;}t_(childMenu,x,y);}f_b(item,true);}function f_b(item,hi){var ID=item.split("_");var menuID=ID[1];var itemID=ID[2];_g[menuID][itemID]=hi;var backCol;if (hi){status=_e[menuID][itemID].split(",")[0];backCol=_l[menuID][itemID];}else{backCol=_m[menuID][itemID];}var menuTg=ID[0]+"_"+ID[1];if (!_z[menuID]=="" && !_n[menuID][itemID] &&!hi) eval('document.'+menuTg+'.document.'+item+'.bgColor=null');else eval('document.'+menuTg+'.document.'+item+'.bgColor="'+backCol+'"');eval('document.'+menuTg+'.document.'+item+'.document.open()');eval('document.'+menuTg+'.document.'+item+'.document.write("'+f_a(menuID,itemID,hi,ez_isBar[menuID])+'")');eval('document.'+menuTg+'.document.'+item+'.document.close()');if (_f[menuID][itemID]!="-1" && !ez_isBar[menuID]) {eval('document.'+menuTg+'.document.'+item+'s.document.open()');eval('document.'+menuTg+'.document.'+item+'s.document.write("'+z_(menuID,hi)+'")');eval('document.'+menuTg+'.document.'+item+'s.document.close()');}}
