//***********************************************
//  Javascript Menu (c) 2006, by Deluxe-Menu.com
//  version 2.0
//  E-mail:  cs@deluxe-menu.com
//***********************************************


function dm_ext_hideAllSubmenus(mi){_dmsm(mi);};function dm_ext_changeItem(mi,ci,iy,dps){var dm=_dm[mi],ce=dm.m[ci],iv=ce.i[iy],io=_dmoi(iv.id+'tbl');with(iv){text=(dps[0]?dps[0]:text);link=_dmll(dps[1]);target=_dmsl(dps[5]);status=_dmst(statusString,text,link);tip=_dmpr(dps[4],'');itt=_dmls(dm,dps[6],1);dii=_dmkl([_dmpr(dps[2],dii[0]),_dmpr(dps[3],dii[1])],pathPrefix_img);dss=(target=='_')?1:0;if(io){_dmoi(id+'tdT').innerHTML=text;with(io){yr=tip;style.width=itt.iw;};_dmh(iv,0);};};};function _dme(){if(_o&&_v<7)return alert('Javascript Menu by Deluxe-Menu.com:\nThis browser doesn\'t support dynamic menu modifications.');};function dm_ext_createSubmenu(mi,ci,iy,dpa){_dme();var dm=_dm[mi],ce=dm.m[ci],iv=ce.i[iy];if(iv.dcd)return 0;_dmsp(dm,ce,iv,dpa[7]);dcm.iy=dcm.ce.i.ln();_dmip(dm,dcm.ce,dcm.iy,dpa,statusString);iv.dcd=dcm.ce.id;var ib=_dmge(iv.id+'tbl');if(ib){var s=_dmir(iv),r=ib.rows[0],dao=d_o.createElement('TD');with(iv){dao.id=id+'tdA';dao.style.padding=dcm.ce.ct.ipd+du;var dri=ci?itt.drs[0]:itt.drm[0];dao.innerHTML=_dmiz(id+'arr',dri,qw,qh,'');};r.appendChild(dao);};var mm=_dmoi(dm.m[0].id).offsetParent;mm.innerHTML+=_dmda(mi,dcm.ce.ii);_dmni(dcm.ce);return 1;};function dm_ext_deleteSubmenu(mi,ci){_dme();var dm=_dm[mi],ce=dm.m[ci];_dmvi(ce.rid).dcd='';_dmge(ce.rid+'tdA').style.display='none';};function dm_ext_addItem(mi,ci,dpa){_dme();var dm=_dm[mi],ce=dm.m[ci],iy=ce.i.length;_dmip(dm,ce,iy,dpa,statusString);var iv=ce.i[iy],co=_dmoi(ce.id+'tbl'),dfr=(iv.ci&&dm.dcf&&dt==1)?'parent.frames['+dm.dim+'].':'',io=d_o.createElement('TD');io.id=iv.id+'td';io.innerHTML=_dmit(dm,ce,iv,dfr);if(co){with(co)var ow=ce.dhz?rows[0]:insertRow(rows.length);if(ce.dhz)ow.id=iv.id+'R';ow.appendChild(io);};};function _dmv(id,vis){var itd=_dmoi(id+'td');if(itd)itd.style.display=vis?'':'none';var itr=_dmoi(id+'R');if(itr)itr.style.display=vis?'':'none';};function dm_ext_deleteItem(mi,ci,iy){_dme();var ce=_dm[mi].m[ci],iv=ce.i[iy];iv.ded=1;_dmv(iv.id,0);};function dm_ext_changeItemVisibility(mi,ci,iy,vis){_dme();var ce=_dm[mi].m[ci],iv=ce.i[iy];iv.qiv=vis;_dmv(iv.id,vis);};function dm_ext_getItemParams(mi,ci,iy){with(_dm[mi].m[ci].i[iy])var dps=[id,(dcd?1:0),text,link,target,status,tip,da,dii,dss,dpr,qiv,ded];return dps;};function dm_ext_getSubmenuParams(mi,ci){with(_dm[mi].m[ci])var cp=[id,i.length,rid,le,dhz];return cp;};function dm_ext_getMenuParams(mi){with(_dm[mi])var mp=[m.length,dcs,dcp];return mp;};
