

// *** POPUP MENU MAIN OBJECT CONSTRUCTOR ***

function PopupMenu(myName)
{
 
 this.myName = myName;

 // Manage what gets lit and shown when.
 this.showTimer = 0;
 this.hideTimer = 0;
 this.showDelay = 0;
 this.hideDelay = 500;
 this.showMenu = '';


 this.menu =  new Array();

 this.litNow = new Array();
 this.litOld = new Array();


 this.overM = 'root';
 this.overI = 0;


 this.actMenu = null;


 this.over = popOver;
 this.out = popOut;
 this.changeCol = popChangeCol;
 this.position = popPosition;
 this.click = popClick;
 this.startMenu = popStartMenu;
 this.addItem = popAddItem;
 this.getHTML = popGetHTML;
 this.update = popUpdate;
 this.setupRef = popSetupRef;


 this.showMenu = new Function('mName', 'this.menu[mName][0].lyr.vis("visible")');
 this.hideMenu = new Function('mName', 'this.menu[mName][0].lyr.vis("hidden")');
}


var img1 = '/images/haut_06.jpg';
var img2 = '/images/haut_07.jpg';
var img3 = '/images/haut_08.jpg';
var img4 = '/images/haut_09.jpg';
var img5 = '/images/haut_10.jpg';
var img6 = '/images/haut_11.jpg';

switch (mOn){
	case 1 :
		img1 = '/images/haut-on_06.jpg'
		break
	case 2 :
		img2 = '/images/haut-on_07.jpg'
		break
	case 3 :
		img3 = '/images/haut-on_08.jpg'
		break
	case 4 :
		img4 = '/images/haut-on_09.jpg'
		break
	case 5 :
		img5 = '/images/haut-on_10.jpg'
		break
	case 6 :
		img6 = '/images/haut-on_11.jpg'
		break
}
		
var hBar = new ItemStyle(40, 0, '', 0, 0, '#336699', '#6699CC', 'highText', 'highText', '', '',
 null, null, 'hand', 'default');
 
var hBar1 = new ItemStyle(158, 0, '', 0, 0, img1, '/images/haut-roll_06.jpg', 'highText', 'highText', '', '',
 null, null, 'hand', 'default');
var hBar2 = new ItemStyle(158, 0, '', 0, 0, img2, '/images/haut-roll_07.jpg', 'highText', 'highText', '', '',
 null, null, 'hand', 'default');
var hBar3 = new ItemStyle(158, 0, '', 0, 0, img3, '/images/haut-roll_08.jpg', 'highText', 'highText', '', '',
 null, null, 'hand', 'default');
var hBar4 = new ItemStyle(158, 0, '', 0, 0, img4, '/images/haut-roll_09.jpg', 'highText', 'highText', '', '',
 null, null, 'hand', 'default');
var hBar5 = new ItemStyle(158, 0, '', 0, 0, img5, '/images/haut-roll_10.jpg', 'highText', 'highText', '', '',
 null, null, 'hand', 'default');
var hBar6 = new ItemStyle(158, 0, '', 0, 0, img6, '/images/haut-roll_11.jpg', 'highText', 'highText', '', '',
 null, null, 'hand', 'default');
 
var h2Bar1 = new ItemStyle(158, 0, '', 0, 0, '/images/bas_03.jpg', '/images/bas-roll_03.jpg', 'highText', 'highText', '', '',
 null, null, 'hand', 'default');
var h2Bar2 = new ItemStyle(158, 0, '', 0, 0, '/images/bas_04.jpg', '/images/bas-roll_04.jpg', 'highText', 'highText', '', '',
 null, null, 'hand', 'default');
var h2Bar3 = new ItemStyle(158, 0, '', 0, 0, '/images/bas_05.jpg', '/images/bas-roll_05.jpg', 'highText', 'highText', '', '',
 null, null, 'hand', 'default');
var h2Bar4 = new ItemStyle(158, 0, '', 0, 0, '/images/bas_06.jpg', '/images/bas-roll_06.jpg', 'highText', 'highText', '', '',
 null, null, 'hand', 'default');
