


////////////////////////////////////////////////////////
// Liste des styles
 var itemStyle3_5 = new ItemStyle(25, 4, '',0,0,'','','','','','',null,null,'pointer','default');
 var itemStyle3_6 = new ItemStyle(20, 3, '',0,2,'#f7fbe7','#ffffff','lT1','hT1','lB1','hB1',null,null,'pointer','default');


////////////////////////////////////////////////////////
// Le menu
var oMenu3 = new PopupMenu('oMenu3');
with (oMenu3)
{

	
	
		startMenu('root',true, 'menuLeft( 940, 935 )', 120, 180, itemStyle3_5,'',false);
		addItem('Accueil', '/commune1/pages/viewer.asp?tp=ls&ID_ELEMENT=46&theme=zd7zG6','', null);
		addItem('SWAP:<img src=\u0022/commune1/upload/menu/stmyon/mn%5F01%5Foff%281%29%2Egif\u0022 width=\u0022182\u0022  height=\u002226\u0022 border=\u00220\u0022 />^<img src=\u0022/commune1/upload/menu/stmyon/mn%5F01%5Fon%281%29%2Egif\u0022 width=\u0022182\u0022  height=\u002226\u0022 border=\u00220\u0022 />', 'menu47','sm:', null, 26);
		addItem('SWAP:<img src=\u0022/commune1/upload/menu/stmyon/mn%5F02%5Foff%2Egif\u0022 width=\u0022182\u0022  height=\u002226\u0022 border=\u00220\u0022 />^<img src=\u0022/commune1/upload/menu/stmyon/mn%5F02%5Fon%2Egif\u0022 width=\u0022182\u0022  height=\u002226\u0022 border=\u00220\u0022 />', '/commune1/pages/viewer.asp?tp=ls&ID_ELEMENT=48&theme=zd7zG6','', null, 26);
		addItem('SWAP:<img src=\u0022/commune1/upload/menu/stmyon/mn%5F03%5Foff%2Egif\u0022 width=\u0022182\u0022  height=\u002226\u0022 border=\u00220\u0022 />^<img src=\u0022/commune1/upload/menu/stmyon/mn%5F03%5Fon%2Egif\u0022 width=\u0022182\u0022  height=\u002226\u0022 border=\u00220\u0022 />', 'menu49','sm:', null, 26);
		addItem('SWAP:<img src=\u0022/commune1/upload/menu/stmyon/mn%5F04%5Foff%2Egif\u0022 width=\u0022182\u0022  height=\u002226\u0022 border=\u00220\u0022 />^<img src=\u0022/commune1/upload/menu/stmyon/mn%5F04%5Fon%2Egif\u0022 width=\u0022182\u0022  height=\u002226\u0022 border=\u00220\u0022 />', 'menu50','sm:', null, 26);
		addItem('SWAP:<img src=\u0022/commune1/upload/menu/stmyon/mn%5F06%5Foff%2Egif\u0022 width=\u0022182\u0022  height=\u002226\u0022 border=\u00220\u0022 />^<img src=\u0022/commune1/upload/menu/stmyon/mn%5F06%5Fon%2Egif\u0022 width=\u0022182\u0022  height=\u002226\u0022 border=\u00220\u0022 />', '/commune1/pages/viewer.asp?tp=ls&ID_ELEMENT=145&theme=zd7zG6','', null, 26);
		addItem('SWAP:<img src=\u0022/commune1/upload/menu/stmyon/mn%5F05%5Foff%2Egif\u0022 width=\u0022182\u0022  height=\u002226\u0022 border=\u00220\u0022 />^<img src=\u0022/commune1/upload/menu/stmyon/mn%5F05%5Fon%2Egif\u0022 width=\u0022182\u0022  height=\u002226\u0022 border=\u00220\u0022 />', '/commune1/pages/viewer.asp?tp=ct&ID_ELEMENT=51&theme=zd7zG6','', null, 26);
		
			startMenu('menu47',true, 190, 0, 150, itemStyle3_6,'',false);
			addItem('... g\u00E9ographique', '/commune1/pages/viewer.asp?tp=d&ID_ELEMENT=53&theme=zd7zG6','', null);
			addItem('... administrative', '/commune1/pages/viewer.asp?tp=d&ID_ELEMENT=54&theme=zd7zG6','', null);
		
			startMenu('menu49',true, 190, 0, 150, itemStyle3_6,'',false);
			addItem('Activit\u00E9s & Services', '/commune1/pages/viewer.asp?tp=ls&ID_ELEMENT=55&theme=zd7zG6','', null);
			addItem('Associations', '/commune1/pages/viewer.asp?tp=ls&ID_ELEMENT=56&theme=zd7zG6','', null);
		
			startMenu('menu50',true, 190, 0, 180, itemStyle3_6,'',false);
			addItem('Patrimoine', '/commune1/pages/viewer.asp?tp=ls&ID_ELEMENT=57&theme=zd7zG6','', null);
			addItem('Un peu d\u0027histoire...', '/commune1/pages/viewer.asp?tp=ls&ID_ELEMENT=58&theme=zd7zG6','', null);
}


////////////////////////////////////////////////////////
// Les images ŕ précharger
function simplePreload3()
{ 
	var args = simplePreload3.arguments;
	
	if (document.images){
		var oImg = document.images;
		var oImage;
		var iIndice = oImg.length;
		for(var i=0;i<args.length;i++){
			if (iIndice == 0 && oImg[0] == null)
				iIndice = 0;
			else
				iIndice = iIndice + 1;
			oImage = new Image();
			oImage.src = args[i];
			oImg[iIndice] = oImage;
		}
	}
}

 

simplePreload3('/commune1/upload/menu/stmyon/mn%5F01%5Foff%281%29%2Egif','/commune1/upload/menu/stmyon/mn%5F01%5Fon%281%29%2Egif','/commune1/upload/menu/stmyon/mn%5F02%5Foff%2Egif','/commune1/upload/menu/stmyon/mn%5F02%5Fon%2Egif','/commune1/upload/menu/stmyon/mn%5F03%5Foff%2Egif','/commune1/upload/menu/stmyon/mn%5F03%5Fon%2Egif','/commune1/upload/menu/stmyon/mn%5F04%5Foff%2Egif','/commune1/upload/menu/stmyon/mn%5F04%5Fon%2Egif','/commune1/upload/menu/stmyon/mn%5F06%5Foff%2Egif','/commune1/upload/menu/stmyon/mn%5F06%5Fon%2Egif','/commune1/upload/menu/stmyon/mn%5F05%5Foff%2Egif','/commune1/upload/menu/stmyon/mn%5F05%5Fon%2Egif');
////////////////////////////////////////////////////////
// ToolTip


////////////////////////////////////////////////////////
// Les effets


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};
};
