//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
menunum=0;
menus=new Array();
_d=document;
function addmenu(){menunum++;menus[menunum]=menu;}
function dumpmenus()
{
	mt="<scr"+"ipt language=javascript>";
	for(a=1;a<menus.length;a++)
	{
		mt+=" menu"+a+"=menus["+a+"];"
	}
	mt+="<\/scr"+"ipt>";
	_d.write(mt);
}

//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.

// Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
effect = "Fade(duration=0);Alpha(style=0,opacity=100);Shadow(color='#777777', Direction=135, Strength=5)"


timegap=500			// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=4;	// Sub menu offset Top position 
suboffset_left=6;	// Sub menu offset Left position
closeOnClick = true

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.
"444444",			// Mouse Off Font Color
"white",			// Mouse Off Background Color
"9FD800",			// Mouse On Font Color
"",			// Mouse On Background Color
"white",			// Menu Border Color 
10,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Verdana, Arial",	// Font Name
4,					// Menu Item Padding
"",		// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"",			// 3D High Color
"",			// 3D Low Color
"",			// 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)
"white",				// Menu Item Separator Color
]


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
60,					// Menu Top - The Top position of the menu in pixels
10,				// Menu Left - The Left position of the menu in pixels
130,					// Menu Width - Menus width in pixels
1,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// 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)
"center",				// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,					// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,					// 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
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// 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)
,					// Background image for menu when BGColor set to transparent.
,					// Scrollable Menu
,					// Reserved for future use
,"Recherche de bien","show-menu=recherche",,"Recherche de bien",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Déposer une annonce","show-menu=annonce",,"Deposer une annonce",1
,"Investir","show-menu=investir",,"Investir",1
,"Annuaire","#",,"Annuaire",1
,"Espace particulier","./?page=espace-particulier",,"Espace particulier",1
,"Espace pro","./?page=espace-professionel",,"Espace pro",1
])

	addmenu(menu=["recherche",
	,,140,1,"",style1,,"center",effect,,,,,,,,,,,,
	,"Vente &raquo;","show-menu=recherche_vente",,"Vente",1
	,"Location &raquo;","show-menu=recherche_location",,"Location",1
	])
	
	
		addmenu(menu=["recherche_vente",
		,,180,1,"",style1,,"center",effect,,,,,,,,,,,,
		,"Vente des professionnels","./?page=search&choix1=vente&choix2=pro",,"Vente des professionnels",0
		,"Vente des particuliers","./?page=search&choix1=vente&choix2=particulier",,"Vente des particuliers",0
		])
		
		addmenu(menu=["recherche_location",
		,,180,1,"",style1,,"center",effect,,,,,,,,,,,,
		,"Location des professionnels","./?page=search&choix1=location&choix2=pro",,"Location des professionnels",0
		,"Location des particuliers","./?page=search&choix1=location&choix2=particulier",,"Location des particuliers",0
		])



	addmenu(menu=["annonce",
	,,140,1,"",style1,,"center",effect,,,,,,,,,,,,
	,"Vente &raquo;","show-menu=annonce_vente",,"Vente",1
	,"Location &raquo;","show-menu=annonce_location",,"Location",1
	])
	
		addmenu(menu=["annonce_vente",
		,,180,1,"",style1,,"center",effect,,,,,,,,,,,,
		,"Vente des professionnels","./?page=deposer-vente-pro",,"Vente des professionnels",0
		,"Vente des particuliers","./?page=deposer-vente-particulier",,"Vente des particuliers",0
		])
		
		addmenu(menu=["annonce_location",
		,,180,1,"",style1,,"center",effect,,,,,,,,,,,,
		,"Location des professionnels","./?page=deposer-location-pro",,"Location des professionnels",0
		,"Location des particuliers","./?page=deposer-location-particulier",,"Location des professionnels",0
		])

	
	addmenu(menu=["investir",,,140,1,,style1,0,"center",effect,0,,,,,,,,,,,
	,"Dispositifs fiscaux","./?page=fiscal",,"Dispositifs fiscaux",1
	,"Etudes de cas &raquo;","show-menu=etude_de_cas",,"Etudes de cas",1
	,"Simulateurs &raquo;","show-menu=simulateurs",,"Simulateurs",1
	,"Voir les produits","./?page=search&choix1=investissement&choix2=pro",,"Voir les produits",1
	])
	
			addmenu(menu=["simulateurs",,,220,1,,style1,0,"center",effect,0,,,,,,,,,,,
		,"Calculer l'impact fiscal","#",,"Calculer impact fiscal",1
		,"Calculer la marge d'imposition","/investir/simulateurs/calcul_marge_imposition.html",,"Calculer la marge imposition",1
		,"Calculer la capacité d'épargne","/investir/simulateurs/calcul_capacite_epargne.html",,"Calculer la capacité dépargne",1
		,"Calculer l'impôt sur le revenu","/investir/simulateurs/calcul_impot_revenu.html",,"Calculer impot sur le revenu",1
		,"Calculer les droits de succession","/investir/simulateurs/calcul_droit_succession.html",,"Calculer les droits de succession",1
		,"Simulation d'un investissement immobilier","http://www.anil.org/guide/calculs/invloc/simuloc1.htm",,"Simulation investissement immobilier",1
		,"Simuler un prêt immo","http://www.creditim.com/simulation_credit_immo.html",,"Simuler un prêt immo",1
		])


			addmenu(menu=["etude_de_cas",,,220,1,,style1,0,"center",effect,0,,,,,,,,,,,
		,"Investir sans capital","#",,"Investir sans capital",1
		,"Réduire ses impôts","#",,"Réduire ses impôts",1
		,"Préparer sa retraite","#",,"Préparer sa retraite",1
		])

dumpmenus()