
// Milonic DHTML Menu version 3.3.11
// please note that major changes to this file have been made.
//
// You no longer need to number your menus as in previous versions. 
// The new menu structure allows you to name the menu instead. This means that you to remove menus and not break the system.
// The structure should also be much easier to modify, add & remove menus and menu items.
// 
// If you are having difficulty with the menu please read the FAQ at http://www.milonic.co.uk/menu/faq.php before contacting us.
//
// Please note that the above text CAN be erased if you wish.



// The following line is critical for menu operation, and must appear only once.
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
//Please leave the above line intact

////////////////////////////////////
// Editable properties START here //
////////////////////////////////////


// Fade(duration=0.1);Alpha(style=0,opacity=100);Shadow(color='#999999', Direction=135, Strength=2)

 effect = "" // Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters

timegap=500				// The time delay for menus to remain visible
followspeed=5			// Follow Scrolling speed
followrate=5			// Follow Scrolling Rate
suboffset_top=0;		// Sub menu offset Top position 
suboffset_left=-1;		// Sub menu offset Left position

style1=[				// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"004080",					// Mouse Off Font Color
"ffffff",				// Mouse Off Background Color
"004080",				// Mouse On Font Color
"E5ECF2",				// Mouse On Background Color
"004080",				// Menu Border Color 
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",					// Font Weight (bold or normal)
"sans-serif",		// Font Name
2,						// Menu Item Padding
"/img/flecheblanche.gif",			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"",				// 3D High Color
"",				// 3D Low Color
"004080",				// Current Page Item Font Color (leave this blank to disable)
"E5ECF2",					// Current Page Item Background Color (leave this blank to disable)
"",			// Top Bar image (Leave this blank to disable)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"000099",				// Menu Header Background Color (Leave blank if headers are not needed)
]

style2=[				// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"CD4015",					// Mouse Off Font Color
"",				// Mouse Off Background Color
"004080",				// Mouse On Font Color
"",				// Mouse On Background Color
"",				// Menu Border Color 
12,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"arial",		// Font Name
3,						// Menu Item Padding
"",			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"",				// 3D High Color
"",				// 3D Low Color
"004080",				// Current Page Item Font Color (leave this blank to disable)
"",					// Current Page Item Background Color (leave this blank to disable)
,			// Top Bar image (Leave this blank to disable)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"000099",				// Menu Header Background Color (Leave blank if headers are not needed)
]

addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
79,					// Menu Top - The Top position of the menu in pixels
215,				// Menu Left - The Left position of the menu in pixels
,					// Menu Width - Menus width in pixels
0,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style2,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",				// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
effect,				// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// ..Now Obsolete..
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use
,"Société&nbsp;&nbsp;","show-menu=company","/main/corporate.xml",,1
,"Solutions&nbsp;&nbsp;","show-menu=solution","/main/solution.xml",,1
,"Références&nbsp;&nbsp;","show-menu=reference","/main/reference.xml",,1
,"Documentation&nbsp;&nbsp;","show-menu=documentation","/main/documentation.xml",,1
,"Actualités","show-menu=new","/main/news.xml",,1
])


	addmenu(menu=["company",
	,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"A propos","show-menu=about","/main/about.xml",,1
	,"Emploi","show-menu=job","/main/job.xml",,1
	,"Contact","show-menu=map","/main/map.xml",,1
	,"Partenaires","show-menu=partner","/main/partner.xml",,1
	])
	
		addmenu(menu=["about",
		,,150,1,"",style1,,"left",effect,,,,,,,,,,,,

			
			,"A propos de Novadeck","/main/articlecomplet.xml?pg=1&id=8",,,1
			
			,"Alexis Agahi","/main/articlecomplet.xml?pg=1&id=7",,,1
			
			,"Un exemple de site développé par Novadeck","/main/articlecomplet.xml?pg=1&id=6",,,1
			
			,"Silvère Tajan","/main/articlecomplet.xml?pg=1&id=5",,,1
			

		])

		addmenu(menu=["job",
		,,150,1,"",style1,,"left",effect,,,,,,,,,,,,

			
			,"Emploi & Carrières","/main/articlecomplet.xml?pg=1&id=84",,,1
			

		])

		addmenu(menu=["map",
		,,150,1,"",style1,,"left",effect,,,,,,,,,,,,

			
			,"Coordonnées","/main/articlecomplet.xml?pg=1&id=30",,,1
			
			,"Information légale","/main/articlecomplet.xml?pg=1&id=29",,,1
			

		])

		addmenu(menu=["partner",
		,,150,1,"",style1,,"left",effect,,,,,,,,,,,,

			
			,"Sun","/main/articlecomplet.xml?pg=1&id=82",,,1
			
			,"BEA Systems","/main/articlecomplet.xml?pg=1&id=35",,,1
			
			,"Oracle Corporation","/main/articlecomplet.xml?pg=1&id=34",,,1
			
			,"SBS","/main/articlecomplet.xml?pg=1&id=33",,,1
			
			,"Cyperus","/main/articlecomplet.xml?pg=1&id=32",,,1
			

		])


	addmenu(menu=["solution",
	,,150,1,"",style1,,"left",effect,,,,,,,,,,,,

		
		,"Novadeck Content Management System","/main/articlecomplet.xml?pg=1&id=41",,,1
		
		,"Novadeck CMS for ISP","/main/articlecomplet.xml?pg=1&id=40",,,1
		
		,"Everydeck Multi-site Matrix","/main/articlecomplet.xml?pg=1&id=39",,,1
		
		,"Everydeck Web sites Factory","/main/articlecomplet.xml?pg=1&id=38",,,1
		
		,"Novadeck Intranet Content Management System","/main/articlecomplet.xml?pg=1&id=37",,,1
		

	])

	addmenu(menu=["reference",
	,,150,1,"",style1,,"left",effect,,,,,,,,,,,,

		
		,"La Fondation Aventis","/main/articlecomplet.xml?pg=1&id=10",,,1
		
		,"Net Event Solutions","/main/articlecomplet.xml?pg=1&id=9",,,1
		

	])



	addmenu(menu=["documentation",
	,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Livres blancs","show-menu=whitepaper","/main/whitepaper.xml",,1
	,"Information produit","show-menu=comdoc","/main/comdoc.xml",,1
	,"Documentation technique","show-menu=techdoc","/main/techdoc.xml",,1
	])
	
		addmenu(menu=["whitepaper",
		,,150,1,"",style1,,"left",effect,,,,,,,,,,,,

			
			,"Les sites web locaux, une façon pragmatique de faire du web","/main/articlecomplet.xml?pg=1&id=46",,,1
			
			,"EVERYDECK : une variété d'application pour des sites web dynamiques et utiles","/main/articlecomplet.xml?pg=1&id=45",,,1
			
			,"Un site web : pourquoi et comment ?","/main/articlecomplet.xml?pg=1&id=44",,,1
			
			,"Sites statiques, sites publiés de façon dynamique et sites dynamiques : 3 générations de sites web","/main/articlecomplet.xml?pg=1&id=43",,,1
			
			,"L'Intranet distribué : un outil essentiel de la gestion des connaissances","/main/articlecomplet.xml?pg=1&id=42",,,1
			

		])

		addmenu(menu=["comdoc",
		,,150,1,"",style1,,"left",effect,,,,,,,,,,,,

			
			,"Brochure Everydeck Multi-sites Matrix ","/main/articlecomplet.xml?pg=1&id=49",,,1
			
			,"Brochure Everydeck Web Sites Factory ","/main/articlecomplet.xml?pg=1&id=48",,,1
			

		])

		addmenu(menu=["techdoc",
		,,150,1,"",style1,,"left",effect,,,,,,,,,,,,

			
			,"Novadeck CMS - Aperçu Technique","/main/articlecomplet.xml?pg=1&id=72",,,1
			
			,"Démo Flash ","/main/articlecomplet.xml?pg=1&id=47",,,1
			

		])

	addmenu(menu=["new",
	,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Communiqués de presse","/main/pressrelease.xml","",,1
	,"Revue de presse","/main/pressbook.xml","",,1
	,"Brèves","/main/newsshort.xml","",,1
	])


//-------------------------------------------
// code extensions by Nicolas Stohler, MadToaster.com 03.2002
function GetParent( sName_ )
{	return ( typeof mpParents[sName_] != "undefined" ) ? mpParents[sName_] : -1;	}

var mpParents = new Object();	// maps MenuBlockIDs to ItemNumbers
var mpMenuTree = new Object();	// maps ItemNumbers to ParentItemNumbers
var mpUrl2Nr = new Object();	// maps Url/Command to ItemNumbers
var nNr = 0;
for( var i in menus )
{
	var j = 23;	// url item
	while( typeof menus[i][j] != "undefined" )
	{
		var s = j;
		if( menus[i][j].indexOf("show-menu") != -1 )
		{	
			mpParents[ menus[i][j].substr(10) ] = nNr;
			if( typeof menus[i][s+1] != "undefined" && typeof menus[i][s+1] != "" )
			{	s++;	}
		}
		if( menus[i][s].length > 0 )
		{	
			mpMenuTree[nNr] = GetParent( menus[i][0] );
			mpUrl2Nr[menus[i][s]] = nNr;
		}
		nNr++;
		j+=5;
	}
}

var nCurPage = -1;
var sCurPage = "";

for( var i in mpUrl2Nr )
{
	if( document.location.href.indexOf(i) != -1 )
	{
		nCurPage = mpUrl2Nr[i];
		sCurPage = i;
		break;
	}
}

//ShowInfo();
function ShowInfo()
{
	for( var i in mpMenuTree )
	{	
		var sUrl = GetUrlFromNumber( i );
		//alert( i + " (" + GetUrlFromNumber( i ) + ") has parent " + mpMenuTree[i] + " (" + GetUrlFromNumber(mpMenuTree[i]) + ")" );	
		document.write( i + " (" + GetUrlFromNumber( i ) + ") has parent " + mpMenuTree[i] + " (" + GetUrlFromNumber(mpMenuTree[i]) + ")<br>" );
	}
}

function GetUrlFromNumber( nNr_ )
{
	for( var i in mpUrl2Nr )
	{
		if( nNr == 13 )
		{
			alert( i );
		}
		if( mpUrl2Nr[i] == nNr_ )
		{	return i;	}
	}
}
// end of code update
//-------------------------------------------

dumpmenus()		
		
		