var h2Bar5 = new ItemStyle(158, 0, '', 0, 0, '/images/bas_07.jpg', '/images/bas-roll_07.jpg', 'highText', 'highText', '', '',
 null, null, 'hand', 'default');
var h2Bar6 = new ItemStyle(158, 0, '', 0, 0, '/images/bas_08.jpg', '/images/bas-roll_08.jpg', 'highText', 'highText', '', '',
 null, null, 'hand', 'default');




var subM = new ItemStyle(15, 0, '&gt;', -15, 0, '#CCCCDD', '/images/menu/bg-on-gris.gif', 'lowText', 'lowText',
 'itemBorder', 'itemBorder', null, null, 'hand', 'default');

var subMVideTop = new ItemStyle(9, 0, '&gt;', -15, 3, '/images/menu/bg1.gif', '/images/menu/bg1.gif', 'lowText', 'lowText',
 'itemBorder', 'itemBorder', null, null, 'hand', 'default');
 
var subMVideBottom = new ItemStyle(22, 0, '&gt;', -15, 3, '#18A018', '#18A018', 'lowText', 'lowText',
 'itemBorder', 'itemBorder', null, null, 'hand', 'default');
 




var pMenu = new PopupMenu('pMenu');
with (pMenu)
{


startMenu('root', false, 0, 90, 30, hBar);


addItem('&nbsp;', 'm1', 'sm:',hBar1,158);
addItem('&nbsp;', 'm2', 'sm:',hBar2,88);
addItem('&nbsp;', 'm3', 'sm:',hBar3,116);
addItem('&nbsp;', 'm4', 'sm:',hBar4,138);
addItem('&nbsp;', 'm5', 'sm:',hBar5,118);


startMenu('m1', true, 0, 30, 182, subM);
addItem('&nbsp;', '', '', subMVideTop, 9);
addItem('Nouvelles', '/entreprise/nouvelles.asp', '', subM, 20, 0, '', 3, '', '/images/menu/bg1.gif');
addItem('Historique', '/entreprise/historique.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg2.gif');
addItem('Heures d&#39affaires', '/entreprise/heures.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg3.gif');
addItem('Coordonnées', '/entreprise/coordonnees.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg4.gif');
addItem('Pour nous rejoindre', '/entreprise/rejoindre.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg5.gif');
addItem('Album', '/entreprise/album.asp', '', subM, 20, 0, '', 3, '', '/images/menu/bg6.gif');
addItem('&nbsp;', '', '', subMVideBottom, 13);

startMenu('m2', true, -47, 30, 182, subM);
addItem('&nbsp;', '', '', subMVideTop, 9);
addItem('Pourquoi engazonner', '/gazon/pourquoi.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg1.gif');
addItem('Magasinage', '/gazon/magasinage.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg2.gif');
addItem('Prix et tarifs', '/gazon/prix.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg3.gif');
addItem('Visite, commande et livraison', '/gazon/visite.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg4.gif');
addItem('Installation', '/gazon/installations.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg5.gif');
addItem('Entretien', '/gazon/entretien.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg6.gif');
addItem('Type de gazon', '/gazon/type.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg7.gif');
addItem('Production de qualité', '/gazon/production.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg8.gif');
addItem('Format des rouleaux', '/gazon/format.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg9.gif');
addItem('&nbsp;', '', '', subMVideBottom,13);

startMenu('m3', true, -33, 30, 182, subM);
addItem('&nbsp;', '', '', subMVideTop,9);
addItem('Engrais', '/agriculture/engrais.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg1.gif');
addItem('Semences', '/agriculture/semences.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg2.gif');
addItem('Autres produits', '/agriculture/autres.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg3.gif');
addItem('Production Maïs', '/agriculture/mais.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg4.gif');
addItem('Production Soja', '/agriculture/soja.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg5.gif');
addItem('Bovins', '/agriculture/bovins.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg6.gif');
addItem('&nbsp;', '', '', subMVideBottom,13);

startMenu('m4', true, -22, 30, 182, subM);
addItem('&nbsp;', '', '', subMVideTop,9);
addItem('Wapitis', '/gibiers/wapitis.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg1.gif');
addItem('Bisons', '/gibiers/bisons.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg2.gif');
addItem('&nbsp;', '', '', subMVideBottom,13);

startMenu('m5', true, -32, 30, 182, subM);
addItem('&nbsp;', '', '', subMVideTop,9);
addItem('Nos installations', '/pisciculture/installations.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg1.gif');
addItem('Poissons disponibles', '/pisciculture/poissons.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg2.gif');
addItem('Période de pêche', '/pisciculture/periode.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg3.gif');
addItem('Prix et tarifs', '/pisciculture/prix.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg4.gif');
addItem('&nbsp;', '', '', subMVideBottom,13);



}


