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


function _dmof(id,dir){if(!_dmaf(id,dir))return null;return parent.frames[dir].document.getElementById(id);};function _dmwc(dm,ce,id){var co=null;if(!(co=_dmcr(dm,id)))co=_dmni(ce);if(dm.qtm>=0&&dm.dcp!=-1)_dmyt(dm);return co;};function _dmcr(dm,id){if(!_dmaf(id,dm.dis))return null;var oo=_dmof(id,dm.dis);if(oo)return oo;var dfr=parent.frames[dm.dis].document;if(!dfr)return null;dfd=dfr.body;var s=_dmhm(dm);with(dfd){var dcr=dfr.getElementById('dmDIV');if(_n&&_v<7&&dcr)dcr.innerHTML=s;else if(_ec)insertAdjacentHTML('afterBegin',s);else innerHTML+=s;};return _dmof(id,dm.dis);};function _dmhm(dm){var s='';with(dm)for(var lil=1;lil<m.ln();lil++)with(m[lil]){if(!hs)_dmsh(dm,m[lil],'','',_dvO,1);s+=hs;};return s;};function _dmfs(st,dir){var s1='',s2='',sa=st.split(',');for(var i=0;i<dir;i++)s1+=sa[i]+',';for(var i=dir+1;i<sa.length;i++)s2+=','+sa[i];return[s1,sa[dir],s2];};function _dmyt(dmv){var m=dmv.dcs,i=dmv.dcp;with(yg){qps=true;cso=true;};dm_ext_setPressedItem(dmv.ii,m,i,true);};function _dmaf(id,dir){try{var oo=parent.frames[dir].document.getElementById(id);dt=1;return 1;}catch(e){dt=3;return 0;};};function _dmcp(dm,ce,co,cd){var dti=_dmcs(null),sd=_dmcs(dm),l=0,t=0,cc=_dmos(_dmoi(ce.id+'tbl')),w=cc[2],h=cc[3],dfr=parent.frames[dm.dis];if(dm.dor){var dy=dti[1];if(_e||_o)dy+=dfr.window.screenTop-window.screenTop;switch(dm.sis){case 0:case 1:l=sd[0]-ce.qoz;break;case 2:case 3:l=sd[2]+sd[0]-cc[2]-ce.qoz;break;};t=cd[1]+sd[1]-dy;}else{var dx=dti[0];if(_e||_o)dx+=dfr.window.screenLeft-window.screenLeft;l=cd[0]+sd[0]-dx;switch(dm.sis){case 0:case 2:t=sd[1]+ce.qox;break;case 1:case 3:t=sd[3]+sd[1]-cc[3]-ce.qox;break;};};l=_dmoz(l,w,sd[0],sd[0]+sd[2],0);t=_dmoz(t,h,sd[1],sd[1]+sd[3],0);with(co.style){left=l+'px';top=t+'px';};cd[0]=l;cd[1]=t;return cd;};function _dmfr(dm,id){var fst=parent.document.getElementById(dm.dsi);with(fst)var dfz=dm.dor?cols:rows;if(!ofs)ofs=dfz;var dfx=_dmfs(dfz,dm.dim),dsd=_dmcs(dm),cc=_dmos(_dmoi(id+'tbl'));with(fst)switch(dm.dor){case 0:if(cc[1]+cc[3]>dsd[3])rows=dfx[0]+(cc[1]+cc[3]+2)+dfx[2];break;case 1:if(cc[0]+cc[2]>dsd[2])cols=dfx[0]+(cc[0]+cc[2]+2)+dfx[2];break;};};var dmCF=1;
