// Menu G5.2.10 (non-frame/loaderX)
// Last Modified: 09-Dec-2003
// Web Site: yxScripts.com
// Email: m_yangxin@hotmail.com

// Copyright 2003  Xin Yang   All Rights Reserved.

_scriptPath="http://www.yxScripts.com/menuG5/script/";
_menuTimer=500;
_floatTimer=100;
_floatOffset=1;
_zBase=2;
_menuMargin=1;

Object.prototype.copy=function(){var o=new Object();for(var i in this){o[i]=typeof(this[i])=='object'?this[i].copy():this[i]} return o};Array.prototype.copy=function(){var a=new Array();for(var i in this){a[i]=typeof(this[i])=='object'?this[i].copy():this[i]} return a};var yx_fa=navigator.userAgent.toLowerCase();var yx_ec=(yx_fa.indexOf("mac")!=-1);var yx_ed=(yx_fa.indexOf("opera")!=-1);var yx_ee=(yx_fa.indexOf("opera 7")!=-1);var yx_ef=(yx_fa.indexOf("safari")!=-1);var yx_dx=(yx_fa.indexOf("msie")!=-1&&!yx_ed&&!yx_ef);var yx_dy=(yx_dx&&yx_fa.indexOf("msie 4")==-1);var yx_dw=(yx_fa.indexOf("gecko")!=-1);var yx_eq=(yx_dw||yx_ee||yx_dy&&!yx_ec);if(typeof(webPath)=="undefined"){webPath=""};if(typeof(scriptPath)=="undefined"){scriptPath=_scriptPath};if(typeof(menuTimer)=="undefined"){menuTimer=_menuTimer};if(typeof(floatTimer)=="undefined"){floatTimer=_floatTimer};if(typeof(floatOffset)=="undefined"){floatOffset=_floatOffset};if(typeof(zBase)=="undefined"){zBase=_zBase};if(typeof(menuMargin)=="undefined"){menuMargin=_menuMargin};var yx_M="M",yx_L="L",yx_C="C",yx_I="I",yx_S="S";var yx_dk=true,yx_ho="",yx_ej=false,yx_bc=null,yx_bb=null;var yx_al=0,yx_aks=new Array();var yx_fi=0,yx_ff=0,yx_fz=0,yx_bv=menuMargin,yx_fy=0,yx_ga=0,yx_ht=0,yx_hp=0;var yx_fr=new Image(1,1);yx_fr.src=scriptPath+"onePixel.gif";var yx_fq=/(^\w+:)|(^\/)|(^\.)/,yx_ba=/css\s*:([\w\-\s]+)(,([\w\-\s]+))?(,([\w\-\s]+))?(,([\w\-\s]+))?/;function yx_fb(fh){return document.createElement(fh)};function yx_fc(ae,w,h,aa){var xx=yx_fb("IMG");with(xx){src=ae;width=w;height=h;border=0;hspace=0;vspace=0;align=aa};return xx};function yx_fd(x,y,h,fn,ci){var xx=yx_fb("DIV"),ac=h==null?document.body:h;with(xx.style){position="absolute";visibility=fn;left=x+"px";top=y+"px";zIndex=ci};return ac.appendChild(xx)};function yx_cb(n){return document.getElementById(n)};function yx_gf(l,ci){l.style.zIndex=ci};function yx_di(l){return l.style.zIndex};function yx_gh(l){l.style.visibility="visible"};function yx_do(l){l.style.visibility="hidden"};function yx_ex(l,x,y){l.style.left=x+"px";l.style.top=y+"px"};function yx_ew(l,x,y){l.style.left=(parseInt(l.style.left)+x)+"px";l.style.top=(parseInt(l.style.top)+y)+"px"};function yx_cs(l){return l.offsetLeft+(l.offsetParent?yx_cs(l.offsetParent):0)};function yx_df(l){return l.offsetTop+(l.offsetParent?yx_df(l.offsetParent):0)};function yx_bp(){var cp=this.cp,si=cp.fc;yx_gl();yx_gm(yx_fz);yx_fz=0;if(si.eo.dq||cp.au.fm!=yx_M){yx_gc(cp,si.eo.az,si.er.az,si.en.az,si.em.az,false,si.eo.fp,si.eo.fw)}};function yx_ar(){var cp=this.cp,au=cp.au,fm=au.fm,da=cp.cs;yx_gl();if(fm==yx_M||fm==yx_L){if(!cp.fc.eo.dq&&fm==yx_M){if(cp.da.ey){cp.da.cc(false);da.dr=false;this.cy(0)}else if(!cp.da.go){da.dr=true;yx_gm(yx_fi);yx_fi=yx_ak(cp,"dp","()",0)}}else if(au.ct!=""){yx_at(null);yx_dj(au.ct,cp.cs.ca.fi)}}else if(au.ar!=""){yx_at(null);eval(au.ar)}};function yx_el(){var cs=this.cs,ca=cs.ca,au=this.au,fm=au.fm;if(fm!=yx_I){var c=yx_fc(yx_fr.src,this.width,this.height,"top");with(c.style){position="absolute";left=this.x+"px";top=this.y+"px";zIndex=3};cs.ce.appendChild(c);if(fm==yx_S){c.onmouseover=yx_fp;c.onmouseout=yx_fn;c.onclick=yx_as}else {c.onmouseover=yx_fo;c.onmouseout=yx_fm;c.onmousedown=yx_bp;c.onclick=yx_ar;c.cy=yx_eo;c.cp=this;if(this.fc.eo.cursor!=""){c.className=this.fc.eo.cursor};if(this.au.di!=""&&this.au.di.charAt(0)!=" "){c.title=this.au.di}};c.fa=ca.fa;c.cp=this;this.av=c}else {this.cp.onmouseover=yx_fp;this.cp.onmouseout=yx_fn;this.cp.fa=ca.fa};var ee=yx_ca(au.by);if(ee!=null){this.as=ee.as;this.at=ee.at};if(fm==yx_M){this.da=new yx_ep(ca,this,au)}};function yx_eh(cp){return cp.be.offsetWidth+(cp.fh!=null?cp.fh.offsetWidth:0)+(cp.ch!=null?cp.ch.offsetWidth:0)};function yx_ge(){yx_ff=setTimeout("yx_at(null)",menuTimer*2)};function yx_gm(t){if(t>0)clearTimeout(t)};function yx_gk(){yx_gm(yx_fi);yx_fi=0;yx_gm(yx_ff);yx_ff=0;yx_gm(yx_fz);yx_fz=0};function yx_cx(ef){return yx_fq.test(ef)?ef:(webPath+ef)};function yx_gj(di){window.status=di};function yx_ak(dl,bv,ed,t){var x=yx_al++;yx_aks[x]=dl;var tm=setTimeout(("yx_aks["+x+"]."+bv+ed),t);if(yx_al>200){yx_al=0};return tm};function yx_dj(ct,fi){if(ct.substring(0,11).toLowerCase()=="javascript:"){eval(ct.substring(11))}else {if(fi!=""){window.open(yx_cx(ct),fi)}else {window.location.href=yx_cx(ct)}}};function yx_cf(dl,n){for(var i=0;i<dl.length;i++){if(dl[i].dj==n){return dl[i]}};return null};function yx_cv(dl,n){for(var i=0;i<dl.length;i++){if(dl[i].dj==n){return dl[i]}};return dl[0]};function yx_hj(fb){return(fb.replace(/^\s+/,"")).replace(/\s$/,"")};function yx_cg(ed){var ra=ed.match(yx_ba),pa=new Array();pa[0]=(ra&&ra[1])?yx_hj(ra[1]):"";pa[1]=(ra&&ra[3])?yx_hj(ra[3]):pa[0];pa[2]=(ra&&ra[5])?yx_hj(ra[5]):pa[1];pa[3]=(ra&&ra[7])?yx_hj(ra[7]):pa[1];return pa};function yx_gx(sp,ed){this.dj=sp;this.ba=ed.search(/pad-css\s*:([\w\-\s]+)/)!=-1?yx_hj(RegExp.$1):"";this.bz=ed.search(/holder-css\s*:([\w\-\s]+)/)!=-1?yx_hj(RegExp.$1):"";this.bar=(ed.search(/menu-form\s*:\s*bar/)!=-1);this.bd=ed.search(/direction\s*:\s*(right-down|right-up|left-down|left-up|center-down|center-up|abs-right-down|abs-right-up|abs-left-down|abs-left-up|abs-center-up|abs-center-down|right-top|left-top|right-middle|left-middle|right-bottom|left-bottom)/)!=-1?(RegExp.$1):"";this.es=ed.search(/scroll\s*:\s*(both|x-only|y-only|none)/)!=-1?(RegExp.$1):"none";this.ez=ed.search(/step\s*:\s*(\d+)/)!=-1?(RegExp.$1-0):0;this.bo=(ed.search(/flip\s*:\s*no/)==-1);this.dx=ed.search(/offset-left\s*:\s*(-?\d+)/)!=-1?(RegExp.$1-0):0;this.dy=ed.search(/offset-top\s*:\s*(-?\d+)/)!=-1?(RegExp.$1-0):0;this.cg=ed.search(/item-offset\s*:\s*(-?\d+)/)!=-1?(RegExp.$1-0):0};var yx_gy=new Array(new yx_gx("",""));function yx_gt(si,ed){this.dj=si;var pa=yx_cg(ed);this.ba=pa[0];this.ay=pa[1];this.az=pa[2];this.bb=pa[3];this.cursor=ed.search(/cursor\s*:([\w\-\s]+)/)!=-1?yx_hj(RegExp.$1):"";this.fp=ed.search(/align\s*:\s*(left|center|right)/)!=-1?(RegExp.$1):"center";this.fw=ed.search(/valign\s*:\s*(top|middle|bottom)/)!=-1?(RegExp.$1):"middle";this.aj=(ed.search(/width\s*:\s*actual/)!=-1);this.dq=(ed.search(/sub-menu\s*:\s*mouse-click/)==-1)};var yx_gu=new Array(new yx_gt("","width:actual;"));function yx_gn(sf,ed){this.dj=sf;var pa=yx_cg(ed);this.ba=pa[0];this.ay=pa[1];this.az=pa[2];this.bb=pa[3]};var yx_go=new Array(new yx_gn("",""));function yx_hb(st,ed){this.dj=st;var pa=yx_cg(ed);this.ba=pa[0];this.ay=pa[1];this.az=pa[2];this.bb=pa[3]};var yx_hc=new Array(new yx_hb("",""));function yx_gr(so,ed){this.dj=so;var pa=yx_cg(ed);this.ba=pa[0];this.ay=pa[1];this.az=pa[2];this.bb=pa[3]};var yx_gs=new Array(new yx_gr("",""));function yx_gz(ss,ed){this.dj=ss;var ra=ed.match(/css\s*:([\w\-\s]+)(,([\w\-\s]+))?/);this.bc=(ra&&ra[1])?yx_hj(ra[1]):"";this.ax=(ra&&ra[3])?yx_hj(ra[3]):""};var yx_ha=new Array(new yx_gz("",""));function yx_gv(sm,sp,si,sf,st,so,ss){this.dj=sm;this.ep=yx_cw(sp);this.eo=yx_cq(si);this.em=yx_cm(sf);this.er=yx_de(st);this.en=yx_cp(so);this.eq=yx_db(ss)};var yx_gw=new Array(new yx_gv("","","","","","",""));function addStylePad(sp,ed){yx_gy[yx_gy.length]=new yx_gx(sp,ed)};function addStyleItem(si,ed){yx_gu[yx_gu.length]=new yx_gt(si,ed)};function addStyleFont(sf,ed){yx_go[yx_go.length]=new yx_gn(sf,ed)};function addStyleTag(st,ed){yx_hc[yx_hc.length]=new yx_hb(st,ed)};function addStyleIcon(so,ed){yx_gs[yx_gs.length]=new yx_gr(so,ed)};function addStyleSeparator(ss,ed){yx_ha[yx_ha.length]=new yx_gz(ss,ed)};function addStyleMenu(sm,sp,si,sf,st,so,ss){yx_gw[yx_gw.length]=new yx_gv(sm,sp,si,sf,st,so,ss)};function yx_dl(da,style){this.da=da;this.style=style};function yx_gp(sg){this.dj=sg;this.cz=new Array()};var yx_gq=new Array();function addStyleGroup(sg,sm){var fq=yx_by(sg);if(fq==null){var x=yx_gq.length;yx_gq[x]=new yx_gp(sg);fq=yx_gq[x]};var fr=fq.cz.length;for(var i=2;i<addStyleGroup.arguments.length;i++){fq.cz[fr+i-2]=new yx_dl(addStyleGroup.arguments[i],sm)}};function setDefaultStyle(sp,si,sf,st,so,ss){if(sp!=""){yx_gw[0].ep=yx_cw(sp)};if(si!=""){yx_gw[0].eo=yx_cq(si)};if(sf!=""){yx_gw[0].em=yx_cm(sf)};if(st!=""){yx_gw[0].er=yx_de(st)};if(so!=""){yx_gw[0].en=yx_cp(so)};if(ss!=""){yx_gw[0].eq=yx_db(ss)}};function yx_cw(sp){return yx_cv(yx_gy,sp)};function yx_cq(si){return yx_cv(yx_gu,si)};function yx_cm(sf){return yx_cv(yx_go,sf)};function yx_de(st){return yx_cv(yx_hc,st)};function yx_cp(so){return yx_cv(yx_gs,so)};function yx_db(ss){return yx_cv(yx_ha,ss)};function yx_ct(sm){return yx_cf(yx_gw,sm)};function yx_by(sg){return yx_cf(yx_gq,sg)};function yx_bx(n){return yx_cf(yx_av,n)};function yx_ca(n){return yx_cf(yx_dq,n)};function yx_ce(n){return yx_cf(yx_ek,n)};function yx_ei(be,di,ct,id){this.fm=yx_L;this.be=be;this.di=di;this.ct=ct;this.by=id};function yx_au(be,di,ar,id){this.fm=yx_C;this.be=be;this.di=di;this.ar=ar;this.by=id};function yx_ds(be,id){this.fm=yx_I;this.be=be;this.by=id};function yx_gb(id){this.fm=yx_S;this.by=id};function yx_hf(be,di,ct,sub,id){this.dj=sub;this.fm=yx_M;this.be=be;this.di=di;this.ct=ct;this.by=id;var x=yx_cd(sub);this.cr=x==null?new Array():x.da.cr;this.an=yx_ae;this.am=yx_ad;this.ak=yx_ab;this.al=yx_ac;this.ao=yx_af};function yx_hi(tm){this.dj=tm;this.cr=new Array();this.an=yx_ae;this.am=yx_ad;this.ak=yx_ab;this.al=yx_ac;this.ao=yx_af};function yx_aw(n,dl){this.dj=n;this.da=dl};yx_av=new Array();function yx_ae(be,di,ct,sub,id){this.cr[this.cr.length]=new yx_hf(be,di,ct,sub,id)};function yx_ad(be,di,ct,id){this.cr[this.cr.length]=new yx_ei(be,di,ct,id)};function yx_ab(be,di,ar,id){this.cr[this.cr.length]=new yx_au(be,di,ar,id)};function yx_ac(be,id){this.cr[this.cr.length]=new yx_ds(be,id)};function yx_af(id){this.cr[this.cr.length]=new yx_gb(id)};function yx_cc(m,n){if(m.dj==n){return m};var sm=null;for(var i=0;i<m.cr.length;i++){if(m.cr[i].fm==yx_M){sm=yx_cc(m.cr[i],n);if(sm!=null){break}}};return sm};function yx_cd(n){return(yx_bb!=null&&yx_bb.dj==n)?yx_bb:yx_cc(yx_bc,n)};function yx_ag(n){yx_dk=false;yx_gj("["+n+"] Not Found.")};function addMenu(n,tm){if(yx_dk){yx_bc=new yx_hi(tm);yx_bb=null;var c=yx_bx(n);if(c==null){yx_av[yx_av.length]=new yx_aw(n,yx_bc)}else {delete(c.da);c.da=yx_bc}}};function addSubMenu(n,be,di,ct,sub,id){if(yx_dk){yx_bb=yx_cd(n);if(yx_bb!=null){yx_bb.an(be,di||"",ct||"",sub,id||"")}else {yx_ag(n)}}};function addLink(n,be,di,ct,id){if(yx_dk){yx_bb=yx_cd(n);if(yx_bb!=null){yx_bb.am(be,di||"",ct||"",id||"")}else {yx_ag(n)}}};function addCommand(n,be,di,ar,id){if(yx_dk){yx_bb=yx_cd(n);if(yx_bb!=null){yx_bb.ak(be,di||"",ar||"",id||"")}else {yx_ag(n)}}};function addInfo(n,be,id){if(yx_dk){yx_bb=yx_cd(n);if(yx_bb!=null){yx_bb.al(be,id||"")}else {yx_ag(n)}}};function addSeparator(n,id){if(yx_dk){yx_bb=yx_cd(n);if(yx_bb!=null){yx_bb.ao(id||"")}else {yx_ag(n)}}};function endMenu(){if(yx_dk){yx_gj("Menu Parsed")};yx_bc=null;yx_bb=null};function yx_cu(da){if(da.ca.style!=null){var fd=da.ca.style.cz;for(var i=0;i<fd.length;i++){if(fd[i].da==da.au.dj){return yx_ct(fd[i].style)}}};return da.cs==da.ca?yx_gw[0]:da.cs.cs.style};function yx_cr(cp){if(cp.au.by!=""&&cp.cs.ca.style!=null){var fd=cp.cs.ca.style.cz;for(var i=0;i<fd.length;i++){if(fd[i].da==cp.au.by){return yx_ct(fd[i].style)}}};return cp.cs.style};function yx_hu(x,y){this.x=x;this.y=y};function yx_dc(n){yx_ck();var x=(n==0||n==6||n==7)?0:((n==1||n==5||n== 8)?Math.round(yx_ht/2):(yx_ht-1));var y=(n==0||n==1||n==2)?0:((n==3||n==7||n== 8)?Math.round(yx_hp/2):(yx_hp-1));return(new yx_hu(x,y))};function yx_bz(n,db){var cl=yx_cf(yx_dt,n);return db?((cl!=null&&cl.da!=null&&cl.da.ek)?cl:null):cl};function yx_at(cl){for(var i=0;i<yx_dt.length;i++){if(yx_dt[i].da.ey&&yx_dt[i]!=cl)yx_dt[i].cb()}};function yx_gd(cl,ci){cl.z=ci;yx_gf(cl.da.ce,ci)};function addInstance(n,mc,ed){if(yx_eq){var au=yx_bx(mc);if(au!=null){for(var i=0;i<yx_dt.length;i++){if(yx_dt[i].dj==n){yx_br(i);break}};yx_dt[yx_dt.length]=new yx_du(n,au.copy().da,ed);yx_gj("Menu ["+n+"] Enabled")}}};function yx_bw(n,bl,bm){this.dj=n;this.as=bl;this.at=bm};var yx_dq=new Array(),yx_ek=new Array();function addItemEvent(n,bl,bm){var x=yx_ca(n);if(x==null){yx_dq[yx_dq.length]=new yx_bw(n,bl,bm)}};function addMenuEvent(n,bl,bm){var x=yx_ce(n);if(x==null){yx_ek[yx_ek.length]=new yx_bw(n,bl,bm)}};function addWindowEvent(eh){yx_ho=eh};function yx_be(x,y,w,h,sx,sy){this.x=x;this.y=y;this.width=w;this.height=h;this.scrollx=sx;this.scrolly=sy};function yx_ck(){yx_fy=yx_cz();yx_ga=yx_da();yx_ht=yx_dh();yx_hp=yx_dg()};function yx_cy(db){var ca=this.ca,ds=this.cs,dt=ds.cs,ep=this.style.ep,sW=this.sW,sH=this.sH;var fu=ca.fp,fx=ca.fw,bd=ep.bd==""?(ca.bd):(ep.bd);yx_ck();var eb=0,ec=0;if(ds==ca){eb=fu=="left"?0:fu=="center"?(-Math.round(this.width/2)):(-this.width+1);ec=fx=="top"?0:fx=="middle"?(-Math.round(this.height/2)):(-this.height+1);if(ca.bp&&ca.fk>0){yx_gm(ca.fk);ca.fk=-1;ca.ce.x=ca.ox;ca.ce.y=ca.oy};eb+=ca.ce.x;ec+=ca.ce.y;if(ca.eg=="slot"||ca.bp){eb+=yx_fy;ec+=yx_ga}}else {var iX=dt.x+ds.x,iY=dt.y+ds.y,iW=ds.width,iH=ds.height;if(dt.bar){ec=bd.indexOf("up")!=-1?(iY-this.height+sH):(iY+iH-sH);eb=bd.indexOf("abs-center")!=-1?(dt.x+Math.round((dt.width-this.width)/2)):bd.indexOf("abs-left")!=-1?dt.x:bd.indexOf("abs-right")!=-1?(dt.x+dt.width-this.width):bd.indexOf("center")!=-1?(iX+Math.round((iW-this.width)/2)):bd.indexOf("left")!=-1?(iX+iW-this.width+sW):(iX-sW)}else {eb=bd.indexOf("left")!=-1?(iX-this.width+sW):(iX+iW-sW);ec=bd.indexOf("top")!=-1?dt.y:bd.indexOf("bottom")!=-1?(dt.y+dt.height-this.height):bd.indexOf("middle")!=-1?(dt.y+Math.round((dt.height-this.height)/2)):bd.indexOf("up")!=-1?(iY+iH-this.height+sH):(iY-sH)};eb+=ep.dx;ec+=ep.dy;if(ep.bo){var ea=ec,du=ea+this.height-1,dv=eb,dz=dv+this.width-1;var dx=0,bj=0,dy=0,bk=0;if(dt.bar){if(bd.indexOf("down")!=-1&&du-yx_ga>=yx_hp&&ea-this.height-ds.height+2*sH>=yx_ga){dy=-this.height-ds.height+2*sH-2*ep.dy;ea+=dy;du+=dy};if(bd.indexOf("up")!=-1&&ea<yx_ga&&du+this.height+ds.height-2*sH-yx_ga<yx_hp){dy=this.height+ds.height-2*sH-2*ep.dy;ea+=dy;du+=dy}}else {if(bd.indexOf("right")!=-1&&dz-yx_fy>=yx_ht&&dv-this.width-ds.width+2*sW>=yx_fy){dx=-this.width-ds.width+2*sW-2*ep.dx;dv+=dx;dz+=dx};if(bd.indexOf("left")!=-1&&dv<yx_fy&&dz+this.width+ds.width-2*sW-yx_fy<yx_ht){dx=this.width+ds.width-2*sW-2*ep.dx;dv+=dx;dz+=dx}};if(du-yx_ga>=yx_hp){bk=yx_hp+yx_ga-du-yx_bv};if(ea+bk<yx_ga){bk=yx_ga-ea+yx_bv};if(dz-yx_fy>=yx_ht){bj=yx_ht+yx_fy-dz-yx_bv};if(dv+bj<yx_fy){bj=yx_fy-dv+yx_bv};eb+=dx+bj;ec+=dy+bk}};this.dg(eb,ec);if(db&&!this.ey &&(dt==null||dt.ai==ds)){yx_gf(this.ce,dt!=null?(yx_di(dt.ce)+1):(++zBase));yx_gh(this.ce);this.ey=true;if(this.as!=""){eval(this.as)}};if(ds==ca&&ca.bp&&ca.fk<0){ca.sX=yx_fy;ca.sY=yx_ga;ca.fj()}};function yx_ah(){this.dr=false;if(this.ai!=null){this.ai.dm();this.ai=null;for(var i=0;i<this.cq;i++){if(this.cr[i].da!=null){this.cr[i].da.cc(true)}};if(this.cs==this.ca&&this.ca.fn&&this.at!=""){eval(this.at)}}};function yx_ci(mx,ix,be,mw,iw){return(mx+ix<yx_fy||mx+ix-be-iw<yx_fy&&mx<yx_fy)?iw:(mx+ix+iw-yx_fy>yx_ht||mx+ix+iw+be+iw-yx_fy>yx_ht&&mx+mw-yx_fy>yx_ht)?-iw:0};function yx_cj(my,iy,be,mh,ih){return(my+iy<yx_ga||my+iy-be-ih<yx_ga&&my<yx_ga)?ih:(my+iy+ih-yx_ga>yx_hp||my+iy+ih+be+ih-yx_ga>yx_hp&&my+mh-yx_ga>yx_hp)?-ih:0};function yx_bs(){var cr=this.cr;for(var i=0;i<this.cq;i++){if(cr[i].da!=null&&cr[i].da.ek){cr[i].da.bi()}};document.body.removeChild(this.ce)};function yx_ez(x,y){yx_ex(this.ce,x,y);this.x=x;this.y=y};function yx_ey(x,y){yx_ew(this.ce,x,y);this.x+=x;this.y+=y};function yx_fx(dx,dy){var bh=true;if(dx>0&&this.x+dx>=yx_fy){dx=yx_fy-this.x+yx_bv}else if(dx<0&&this.x+this.width-yx_fy+dx<=yx_ht){dx=yx_ht+yx_fy-this.x-this.width-yx_bv}else if(dy>0&&this.y+dy>=yx_ga){dy=yx_ga-this.y+yx_bv}else if(dy<0&&this.y+this.height-yx_ga+dy<=yx_hp){dy=yx_hp+yx_ga-this.y-this.height-yx_bv}else {bh=false};this.df(dx,dy);if(!bh){yx_fz=yx_ak(this,"et","("+dx+","+dy+")",floatTimer)}};function yx_eg(cs,au){this.cs=cs;this.au=au;this.fc=null;this.cp=null;this.fh=null;this.ch=null;this.be=null;this.av=null;this.da=null;this.x=0;this.y=0;this.ox=0;this.oy=0;this.width=0;this.height=0;this.ow=0;this.oh=0;this.as="";this.at="";this.cv=yx_em;this.cu=yx_el;this.dp=yx_fg;this.dm=yx_fe};function yx_ep(ca,cs,au){this.ca=ca;this.cs=cs;this.au=au;this.style=null;this.ce=null;this.pad=null;this.cr=new Array();this.ai=null;this.cq=au.cr.length;this.aj=false;this.ek=false;this.bq=false;this.go=false;this.ey=false;this.dr=false;this.x=0;this.y=0;this.width=0;this.height=0;this.sW=0;this.sH=0;this.bx=yx_cy;this.as="";this.at="";this.cx=yx_en;this.ex=yx_gi;this.cc=yx_dp;this.ap=yx_ah;this.dg=yx_ez;this.df=yx_ey;this.bi=yx_bs;this.et=yx_fx;this.bar=false};function yx_du(n,au,ed){this.dj=n;this.au=au;this.bp=(ed.search(/floating\s*:\s*yes/)!=-1);var ra=ed.match(/position\s*:\s*(absolute|relative|slot)(\s+([\w\-]+))?/);this.eg=(ra&&ra[1])?ra[1]:"absolute";this.el=(ra&&ra[3])?ra[3]:"";this.fp=ed.search(/align\s*:\s*(left|center|right)/)!=-1?(RegExp.$1):"left";this.fw=ed.search(/valign\s*:\s*(top|middle|bottom)/)!=-1?(RegExp.$1):"top";this.dx=ed.search(/offset-left\s*:\s*(-?\d+)/)!=-1?(RegExp.$1-0):0;this.dy=ed.search(/offset-top\s*:\s*(-?\d+)/)!=-1?(RegExp.$1-0):0;this.bar=(ed.search(/menu-form\s*:\s*bar/)!=-1);this.bd=ed.search(/direction\s*:\s*(right-down|right-up|left-down|left-up|center-down|center-up|abs-right-down|abs-right-up|abs-left-down|abs-left-up|abs-center-up|abs-center-down|right-top|left-top|right-middle|left-middle|right-bottom|left-bottom)/)!=-1?(RegExp.$1):"right-down";this.fn=(ed.search(/visibility\s*:\s*hidden/)==-1);this.fi=ed.search(/target\s*:\s*([\w\-]+)/)!=-1?(RegExp.$1):"";this.fa=(ed.search(/sticky\s*:\s*yes/)!=-1);this.cd=(ed.search(/highlight\s*:\s*no/)==-1);this.style=yx_by(ed.search(/style\s*:\s*([\w\-]+)/)!=-1?(RegExp.$1):"");this.cs=null;this.ca=this;this.da=new yx_ep(this,this,this.au);this.fk=-1;this.fj=yx_hh;this.sX=0;this.sY=0;this.z=zBase-1;this.ce=null;this.bw=yx_co;this.ox=0;this.oy=0;this.ew=yx_gg;this.cb=yx_dn;this.de=yx_ev;this.dd=yx_eu};yx_dt=new Array();function yx_gg(){yx_an();if(yx_ej){if(this.ce==null){this.bw()};yx_at(this);this.da.ex()}};function yx_dn(){this.da.cc(true)};function yx_ev(x,y){if(this.da.ek){this.ce.x=x;this.ce.y=y;this.da.bx(false);this.da.ap()}};function yx_eu(x,y){if(this.da.ek){this.ce.x+=x;this.ce.y+=y;this.da.df(x,y);this.da.ap()}};function yx_br(i){if(yx_dt[i].da.ek){yx_gm(yx_dt[i].fk);yx_dt[i].da.bi()};delete(yx_dt[i]);yx_dt[i]={dj:"",da:{ek:false,ey:false}}};function yx_hh(){yx_ck();if(this.sX!=yx_fy||this.sY!=yx_ga){var mx=yx_fy>this.sX?Math.ceil:Math.floor,my=yx_ga>this.sY?Math.ceil:Math.floor;var dx=mx((yx_fy-this.sX)/floatOffset),dy=my((yx_ga-this.sY)/floatOffset);this.sX+=dx;this.sY+=dy;this.dd(dx,dy)};this.fk=yx_ak(this,"fj","()",floatTimer)};function yx_aj(cp){yx_gf(cp.cp,3);yx_gf(cp.av,4)};function yx_ai(cp){yx_gf(cp.cp,2);yx_gf(cp.av,3)};function yx_fp(){yx_gk()};function yx_fn(){yx_gk();if(!this.fa)yx_ge()};function yx_as(){yx_gl()};function yx_eo(db){var cp=this.cp,da=cp.cs,ei=da.ai;var si=cp.fc,eo=si.eo,em=si.em,er=si.er,en=si.en;if(ei!=null&&ei!=cp){ei.dm()};da.ai=cp;yx_aj(cp);yx_gc(cp,db==0?eo.ay:eo.bb,db==0?er.ay:er.bb,db==0?en.ay:en.bb,db==0?em.ay:em.bb,(db==0&&cp!=ei),eo.fp,eo.fw)};function yx_hk(it){var x=it.cs.cs;if(x.cs!=null){x.av.cy(1);yx_hk(x)}};function yx_bo(it){var x=it.da;if(x!=null&&x.ey){for(var i=0;i<x.cq;i++){if(x.cr[i].da!=null&&x.cr[i].da.ey){x.cr[i].av.cy(1);yx_bo(x.cr[i]);break}}}};function yx_fg(){var fm=this.au.fm,da=this.cs;yx_at(da.ca);if(da.ca.z<zBase){yx_gd(da.ca,++zBase)};for(var i=0;i<da.cq;i++){if(da.cr[i]!=this&&da.cr[i].da!=null){da.cr[i].da.cc(true)}};if(this.as!=""){eval(this.as)};var ep=da.style.ep;var dx=(ep.es=="none"||ep.es=="y-only")?0:yx_ci(da.x,this.x,da.bar?ep.cg:0,da.width,ep.ez==0?this.width:ep.ez),dy=(ep.es=="none"||ep.es=="x-only")?0:yx_cj(da.y,this.y,da.bar?0:ep.cg,da.height,ep.ez==0?this.height:ep.ez);if(dx!=0||dy!=0){yx_fz=yx_ak(da,"et","("+dx+","+dy+")",menuTimer)}else if(fm==yx_M){if((this.fc.eo.dq||da.dr)&&!this.da.ey){this.da.ex()}else if(!da.ca.cd){this.da.ap()}}};function yx_fe(){var si=this.fc;yx_ai(this);yx_gc(this,si.eo.ba,si.er.ba,si.en.ba,si.em.ba,false,si.eo.fp,si.eo.fw)};function yx_fo(){var cp=this.cp;if(cp.cs.ey){yx_gk();yx_gj(cp.au.di);this.cy(0);yx_hk(cp);yx_bo(cp);yx_fi=yx_ak(cp,"dp","()",menuTimer)}};function yx_fm(){yx_gk();if(this.cp.at!=""){eval(this.cp.at)};if(!this.fa){yx_ge()}};function yx_co(){var x=0,y=0;if(this.eg=="relative"){var l=yx_cb(this.el);if(l!=null){x=yx_cs(l);y=yx_df(l)}}else if(this.eg=="slot"){var s=yx_dc(parseInt(this.el));x=s.x;y=s.y};x+=this.dx;y+=this.dy;this.ox=x;this.oy=y;this.ce=new yx_hu(x,y)};function yx_fw(){yx_gk();yx_fk();yx_ck();for(var i=0;i<yx_dt.length;i++){var cl=yx_dt[i];if(cl.da.ek){yx_gm(cl.fk);cl.fk=-1;cl.cb();cl.bw();cl.da.bx(false)}};if(yx_ho!=""){eval(yx_ho)}};function yx_hl(){return true};function getMenuDim(n){var cl=yx_bz(n,true);return cl==null?null:(new yx_be(cl.da.x,cl.da.y,cl.da.width,cl.da.height,yx_cz(),yx_da()))};function showMenu(n){var cl=yx_bz(n,false);if(cl!=null){yx_gk();cl.ew()}};function showMenuX(n){var cl=yx_bz(n,false);if(cl!=null){yx_gk();cl.fn=true;cl.ew()}};function hideMenu(n){var cl=yx_bz(n,true);if(cl!=null){cl.cb()}};function hideMenuX(n){var cl=yx_bz(n,true);if(cl!=null){cl.fn=false;cl.cb()}};function moveMenuTo(n,x,y){var cl=yx_bz(n,true);if(cl!=null){cl.de(x,y)}};function moveMenuBy(n,x,y){var cl=yx_bz(n,true);if(cl!=null){cl.dd(x,y)}};function moveMenuBack(n){var cl=yx_bz(n,true);if(cl!=null){cl.de(cl.ox,cl.oy)}};function openMenu(n){yx_gk();yx_fi=setTimeout("showMenu('"+n+"')",menuTimer)};function openMenuX(n){yx_gk();yx_fi=setTimeout("showMenuX('"+n+"')",menuTimer)};function closeMenuNow(){yx_at(null)};function closeMenu(){yx_gk();yx_ge()};function closeMenuX(n){var cl=yx_bz(n,true);if(cl!=null){cl.fn=false};closeMenu()};function clickMenu(n){yx_gl();showMenu(n)};function clickMenuX(n){yx_gl();showMenuX(n)};function switchMenu(n){yx_gl();var cl=yx_bz(n,false);if(cl!=null){var ag=(cl.fn&&cl.da.ey)?hideMenuX:showMenuX;ag(n)}};function setHolder(n,id){var cl=yx_bz(n,false),l=yx_cb(id);if(cl!=null&&l!=null){cl.ox=yx_cs(l)+cl.dx;cl.oy=yx_df(l)+cl.dy;cl.ce=new yx_hu(cl.ox,cl.oy)}};function setCoordinates(n,x,y){var cl=yx_bz(n,false);if(cl!=null){cl.ox=x;cl.oy=y;cl.ce=new yx_hu(x,y)}};function slideMenuBack(n){var cl=yx_bz(n,false);if(cl!=null){addMenuEvent(cl.da.au.dj,"","moveMenuBack('"+n+"')")}};function updateItemDisplay(id,be){var cp=yx_cb("yx"+id);if(cp!=null&&cp.cp.au.fm!=yx_S){cp.cp.be.innerHTML=be}};function updateItemLink(id,ct){var cp=yx_cb("yx"+id);if(cp!=null&&cp.cp.au.fm==yx_L){cp.cp.au.ct=ct}};function updateItemCode(id,ar){var cp=yx_cb("yx"+id);if(cp!=null&&cp.cp.au.fm==yx_C){cp.cp.au.ar=ar}};if(yx_eq){var yx_er=scriptPath+(yx_dw?"menuG5GeckoX.js":yx_ee?"menuG5OperaX.js":"menuG5IEX.js");document.write("<scr"+"ipt language='javascript' src='"+yx_er+"' fm='text/javascript'><\/scr"+"ipt>");if(typeof(contentScript)!="undefined"){document.write("<scr"+"ipt language='javascript' src='"+contentScript+"' fm='text/javascript'><\/scr"+"ipt>")};if(typeof(styleScript)!="undefined"){document.write("<scr"+"ipt language='javascript' src='"+styleScript+"' fm='text/javascript'><\/scr"+"ipt>")};if(typeof(instanceScript)!="undefined"){document.write("<scr"+"ipt language='javascript' src='"+instanceScript+"' fm='text/javascript'><\/scr"+"ipt>")}}else if(typeof(nonMenuPage)!="undefined"){setTimeout("window.location.replace('"+nonMenuPage+"')",0)};