function cm_bwcheck(){
	this.ver=navigator.appVersion
	this.agent=navigator.userAgent.toLowerCase()
	this.dom=document.getElementById?1:0
	this.op5=(this.agent.indexOf("opera 5")>-1 || this.agent.indexOf("opera/5")>-1) && window.opera 
  this.op6=(this.agent.indexOf("opera 6")>-1 || this.agent.indexOf("opera/6")>-1) && window.opera   
  this.ie5 = (this.agent.indexOf("msie 5")>-1 && !this.op5 && !this.op6)
  this.ie55 = (this.ie5 && this.agent.indexOf("msie 5.5")>-1)
  this.ie6 = (this.agent.indexOf("msie 6")>-1 && !this.op5 && !this.op6)
	this.ie4=(this.agent.indexOf("msie")>-1 && document.all &&!this.op5 &&!this.op6 &&!this.ie5&&!this.ie6)
  this.ie = (this.ie4 || this.ie5 || this.ie6)
	this.mac=(this.agent.indexOf("mac")>-1)
	this.ns6=(this.agent.indexOf("gecko")>-1 || window.sidebar)
	this.ns7=(this.agent.indexOf("netscape/7")>-1 || this.agent.indexOf("netscape7")>-1)
	this.ns4=(!this.dom && document.layers)?1:0;
	this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.op5 || this.op6)
  this.usedom= this.ns6//Use dom creation
  this.reuse = this.ie||this.usedom //Reuse layers
  this.px=this.dom&&!this.op5?"px":""
	return this
}
var bw=new cm_bwcheck()

function xyOff(){
var menuWidths= [119];
var obj= (bw.ns4)?document.images.Image7:(bw.ie4)?document.all.Image7:document.getElementById('Image7');
if(bw.ns4){this.x= obj.x+119; this.y= obj.y}
else if(bw.ns7){this.x= obj.x+119; this.y= obj.y}
else if(bw.ns5){this.x= obj.offsetLeft+119; this.y= obj.offsetTop}
else if(bw.ns6){this.x= obj.offsetLeft+119; this.y= obj.offsetTop}
else {
//this.x= obj.offsetLeft+119;
//this.prnt= obj;
//while((this.prnt=this.prnt.offsetParent)){
//this.x+= this.prnt.offsetLeft;
//}
  this.y= obj.offsetTop;
this.prnt= obj;
while((this.prnt=this.prnt.offsetParent)){
this.y+= this.prnt.offsetTop;
} 
}
//var mw=0;
//for(var i=0;i<menuWidths.length;i++){
//mw+= menuWidths[i]+oCMenu.pxBetween;
//}
//mw-=oCMenu.pxBetween;
//this.x= this.x-mw;
//this.src = obj.src;
}
off= new xyOff();
//oCMenu.fromLeft= off.x;
//oCMenu.fromTop= off.y;
//alert (off.y)
//alert(off.src);

