fixMozillaZIndex=true; 
//Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=20;
_subOffsetTop=2;
_subOffsetLeft=-2;

image_path = "../images/";
link_path = "../";

with(fret_style=new mm_style()){
bordercolor="#000000"; 
//
//fontweight="bold";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#03CD00";
offcolor="#FFFFFF";
onbgcolor="#333333";
oncolor="#FFFFFF";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=2;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#2D729D";
separatorsize=1;
}
with(tourisme_style=new mm_style()){
bordercolor="#000000"; 
//fontweight="bold";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#016600";
offcolor="#FFFFFF";
onbgcolor="#333333";
oncolor="#FFFFFF";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=2;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#2D729D";
separatorsize=1;
}
with(gr_ligne=new mm_style()){
bordercolor="#000000";
//fontweight="bold";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#FF6600";
offcolor="#FFFFFF";
onbgcolor="#333333";
oncolor="#FFFFFF";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=2;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#2D729D";
separatorsize=1;
}
with(serv_ligne_style=new mm_style()){
bordercolor="#000000"; 
//fontweight="bold";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#0000FE";
offcolor="#FFFFFF";
onbgcolor="#333333";
oncolor="#FFFFFF";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=2;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#2D729D";
separatorsize=1;
}
with(Sncft_Style=new mm_style()){
bordercolor="#000000"; 
//fontweight="bold";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#CCCCCC";
offcolor="#000000";
onbgcolor="#333333";
oncolor="#FFFFFF";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=2;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#2D729D";
separatorsize=1;
}

with(info_gen_style=new mm_style()){
bordercolor="#000000"; 
//fontweight="bold";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#0066CC";
offcolor="#FFFFFF";
onbgcolor="#333333";
oncolor="#FFFFFF";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=2;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#2D729D";
separatorsize=1;
}
with(bonlieu_style=new mm_style()){
bordercolor="#000000";


//fontweight="bold";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#FD9A00";
offcolor="#000000";
onbgcolor="#333333";
oncolor="#FFFFFF";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=2;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#2D729D";
separatorsize=1;
}
//function set_style(
with(menuStyle=new mm_style()){
bordercolor="#296488";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offcolor="#515151";
onbgcolor="#4F8EB6";
oncolor="#ffffff";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90)";
padding=1;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#2D729D";
separatorsize=0;

}

//alert(menuStyle.padding);
with(Main=new menuname("Main Menu")){
alwaysvisible=1;
left=10;
orientation="horizontal";
style=menuStyle;
top=10;
position="relative";

aI("image="+image_path+"bg_menu.gif;");
aI("image="+image_path+"sncft_btn.gif;showmenu=Sncft;");

aI("image="+image_path+"separatuer_menu.gif;");
aI("image="+image_path+"grande_ligne_btn.gif;showmenu=G_ligne;");

aI("image="+image_path+"separatuer_menu.gif;");
aI("image="+image_path+"banlieu_tunis_btn.gif;showmenu=bl_tunis;");

aI("image="+image_path+"separatuer_menu.gif;");
aI("image="+image_path+"banlieu_sahel_btn.gif;showmenu=bl_sahel;");

aI("image="+image_path+"separatuer_menu.gif;");
aI("image="+image_path+"fret_btn.gif;showmenu=Fret;");

aI("image="+image_path+"separatuer_menu.gif;");
aI("image="+image_path+"service_btn.gif;showmenu=Serv_en_ligne;");

aI("image="+image_path+"separatuer_menu.gif;");
aI("image="+image_path+"tourisme_btn.gif;showmenu=Tourisme;");


aI("image="+image_path+"separatuer_menu.gif;");
aI("image="+image_path+"actualite_appel_btn.gif;showmenu=actu_offre;");

}

with(sncft=new menuname("Sncft")){
left=32;
orientation="horizontal";
style=Sncft_Style;

aI("align=center;text=Introduction;url="+link_path+"sncft/presentation_gen.html;");
aI("text=Historic ;url="+link_path+"sncft/historique.html;");
aI("align=center;text=Numbers;url="+link_path+"sncft/chiffres.html;");
aI("align=center;text=Stations ;url="+link_path+"sncft/gares.html;");
aI("align=center;text=Equipement ;url="+link_path+"sncft/materiels.html;");
aI("align=center;text=Maintenance ;url="+link_path+"sncft/maintenace.html;");
}

