// Var
site = "http://www.mobazar.com/";
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)}


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



Gray3DStyle=[                 // Gray3DStyle is an array of properties. You can have as many property arrays as you need
"000000",                     // Mouse Off Font Color
"aaaaaa",//"d4d0c8",                     // Mouse Off Background Color (use zero for transparent in Netscape 6)
"ffffff",                     // Mouse On Font Color
"000000",//"0a246a",                     // Mouse On Background Color
"000000",                     // Menu Border Color
"12",                         // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     // Font Style (italic or normal)
"bold",                     // Font Weight (bold or normal)
"Verdana",           		  // Font Name
3,                            // Menu Item Padding or spacing
"http://www.mobazar.com/Images/arrow.gif",                  // Sub Menu Image (Leave this blank if not needed)
1,                            // 3D Border & Separator bar
"FFFFFF",                     // 3D High Color
"000000",                     // 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)
,                             // Menu Header Font Color (Leave blank if headers are not needed)
,                             // Menu Header Background Color (Leave blank if headers are not needed)
,                             // Menu Item Separator Color
]


addmenu(menu=[
"mainmenu",                   // Menu Name - This is needed in order for this menu to be called
184,                          // Menu Top - The Top position of this menu in pixels
13,                           // Menu Left - The Left position of this menu in pixels
117,                          // 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"
Gray3DStyle,                  // Properties Array - this array is declared higher up as you can see above
1,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Shadow(color=777777, Direction=135, Strength=5)",// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
,"&nbsp;Véhicules","show-menu=Voitures",site+"auto",,1
,"&nbsp;Immobilier","show-menu=Immobilier",site+"immo",,1
,"&nbsp;Hi-Tech","show-menu=Informatique",site+"hitech",,1
,"&nbsp;Emploi","show-menu=Emploi",site+"emploi",,1
,"&nbsp;Vacances","show-menu=Vacances",site+"listAnnonces.php?cat=23",,1
,"&nbsp;MoCompte",site+"User/account.php",,,1
,"&nbsp;Annuaire web",site+"Directory/index.php",,,0
])

// Menu vehicules
// -----------
addmenu(menu=[
"voitures",
,
,
184,
1,
,
Gray3DStyle,
0,
,
"Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"<img src=http://www.mobazar.com/Images/btn_round.gif border=0> Annonces autos",site+"listAnnonces.php?cat=1",,,1
,"<img src=http://www.mobazar.com/Images/btn_round.gif border=0> Annonces motos",site+"listAnnonces.php?cat=2",,,1
,"<img src=http://www.mobazar.com/Images/btn_round.gif border=0> Annonces bateaux/voile",site+"listAnnonces.php?cat=4",,,1
])

// Menu immobilier
// ---------------
addmenu(menu=[
"Immobilier",
,
,
184,
1,
,
Gray3DStyle,
0,
,
"Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"<img src=http://www.mobazar.com/Images/btn_round.gif border=0> Ventes immobilières",site+"listAnnonces.php?cat=21",,,1
,"<img src=http://www.mobazar.com/Images/btn_round.gif border=0> Locations immobilières",site+"listAnnonces.php?cat=22",,,1
,"<img src=http://www.mobazar.com/Images/btn_round.gif border=0> Entreprises",site+"listAnnonces.php?cat=24",,,1
])

// Menu immobilier
// ---------------
addmenu(menu=[
"Informatique",
,
,
184,
1,
,
Gray3DStyle,
0,
,
"Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"<img src=http://www.mobazar.com/Images/btn_round.gif border=0> Informatique",site+"listAnnonces.php?cat=41",,,1
,"<img src=http://www.mobazar.com/Images/btn_round.gif border=0> Téléphonie",site+"listAnnonces.php?cat=42",,,1
,"<img src=http://www.mobazar.com/Images/btn_round.gif border=0> Image & son",site+"listAnnonces.php?cat=43",,,1
,"<img src=http://www.mobazar.com/Images/btn_round.gif border=0> Jeux vidéos",site+"listAnnonces.php?cat=44",,,1
])

// Menu emploi
// -----------
addmenu(menu=[
"Emploi",
,
,
184,
1,
,
Gray3DStyle,
0,
,
"Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"<img src=http://www.mobazar.com/Images/btn_round.gif border=0> Emploi",site+"listAnnonces.php?cat=122",,,1
,"<img src=http://www.mobazar.com/Images/btn_round.gif border=0> Services",site+"listAnnonces.php?cat=123",,,1
,"<img src=http://www.mobazar.com/Images/btn_round.gif border=0> Formation",site+"listAnnonces.php?cat=124",,,1
])

// Menu immobilier
// ---------------
addmenu(menu=[
"Vacances",
,
,
184,
1,
,
Gray3DStyle,
0,
,
"Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"<img src=http://www.mobazar.com/Images/btn_round.gif border=0> Consulter les annonces",site+"listAnnonces.php?cat=23",,,1
,"<img src=http://www.mobazar.com/Images/btn_round.gif border=0> Ajouter une annonce",site+"newAd1.php?cat=23",,,1
])

dumpmenus();