var pMenu2 = new PopupMenu('pMenu2');
with (pMenu2)
{


startMenu('root', false, 72, off.y, 18, hBar);


addItem('&nbsp;', 'm1', 'sm:',h2Bar1,112);
addItem('&nbsp;', 'm2', 'sm:',h2Bar2,88);
addItem('&nbsp;', 'm3', 'sm:',h2Bar3,115);
addItem('&nbsp;', 'm4', 'sm:',h2Bar4,139);
addItem('&nbsp;', 'm5', 'sm:',h2Bar5,122);


startMenu('m1', true, 0, -138, 182, subM);
addItem('&nbsp;', '', '', subMVideTop, 9);
addItem('Nouvelles', '/entreprise/nouvelles.asp', '', subM, 20, 0, '', 3, '', '/images/menu/bg1.gif');
addItem('Historique', '/entreprise/historique.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg2.gif');
addItem('Heures d&#39affaires', '/entreprise/heures.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg3.gif');
addItem('Coordonnées', '/entreprise/coordonnees.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg4.gif');
addItem('Pour nous rejoindre', '/entreprise/rejoindre.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg5.gif');
addItem('Album', '/entreprise/album.asp', '', subM, 20, 0, '', 3, '', '/images/menu/bg6.gif');
addItem('&nbsp;', '', '', subMVideBottom, 13);

startMenu('m2', true, -47, -195, 182, subM);
addItem('&nbsp;', '', '', subMVideTop, 9);
addItem('Pourquoi engazonner', '/gazon/pourquoi.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg1.gif');
addItem('Magasinage', '/gazon/magasinage.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg2.gif');
addItem('Prix et tarifs', '/gazon/prix.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg3.gif');
addItem('Visite, commande et livraison', '/gazon/visite.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg4.gif');
addItem('Installation', '/gazon/installations.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg5.gif');
addItem('Entretien', '/gazon/entretien.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg6.gif');
addItem('Type de gazon', '/gazon/type.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg7.gif');
addItem('Production de qualité', '/gazon/production.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg8.gif');
addItem('Format des rouleaux', '/gazon/format.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg9.gif');
addItem('&nbsp;', '', '', subMVideBottom,13);

startMenu('m3', true, -33, -138, 182, subM);
addItem('&nbsp;', '', '', subMVideTop,9);
addItem('Engrais', '/agriculture/engrais.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg1.gif');
addItem('Semences', '/agriculture/semences.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg2.gif');
addItem('Autres produits', '/agriculture/autres.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg3.gif');
addItem('Production Maïs', '/agriculture/mais.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg4.gif');
addItem('Production Soja', '/agriculture/soja.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg5.gif');
addItem('Bovins', '/agriculture/bovins.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg6.gif');
addItem('&nbsp;', '', '', subMVideBottom,13);

startMenu('m4', true, -22, -62, 182, subM);
addItem('&nbsp;', '', '', subMVideTop,9);
addItem('Wapitis', '/gibiers/wapitis.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg1.gif');
addItem('Bisons', '/gibiers/bisons.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg2.gif');
addItem('&nbsp;', '', '', subMVideBottom,13);

startMenu('m5', true, -32, -100, 182, subM);
addItem('&nbsp;', '', '', subMVideTop,9);
addItem('Nos installations', '/pisciculture/installations.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg1.gif');
addItem('Poissons disponibles', '/pisciculture/poissons.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg2.gif');
addItem('Période de pêche', '/pisciculture/periode.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg3.gif');
addItem('Prix et tarifs', '/pisciculture/prix.htm', '', subM, 20, 0, '', 3, '', '/images/menu/bg4.gif');
addItem('&nbsp;', '', '', subMVideBottom,13);



}