with(g_ligne=new menuname("G_ligne")){
left=110;
orientation="horizontal";
style=gr_ligne;
/*aI("align=center;text=Présentation;url="+link_path+"grande_ligne/presentation.html;");
aI("text=Horaires ;url="+link_path+"grande_ligne/horaire.php;");
aI("align=center;text=Réservation;url="+link_path+"grande_ligne/reservation.html;");
aI("text=Réduction et cartes;url="+link_path+"grande_ligne/reduction_carte.html;");
aI("align=center;text=Train Express ;url="+link_path+"grande_ligne/train_express.html;");
aI("align=center;text=Rail / Route ;url="+link_path+"grande_ligne/rail_route.html;");
aI("align=center;text=Voitures VIP ;url="+link_path+"grande_ligne/voiture_vip.html;");
aI("align=center;text=Bagages accompagnés ;url="+link_path+"grande_ligne/bagages_accompagnes.html;");*/
//aI("align=center;text=Tarifs ;url="+link_path+"grande_ligne/tarifs.php;");
}

with(info_gen=new menuname("actu_offre")){
left=571;
orientation="horizontal";
style=info_gen_style ;/*
aI("text=Appels d'offres;url="+link_path+"info_gen/appel_doffre.php;");
aI("text=Actualités ;url="+link_path+"info_gen/actualite.php;");*/
}

with(bonlieus=new menuname("bl_tunis")){
left=196;
orientation="horizontal";
style=bonlieu_style;/*
aI("align=center;text=Présentation;url="+link_path+"banlieue_tunis/presentation.html;");
aI("text=Horaires ;url="+link_path+"banlieue_tunis/horaire.php;");
aI("align=center;text=Abonnements;url="+link_path+"banlieue_tunis/abonnements.php;");*/
//aI("text=Tarifs;url="+link_path+"banlieue_tunis/tarif_form.php;");
}

with(bonlieus=new menuname("bl_sahel")){
left=275;
orientation="horizontal";
style=bonlieu_style;/*
aI("align=center;text=Présentation;url="+link_path+"banlieue_sahel/presentation.html;");
aI("text=Horaires ;url="+link_path+"banlieue_sahel/horaire.php;");
aI("align=center;text=Abonnements;url="+link_path+"banlieue_sahel/abonnements.php;");*/
//aI("text=Tarifs;url="+link_path+"banlieue_sahel/tarif_form.php;");
}


with(serv_en_ligne=new menuname("Serv_en_ligne")){
left=411;
orientation="horizontal";
style=serv_ligne_style;/*
aI("align=center;text=Abonnement en ligne;url="+link_path+"serv_en_ligne/choisir.php;");
aI("text= Vente de cartes ;url="+link_path+"serv_en_ligne/vente_de_cartes.html;");
aI("text= Vente de billets & réservation ;url="+link_path+"serv_en_ligne/vente_billet/chercher_train.php;");*/

}

with(fret=new menuname("Fret")){
left=360;
orientation="horizontal";
style=fret_style;/*
aI("align=center;text=Présentation;url="+link_path+"fret/presentation.html;");
aI("text=Offres ;url="+link_path+"fret/offres.html;");
aI("align=center;text=Parc Wagons;url="+link_path+"fret/parc_wagons.html;");
aI("text=Partenaires ;url="+link_path+"fret/partenaires.html;");*/
}

with(tourisme=new menuname("Tourisme")){
left=500;
orientation="horizontal";
style=tourisme_style;/*
aI("align=center;text=Carte bleue ;url="+link_path+"tourisme/carte_bleu.html;");
aI("text=Le train touristique ;url="+link_path+"tourisme/train_touristque.html;");
aI("align=center;text=Festivals;url="+link_path+"tourisme/festivals.html;");*/
}


 


   

drawMenus();

