var fedMenu = new ItemStyle(680, 0, '', 0, 0, '#000055', '#000055', 'hightext', 'highText', '', '',
 null, null, 'hand', 'default');

var subM = new ItemStyle(22, 0, '&gt;', -15, 3, '#000055', '#000055', 'lowText', 'overText',
 'itemBorder', 'itemBorder', null, null, 'hand', 'default');

var pMenu = new PopupMenu('pMenu');
with (pMenu)
{
// Hoofdmenu => menubalk
startMenu('root', false, 10,90, 20, fedMenu, 'boven', false);
addItem('Federatie', 'mFed', 'sm:', null, 100);
addItem('Merchtem', 'mMer', 'sm:', null, 100);
addItem('Mollem', 'mMol', 'sm:', null, 80);
addItem('Bollebeek','mBol', 'sm:', null, 100);
addItem('Gastenboek', '../Gastenboek/Gastenboek.php', 'top.midden',null,110);
addItem('Foto-Album', '../Fotoalbum.php','top.midden',null,110);
addItem('Links','mLink','sm:',null,75);
addItem('Contact','../Contact.php','top.midden',null,90);
addItem('Communie & Vormsel','mVormsel','sm:',null,180);

//Federatie menu
startMenu('mFed', true, 'midden.page.scrollX()+10', 'midden.page.scrollY()', 150, subM, 'midden', false);
addItem('Home', '../Welkom.php','top.midden');
addItem('Kennismaking', 'mFedKen', 'sm:');
addItem('Publicaties','mFedPub','sm:');
addItem('Live meevolgen','../Streaming.php','top.midden');

//Federatie Publicaties
startMenu('mFedPub', true, 150,0,150,subM,'midden',false);
addItem('Parochieblad', '../Parochieblad.php', 'top.midden');
addItem('Klokslag','../Klokslag.php','top.midden');
addItem('Kapellekensroute','../Kaproute.php','top.midden');
addItem('Beleidsnota\'s','../Beleidsnotas.php','top.midden');

//Federatie Kennismaking
startMenu('mFedKen', true, 150,0, 250, subM, 'midden', false);
addItem('Visie', '../FedKennis.php#onzevisie', 'top.midden');
addItem('Dekenaat', '../FedKennis.php#dekenaatfed', 'top.midden');
addItem('Federatie Merchtem', '../FedKennis.php#FedMerchtem', 'top.midden');
addItem('Federatie Pastoor', '../FedKennis.php#FedPastoor', 'top.midden');
addItem('Federatie Secretariaat', '../FedKennis.php#secretariaat', 'top.midden');
addItem('Federatieploeg', '../FedKennis.php#federatieploeg', 'top.midden');
addItem('Jeugdpastorale ploeg', '../FedKennis.php#jeugdpastoraal','top.midden');
addItem('Welzijnszorg/Broederlijk Delen', '../FedKennis.php#fedwerkgroep','top.midden');
addItem('Redactieraad Parochieblad','../FedKennis.php#redparblad','top.midden');
addItem('Werkgroep Liturgie', '../FedKennis.php#FedLit','top.midden');

//Merchtem menu
startMenu('mMer', true, 'midden.page.scrollX()+110', 'midden.page.scrollY()', 200, subM, 'midden', false);
addItem('Kennismaking', 'mMerKen', 'sm:');
addItem('Vierende gemeenschap', 'mMerVG', 'sm:');
addItem('Gemeenschap in Beweging','../MerGB.php','top.midden');

//Merchtem Kennismaking
startMenu('mMerKen', true, 200, 0, 200, subM, 'midden', false);
addItem('Situering', '../MerKennis.php#situering', 'top.midden');
addItem('Ligging', '../MerKennis.php#ligging', 'top.midden');
addItem('Geschiedenis', '../MerKennis.php#geschiedenis', 'top.midden');
addItem('Federatie Secretariaat','../MerKennis.php#secretariaat', 'top.midden');
addItem('Parochieploeg','../MerKennis.php#parochieploeg','top.midden');
addItem('Parochiale Werkgroep','../MerKennis.php#parochialewerkgroep','top.midden');
addItem('Beheerscomité','../MerKennis.php#beheerscomite','top.midden');
addItem('Parochiezaal','../MerKennis.php#parochiezaal','top.midden');
addItem('Kerkraad','../MerKennis.php#kerkraad','top.midden');
addItem('Scholen','../MerKennis.php#scholen','top.midden');

//Merchtem Vieriende Gemeenschap
startMenu('mMerVG', true, 200, 0, 200, subM, 'midden', false);
addItem('Eucharistievieringen','../MerVG.php#eucharistievieringen','top.midden');
addItem('Intenties','../MerVG.php#intensies','top.midden');
addItem('Gebedsdiensten','../MerVG.php#gebedsdiensten','top.midden');
addItem('Woord-Communiediensten','../MerVG.php#gebedsdiensten','top.midden');
addItem('Communie aan huis','../MerVG.php#communieaanhuis','top.midden');
addItem('Koren','../MerVG.php#koor','top.midden');
addItem('Lectoren','../MerVG.php#lectoren','top.midden');
addItem('Kerkkuis','../MerVG.php#kerkkuis','top.midden');
addItem('Werkgroep Bloemschikken','../MerVG.php#bloemschikken','top.midden');
addItem('Doopsel','../MerVG.php#doopsel','top.midden');
addItem('1ste Communie','../MerVG.php#1stecommunie','top.midden');
addItem('Vormsel','../MerVG.php#vormsel','top.midden');
addItem('Nevendienst','../MerVG.php#nevendienst','top.midden');
addItem('Huwelijk','../MerVG.php#huwelijk','top.midden');
addItem('Ziekenzalving','../MerVG.php#ziekenzalving','top.midden');
addItem('Uitvaart','../MerVG.ph#uitvaart','top.midden');

//Mollem Menu
startMenu('mMol', true, 'midden.page.scrollX()+210', 'midden.page.scrollY()', 200, subM, 'midden', false);
addItem('Kennismaking','mMolKen','sm:');
addItem('Vierende Gemeenschap','mMolVG','sm:');
addItem('Gemeenschap in Beweging','../MolGB.php','top.midden');

//Mollem Kennismaking
startMenu('mMolKen',true,200,0,200,subM,'midden',false);
addItem('Situering', '../MolKennis.php#situering', 'top.midden');
addItem('Ligging', '../MolKennis.php#ligging', 'top.midden');
addItem('Geschiedenis', '../MolKennis.php#geschiedenis', 'top.midden');
addItem('Secretariaat','../MolKennis.php#secretariaat', 'top.midden');
addItem('Parochieploeg','../MolKennis.php#parochieploeg','top.midden');
addItem('Kerkraad','../MolKennis.php#kerkraad','top.midden');
addItem('Parochiezaal','../MolKennis.php#parochiezaal','top.midden');
addItem('Scholen','../MolKennis.php#school','top.midden');
addItem('Werkgroep bloemschikken','../MolKennis.php#bloemen','top.midden');

//Mollem Vierende gemeenschap
startMenu('mMolVG',true,200,0,200,subM,'midden',false);
addItem('Eucharistievieringen','../MolVG.php#eucharistievieringen','top.midden');
addItem('Intenties','../MolVG.php#intensies','top.midden');
addItem('Gebedsdiensten','../MolVG.php#gebedsdiensten','top.midden');
addItem('Woord-Communiediensten','../MolVG.php#gebedsdiensten','top.midden');
addItem('Communie aan huis','../MolVG.php#communieaanhuis','top.midden');
addItem('Koren','../MolVG.php#koor','top.midden');
addItem('Lectoren','../MolVG.php#lectoren','top.midden');
addItem('Kerkkuis','../MolVG.phpm#kerkkuis','top.midden');
addItem('Doopsel','../MolVG.php#doopsel','top.midden');
addItem('1ste Communie','../MolVG.php#1stecommunie','top.midden');
addItem('Vormsel','../MolVG.php#vormsel','top.midden');
addItem('Huwelijk','../MolVG.php#huwelijk','top.midden');
addItem('Ziekenzalving','../MolVG.php#ziekenzalving','top.midden');
addItem('Uitvaart','../MolVG.php#uitvaart','top.midden');

//Bollebeek Menu
startMenu('mBol',true,'midden.page.scrollX()+290','midden.page.scrollY()',200,subM,'midden',false);
addItem('Kennismaking','mBolKen','sm:');
addItem('Vierende Gemeenschap','mBolVG','sm:');
addItem('Gemeenschap in beweging','../BolGB.php','top.midden');

//Bollebeek Kennismaking
startMenu('mBolKen',true,200,0,120,subM,'midden',false);
addItem('Situering', '../BolKennis.php#situering', 'top.midden');
addItem('Ligging', '../BolKennis.php#ligging', 'top.midden');
addItem('Geschiedenis', '../BolKennis.php#geschiedenis', 'top.midden');
addItem('Secretariaat','../BolKennis.php#secretariaat', 'top.midden');
addItem('Parochieploeg','../BolKennis.php#parochieploeg','top.midden');
addItem('Kerkraad','../BolKennis.php#kerkraad','top.midden');

//Bollebeek Vierende Gemeenschap
startMenu('mBolVG',true,200,0,200,subM,'midden',false);
addItem('Eucharistievieringen','../BolVG.php#eucharistievieringen','top.midden');
addItem('Intenties','../BolVG.php#intensies','top.midden');
addItem('Gebedsdiensten','../BolVG.php#gebedsdienst','top.midden');
addItem('Woord-Communiediensten','../BolVG.php#gebedsdienst','top.midden');
addItem('Communie aan huis','../BolVG.php#communieaanhuis','top.midden');
addItem('Koren','../BolVG.php#koor','top.midden');
addItem('Lectoren','../BolVG.php#lectoren','top.midden');
addItem('Kerkkuis','../BolVG.php#kerkkuis','top.midden');
addItem('Doopsel','../BolVG.php#doopsel','top.midden');
addItem('1ste Communie','../BolVG.php#1stecommunie','top.midden');
addItem('Vormsel','../BolVG.php#vormsel','top.midden');
addItem('Huwelijk','../BolVG.php#huwelijk','top.midden');
addItem('Ziekenzalving','../BolVG.php#ziekenzalving','top.midden');
addItem('Uitvaart','../BolVG.php#uitvaart','top.midden');

//Link Menu
startMenu('mLink',true,'midden.page.scrollX()+575','midden.page.scrollY()',150,subM,'midden',false);
addItem('Jongerenwerking','../Links.php#jeugbeweging','top.midden');
addItem('Gemeenten','../Links.php#gemeente','top.midden');
addItem('Scholen','../Links.php#scholen','top.midden');
addItem('Koren','../Links.php#koren','top.midden');
addItem('Kerknet','../Links.php#kerknet','top.midden');

//Communie & Vormsel
startMenu('mVormsel',true,'midden.page.scrollX()+780', 'midden.page.scrollY()',250,subM,'midden',false);
addItem('1ste Communie','../Communie.php','top.midden');
addItem('Plechtige Geloofsbelijdenis','../Geloofbelijdenis.php','top.midden');
addItem('Vormsel','../Vormsel.php','top.midden');

/*Fotoalbum Menu
startMenu('mFoto',true,'midden.page.scrollX()+465','midden.page.scrollY()',150,subM,'midden',false);
addItem('2003','m2003','sm:');
addItem('2004','m2004','sm:');
addItem('2005','m2005','sm:');
addItem('2006','m2006','sm:');
addItem('2007','m2007','sm:');
addItem('2008','m2008','sm:');
addItem('2009','m2009','sm:');

//Foto's 2003
startMenu('m2003',true,150,0,200,subM,'midden',false);
addItem('Lourdes','../Fotoalbum/Lourdes.php','top.midden');
addItem('Bollebeek: Oudstrijders','../Fotoalbum/BolOudstrijders.php','top.midden');
addItem('Kinderoptreden te Mollem','../Fotoalbum/MolKinder2003.php','top.midden');

//Foto's 2004
startMenu('m2004',true,150,0,250,subM,'midden',false);
addItem('Motorzegening te Merchtem','../Fotoalbum/Motor2004.php','top.midden');
addItem('Sfeerbeelden Kamp 2004','../Fotoalbum/Kamp2004.php','top.midden');
addItem('Jongerenkoor Zottegem','../Fotoalbum/JongKoorZot.php','top.midden');
addItem('Kerstmis 2004','../Fotoalbum/Kerstmis2004.php','top.midden');

//Fotoalbum 2005
startMenu('m2005',true,150,0,250,subM,'midden',false);
addItem('Welzijnszorg: Bedeling','../Fotoalbum/Welzijnszorg.php','top.midden');
addItem('St Antoniusviering','../Fotoalbum/Antoniusviering.php','top.midden');
addItem('Lichtmis','../Fotoalbum/Lichtmis.php','top.midden');
addItem('Februari 2005','../Fotoalbum/Feb2005.php','top.midden');
addItem('Kooravond te Mollem','../Fotoalbum/Kooravond.php','top.midden');
addItem('Propagandisten 25/02','../Fotoalbum/Propagandisten2005.php','top.midden');
addItem('Motorwijding','../Fotoalbum/Motor2005.php','top.midden');
addItem('Parochiedag te Merchtem','../Fotoalbum/Parochiedag2005.php','top.midden');
addItem('Uitvoering Cantate','../Fotoalbum/Cantate2005.php','top.midden');
addItem('Bloemenhulde te Merchtem','../Fotoalbum/Bloemenhulde.php','top.midden');
addItem('100 jaar fietsbedevaart','../Fotoalbum/Scherpenheuvel.php','top.midden');
addItem('60 jaar Steltenlopers','../Fotoalbum/Steltenlopers.php','top.midden');
addItem('Repetitie 1ste Communicanten','../Fotoalbum/Communicanten2005.php','top.midden');
addItem('Komst Kardinaal Danneels 25 mei','../Fotoalbum/Jubelfeesten2005.php','top.midden');
addItem('Uitvaart Bliksemafleider','../Fotoalbum/Bliksemafleider.php','top.midden');
addItem('Boekentassenwijding','../Fotoalbum/Boekentassenwijding.php','top.midden');
addItem('Forever Young 2005','../Fotoalbum/ForeverYoung2005.php','top.midden');
addItem('Kinderkerstconcert 2005','../Fotoalbum/Kinderkerstconcert2005.php','top.midden');

//Fotoalbum 2006
startMenu('m2006',true,150,0,250,subM,'midden',false);
addItem('Allerlei 2006','../Fotoalbum/Allerlei2006.php','top.midden');
addItem('Driekoningen KWB','../Fotoalbum/3koningenKWB.php','top.midden');
addItem('Gouden Klakson 2006','../Fotoalbum/Goudenklakson2006.php','top.midden');
addItem('Schoolfeest juni te Mollem','../Fotoalbum/SchoolfeestMollem.php','top.midden');
addItem('Eerste Communie 2006','../Fotoalbum/Communie2006.php','top.midden');
addItem('Kampen 2006','../Fotoalbum/Kampen2006.php','top.midden');
addItem('Professie Koen Meys','../Fotoalbum/Koen2006.php','top.midden');
addItem('1ste Schooldag','../Fotoalbum/1sept2006.php','top.midden');
addItem('Boekentassenwijding 2006','../Fotoalbum/Boekentassenwijding2006.php','top.midden');
addItem('65 jaar KWB Merchtem','../Fotoalbum/KWB65j.php','top.midden');
addItem('Kerstallen in 2006','../Fotoalbum/Kerststallen2006.php','top.midden');

//Fotoalbum 2007
startMenu('m2007',true,150,0,250,subM,'midden',false);
addItem('Kooravond 2007','../Fotoalbum/Kooravond2007.php','top.midden');
addItem('Parochiedag te Merchtem','../Fotoalbum/Parochiedag2007.php','top.midden');
addItem('Scherpenheuvel','../Fotoalbum/Scherpenheuvel2007.php','top.midden');
addItem('Jaarmarkt te Mollem','../Fotoalbum/jmMollem2007.php','top.midden');
addItem('Pastorijfeesten te Mollem','../Fotoalbum/PastorijfeestenMollem2007.php','top.midden');
addItem('Ommegang te Merchtem','../Fotoalbum/Ommegang2007.php','top.midden');

//Fotoalbum 2008
startMenu('m2008',true,150,0,250,subM,'midden',false);
addItem('Allerlei','../Fotoalbum/Allerlei2008.php','top.midden');
addItem('1ste communie','../Fotoalbum/Communie2008.php','top.midden');
addItem('Kampen','../Fotoalbum/Kampen2008.php','top.midden');
addItem('Parochiedag Merchtem','../Fotoalbum/Parochiedag2008.php','top.midden');
addItem('Pastorijfeesten Mollem','../Fotoalbum/PastorijfeestenMollem2008.php','top.midden');
addItem('Processie Bollebeek','../Fotoalbum/ProcessieBollebeek2008.php','top.midden');
addItem('Scherpenheuvel','../Fotoalbum/Scherpenheuvel2008.php','top.midden');
addItem('Ziekennamiddag','../Fotoalbum/Ziekennamiddag2008.php','top.midden');
addItem('Advent','../Fotoalbum/Advent2008.php','top.midden');
addItem('Kerstdiner','../Fotoalbum/Kerstdiner2008.php','top.midden');
addItem('Taize','../Fotoalbum/Taize2008.php','top.midden');*/
}