addMenuBorder(pMenu, window.subBlank,
 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 (!isOp && navigator.userAgent.indexOf('rv:0.')==-1)
{
 pMenu.showMenu = new Function('mN','menuAnim(this, mN, 10)');
 pMenu.hideMenu = new Function('mN','menuAnim(this, mN, -10)');

 
}



if (!isNS4)
{
 
 pMenu.update(true);

}
else
{

 var popOldOL = window.onload;
 window.onload = function()
 {
  if (popOldOL) popOldOL();
  pMenu.update();

 }
}


var nsWinW = window.innerWidth, nsWinH = window.innerHeight, popOldOR = window.onresize;
window.onresize = function()
{
 if (popOldOR) popOldOR();
 if (isNS4 && (nsWinW!=innerWidth || nsWinH!=innerHeight)) history.go(0);
 pMenu.position();

}

window.onscroll = function()
{
 pMenu.position();

}



if (isNS4)
{
 document.captureEvents(Event.CLICK);
 document.onclick = function(evt)
 {
  with (pMenu) if (overI) click(overM, overI);

  return document.routeEvent(evt);
 }
}

//************************************menu2 paramêtre****************************
addMenuBorder(pMenu2, window.subBlank,
 null, '#666666', 1, '#CCCCDD', 2);



addDropShadow(pMenu2, window.subM,
 [40,"#333333",6,6,-4,-4], [40,"#666666",4,4,0,0]);
addDropShadow(pMenu2, window.subBlank,
 [40,"#333333",6,6,-4,-4], [40,"#666666",4,4,0,0]);




if (!isOp && navigator.userAgent.indexOf('rv:0.')==-1)
{
 pMenu2.showMenu = new Function('mN','menuAnim(this, mN, 10)');
 pMenu2.hideMenu = new Function('mN','menuAnim(this, mN, -10)');

 
}



if (!isNS4)
{
 
 pMenu2.update(true);

}
else
{

 var popOldOL = window.onload;
 window.onload = function()
 {
  if (popOldOL) popOldOL();
  pMenu2.update();

 }
}


var nsWinW = window.innerWidth, nsWinH = window.innerHeight, popOldOR = window.onresize;
window.onresize = function()
{
 if (popOldOR) popOldOR();
 if (isNS4 && (nsWinW!=innerWidth || nsWinH!=innerHeight)) history.go(0);
 pMenu2.position();

}

window.onscroll = function()
{
 pMenu2.position();

}



if (isNS4)
{
 document.captureEvents(Event.CLICK);
 document.onclick = function(evt)
 {
  with (pMenu2) if (overI) click(overM, overI);

  return document.routeEvent(evt);
 }
}
//**********************************************************************************************



if (!isIE || isOp)
{
 var nsPX=pageXOffset, nsPY=pageYOffset;
 setInterval('if (nsPX!=pageXOffset || nsPY!=pageYOffset) ' +
 '{ nsPX=pageXOffset; nsPY=pageYOffset; window.onscroll() }', 50);
}




function menuAnim(menuObj, menuName, dir)
{

 var mD = menuObj.menu[menuName][0];

 if (!mD.timer) mD.timer = 0;
 if (!mD.counter) mD.counter = 0;

 with (mD)
 {

  clearTimeout(timer);


  if (!lyr || !lyr.ref) return;

  if (dir>0) lyr.vis('visible');

  lyr.sty.zIndex = 1001 + dir;

 
  lyr.clip(0, 0, menuW+2, (menuH+2)*Math.pow(Math.sin(Math.PI*counter/200),0.75) );
 
  if ((isDOM&&!isIE) && (counter>=100)) lyr.sty.clip='';

  
  counter += dir;
  if (counter>100) counter = 100;
  else if (counter<0) { counter = 0; lyr.vis('hidden') }
  else timer = setTimeout(menuObj.myName+'.'+(dir>0?'show':'hide')+'Menu("'+menuName+'")', 40);
 }
}


function menuFilterShow(menuObj, menuName, filterName)
{
 var mD = menuObj.menu[menuName][0];
 with (mD.lyr)
 {
  sty.filter = filterName;
  var f = ref.filters;
  if (f&&f.length&&f[0]) f[0].Apply();
  vis('visible');
  if (f&&f.length&&f[0]) f[0].Play();
 }
}


function addMenuBorder(mObj, iS, alpha, bordCol, bordW, backCol, backW)
{

 for (var mN in mObj.menu)
 {
  var mR=mObj.menu[mN], dS='<div style="position:absolute; background:';
  if (mR[0].itemSty != iS) continue;
  
  for (var mI=1; mI<mR.length; mI++)
  {
   mR[mI].iX += bordW+backW;
   mR[mI].iY += bordW+backW;
  }

  mW = mR[0].menuW += 2*(bordW+backW);
  mH = mR[0].menuH += 2*(bordW+backW);


  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)
{

 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;
 }
}

//-->