addMenuBorder(pMenu, window.sublank, null, '#666666', 1, '#CCCCDD', 2);

addDropShadow(pMenu, window.subM, [40,"#333333",6,6,-4,-4], [40,"#666666",4,4,0,0]);
addDropShadow(pMenu, window.subBlank, [40,"#333333",6,6,-4,-4], [40,"#666666",4,4,0,0]);

if ((navigator.userAgent.indexOf('rv:0.')==-1) &&
    !(isOp&&!document.documentElement) && !(isIE4&&!window.external))
{
 pMenu.showMenu = new Function('mN','menuAnim(this, mN, 10)');
 pMenu.hideMenu = new Function('mN','menuAnim(this, mN, -15)');
}

page.elmPos=function(e,p)
{
 var x=0,y=0,w=p?p:this.win;
 e=e?(e.substr?(isNS4?w.document.anchors[e]:getRef(e,w)):e):p;
 if(isNS4){if(e&&(e!=p)){x=e.x;y=e.y};if(p){x+=p.pageX;y+=p.pageY}}
 else if (e && e.focus && e.href && this.MS && /Mac/.test(navigator.platform))
 {
  e.onfocus = new Function('with(event){self.tmpX=clientX-offsetX;' +
   'self.tmpY=clientY-offsetY}');
  e.focus();x=tmpX;y=tmpY;e.blur()
 }
 else while(e){x+=e.offsetLeft;y+=e.offsetTop;e=e.offsetParent}
 return{x:x,y:y};
};




// Animation:
//
// Each menu object you create by default shows and hides its menus instantaneously.
// However you can override this behaviour with custom show/hide animation routines,
// as we have done in the "Menu Effects" section. Feel free to edit this, or delete
// this entire function if you're not using it. Basically, make functions to handle
// menuObj.showAnim() and .hideAnim(), both of which are passed menu names.
//
// Customisers: My lyr.clip() command gets passed the parameters (x1, y1, x2, y2)
// so you might want to adjust the direction etc. Oh, and I'm adding 2 to the dimensions
// to be safe due to different box models in some browsers.
// Another idea: add some if/thens to test for specific menu names...?

function menuAnim(menuObj, menuName, dir)
{
 // The array index of the named menu (e.g. 'mFile') in the menu object (e.g. 'pMenu').
 var mD = menuObj.menu[menuName][0];
 // Add timer and counter variables to the menu data structure, we'll need them.
 if (!mD.timer) mD.timer = 0;
 if (!mD.counter) mD.counter = 0;

 with (mD)
 {
  // Stop any existing animation.
  clearTimeout(timer);

  // If the litNow() array doesn't show this menu as lit, and we're still showing it,
  // force a quick hide (this stops miscellaneous timer errors).
  //if (dir>0 && !menuObj.litNow[menuObj.menu[menuName][0].parentMenu]) dir = -100;

  // If the layer doesn't exist (cross-frame navigation) quit.
  if (!lyr || !lyr.ref) return;
  // This next line is not strictly necessary, but it stops the one-in-a-hundred menu that
  // shows and doesn't hide on very quick mouseovers.
  if (!visNow && dir>0) dir = 0-dir;
  // Show the menu if that's what we're doing.
  if (dir>0) lyr.vis('visible');
  // Also raise showing layers above hiding ones.
  lyr.sty.zIndex = dir>0 ? mD.zIndex + 1 : 1001;

  // Alpha fade in IE5.5+. Mozilla's opacity isn't well suited to this as it's an inheritable
  // property rather than a block-level filter, and it's slow, but uncomment and try it perhaps.
  // WARNING: This looks funny if you're mixing opaque and translucent items e.g. solid menus
  // with dropshadows. If you're going to use it, either disable dropshadows or set the opacity
  // values for your items to numbers instead of null.
  //if (isIE && window.createPopup) lyr.alpha(counter&&(counter<100) ? counter : null);

  // Clip the visible area. Tweak this if you want to change direction/acceleration etc.
  // As you can see, the visibile clipping region is from (0, 0) which is the top left corner,
  // to the right edge of the menu 'menuW+2', and a complicated formula that sets the bottom
  // edge of the clipping region based on the 'counter' variable so it accelerates.
  lyr.clip(0, 0, menuW+2, (menuH+2)*Math.pow(Math.sin(Math.PI*counter/200),0.75) );

  // Increment the counter and if it hasn't reached the end (counter is 0% or 100%),
  // set the timer to call the animation function again in 40ms to contine the animation.
  // Note that we hide the menu div on animation end in that direction.
  counter += dir;
  if (counter>100) { counter = 100; lyr.sty.zIndex = mD.zIndex }
  else if (counter<0) { counter = 0; lyr.vis('hidden') }
  else timer = setTimeout('menuAnim('+menuObj.myName+',"'+menuName+'",'+dir+')', 40);
 }
};




// Borders and Dropshadows:
//
// Here's the menu border and dropshadow functions we call above. Edit ot delete if you're
// not using them. Basically, they assign a string to pMenu.menu.menuName[0].extraHTML, which
// is written to the document with the menus as they are created -- the string can contain
// anything you want, really. They also adjust the menu dimensions and item positions
// to suit. Dig out the Object Browser script and open up "pMenu" for more info.

function addMenuBorder(mObj, iS, alpha, bordCol, bordW, backCol, backW)
{
 // Loop through the menu array of that object, finding matching ItemStyles.
 for (var mN in mObj.menu)
 {
  var mR=mObj.menu[mN], dS='<div style="position:absolute; background:';
  if (mR[0].itemSty != iS) continue;
  // Loop through the items in that menu, move them down and to the right a bit.
  for (var mI=1; mI<mR.length; mI++)
  {
   mR[mI].iX += bordW+backW;
   mR[mI].iY += bordW+backW;
  }
  // Extend the total dimensions of menu accordingly.
  mW = mR[0].menuW += 2*(bordW+backW);
  mH = mR[0].menuH += 2*(bordW+backW);

  // Set the menu's extra content string with divs/layers underneath the items.
  if (isNS4) mR[0].extraHTML += '<layer bgcolor="'+bordCol+'" left="0" top="0" width="'+mW+
   '" height="'+mH+'" z-index="980"><layer bgcolor="'+backCol+'" left="'+bordW+'" top="'+
   bordW+'" width="'+(mW-2*bordW)+'" height="'+(mH-2*bordW)+'" z-index="990"></layer></layer>';
  else mR[0].extraHTML += dS+bordCol+'; left:0px; top:0px; width:'+mW+'px; height:'+mH+
   'px; z-index:980; '+(alpha!=null?'filter:alpha(opacity='+alpha+'); -moz-opacity:'+(alpha/100):'')+
   '">'+dS+backCol+'; left:'+bordW+'px; top:'+bordW+'px; width:'+(mW-2*bordW)+'px; height:'+
   (mH-2*bordW)+'px; z-index:990"></div></div>';
 }
};

function addDropShadow(mObj, iS)
{
 // Pretty similar to the one above, just loops through list of extra parameters making
 // dropshadow layers (from arrays) and extending the menu dimensions to suit.
 for (var mN in mObj.menu)
 {
  var a=arguments, mD=mObj.menu[mN][0], addW=addH=0;
  if (mD.itemSty != iS) continue;
  for (var shad=2; shad<a.length; shad++)
  {
   var s = a[shad];
   if (isNS4) mD.extraHTML += '<layer bgcolor="'+s[1]+'" left="'+s[2]+'" top="'+s[3]+'" width="'+
    (mD.menuW+s[4])+'" height="'+(mD.menuH+s[5])+'" z-index="'+(arguments.length-shad)+'"></layer>';
   else mD.extraHTML += '<div style="position:absolute; background:'+s[1]+'; left:'+s[2]+
    'px; top:'+s[3]+'px; width:'+(mD.menuW+s[4])+'px; height:'+(mD.menuH+s[5])+'px; z-index:'+
    (a.length-shad)+'; '+(s[0]!=null?'filter:alpha(opacity='+s[0]+'); -moz-opacity:'+(s[0]/100):'')+
    '"></div>';
   addW=Math.max(addW, s[2]+s[4]);
   addH=Math.max(addH, s[3]+s[5]);
  }
  mD.menuW+=addW; mD.menuH+=addH;
 }
};
