_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_subOffsetTop=10              // Sub menu top offset
_subOffsetLeft=-10            // Sub menu left offset



with(menuStyle2=new mm_style()){
align="right";
onbgcolor="#009900";
oncolor="#45555F";
offbgcolor="#418A36";//"#D9E2DB";
offcolor="#FFFFFF";
bordercolor="#296488";
borderstyle="solid";
borderwidth=0;
separatorcolor="#FFFFFF";
separatorsize="1";
padding=0;
fontsize=15;
fontstyle="normal";
fontweight="bold";
fontfamily="Times New Roman";//Arial";
pagecolor="#ffffff";
pagebgcolor="#009900";
headercolor="#009900";
headerbgcolor="#D9E2DB";//ffffff";
subimage=mpath+"menus/arrow2.gif";
subimagepadding="0";
itemheight=27;
subimageposition="right";
alignment="left";
righttoleft=1;
}
with(stylesub2=new mm_style()){
align="right";
onbgcolor="#009900";//"#45555F";
oncolor="#FFFFFF";//"#D9E2DB";
offbgcolor="#73CA55";//"#D9E2DB";
offcolor="#45555F";
bordercolor="#ffffff";
borderwidth=1;
separatorcolor="#ffffff";
separatorsize="1";
padding=0;
fontsize=11;
fontstyle="normal";
//fontweight="bold";
fontfamily="Arial";
pagecolor="#000000";
pagebgcolor="#00CC00";//"#ffffff";
headercolor="#000000";
headerbgcolor="#00CC00";//"#ffffff";
subimage=mpath+"menus/arrow.gif";
subimagepadding="0";
overfilter="Alpha(opacity=95)"
//itemheight=20;
subimageposition="right";
//alignment="right";
righttoleft=1;

}
with(stylesub3=new mm_style()){
align="right";
onbgcolor="#009900";"#45555F";
oncolor="#D9E2DB";//"#D9E2DB";
offbgcolor="#73CA55";//"#D9E2DB";
offcolor="#45555F";
bordercolor="#ffffff";
borderwidth=1;
separatorcolor="#ffffff";
separatorsize="1";
padding=0;
fontsize=11;
fontstyle="normal";
//fontweight="bold";
fontfamily="Arial";
pagecolor="#000000";
pagebgcolor="#00CC00";//"#ffffff";
headercolor="#000000";
headerbgcolor="#D9E2DB";//"#ffffff";
subimage=mpath+"menus/arrow.gif";
subimagepadding="0";
overfilter="Alpha(opacity=95)"
//itemheight=20;
subimageposition="right";
//alignment="right";
righttoleft=1;


}
nbsp1="&nbsp;";
myback=mpath+"menus/backmenu.gif";
overlinkT="";"bgimage="+myback+";overbgimage="+myback ;
overlink="bgimage="+myback+";overbgimage="+myback +";";
with(milonic=new menuname("Main Menu2")){
openstyle="rtl";
align="right";
style=menuStyle2;
top=TopMenu;
itemwidth=150;
left=(screen.width / 2) + 197;
//left=LeftMenu;
alwaysvisible=1;
screenposition="left";
//orientation="horizontal";
aI("text="+nbsp1+"اللجنة الأولمبية"+nbsp1+";showmenu=interoduction;"+ overlink +";separatorsize=0;")
aI("text="+nbsp1+"اليوم الأولمبي"+nbsp1+";url="+mpath+"index.php?ID=32;"+ overlink +";separatorsize=0;")
aI("text="+nbsp1+"الإتحادات"+nbsp1+";showmenu=union;"+ overlink +";separatorsize=0;")
//aI("text="+nbsp1+"الإتحادات"+nbsp1+";url="+mpath+"index.php?ID=12;"+ overlink +";separatorsize=0;")
aI("text="+nbsp1+"البرامج"+nbsp1+";showmenu=programes;"+ overlink +";separatorsize=0;")
aI("text="+nbsp1+"التدريب والتأهيل"+nbsp1+";showmenu=training;"+ overlink +";separatorsize=0;")
//aI("text="+nbsp1+"سوق العمل و المجتمع"+nbsp1+";showmenu=work;"+ overlink +";separatorsize=0;")
aI("text="+nbsp1+"الرياضة و المرأة"+nbsp1+";url="+mpath+"index.php?ID=21;"+ overlink +";separatorsize=0")
aI("text="+nbsp1+"المشاركات الخارجية"+nbsp1+";showmenu=participation;"+ overlink +";separatorsize=0;")
aI("text="+nbsp1+"المركز الأولمبي"+nbsp1+";url="+mpath+"index.php?ID=28;"+ overlink +";separatorsize=0;")
aI("text="+nbsp1+"الأخبار"+nbsp1+";url="+mpath+"index.php?ID=29;"+ overlink +";separatorsize=0;")
aI("text="+nbsp1+"نبذة عن اليمن"+nbsp1+";url="+mpath+"index.php?ID=89;"+ overlink +";separatorsize=0;")

}

with(milonic=new menuname("interoduction")){
itemwidth=130;
style=stylesub2;
left = (screen.width / 2)+65; 
itemheight=20;
aI("text="+nbsp1+"النشأة و التعريف"+nbsp1+";url="+mpath+"index.php?ID=2;;separatorsize=1")
aI("text="+nbsp1+"مجلس الإدارة"+nbsp1+";url="+mpath+"index.php?ID=3;;separatorsize=1")
//aI("text="+nbsp1+"المجلس التنفيذي"+nbsp1+";url="+mpath+"index.php?ID=31;;separatorsize=1")
aI("text="+nbsp1+"الجمعية العمومية"+nbsp1+";url="+mpath+"index.php?ID=5;;separatorsize=1")
aI("text="+nbsp1+"الأمانة العامة"+nbsp1+";url="+mpath+"index.php?ID=6;;separatorsize=1")
aI("text="+nbsp1+"اللجان التابعة"+nbsp1+";showmenu=commettes"+";separatorsize=1;")
}
with(milonic=new menuname("union")){
itemwidth=130;
style=stylesub2;
left = (screen.width / 2)+65; 
itemheight=20;
aI("text="+nbsp1+"الاتحاد العام للكرة القدم"+nbsp1+";url="+mpath+"index.php?ID=33;;separatorsize=1")
aI("text="+nbsp1+"الاتحاد العام لألعاب القوى"+nbsp1+";url="+mpath+"index.php?ID=34;;separatorsize=1")
aI("text="+nbsp1+"الاتحاد العام لكرة الطائرة"+nbsp1+";url="+mpath+"index.php?ID=35;;separatorsize=1")
aI("text="+nbsp1+"الاتحاد العام لتنس الطاولة"+nbsp1+";url="+mpath+"index.php?ID=36;;separatorsize=1")
aI("text="+nbsp1+"الاتحاد العام للشطرنج"+nbsp1+";url="+mpath+"index.php?ID=37;;separatorsize=1")
aI("text="+nbsp1+"الاتحاد العام للدراجات"+nbsp1+";url="+mpath+"index.php?ID=38;;separatorsize=1")
aI("text="+nbsp1+"الاتحاد العام لبناء الأجسام"+nbsp1+";url="+mpath+"index.php?ID=39;;separatorsize=1")
aI("text="+nbsp1+"الاتحاد العام لكرة السلة"+nbsp1+";url="+mpath+"index.php?ID=40;;separatorsize=1")
aI("text="+nbsp1+"الاتحاد العام للكاراتية"+nbsp1+";url="+mpath+"index.php?ID=41;;separatorsize=1")
aI("text="+nbsp1+"الاتحاد العام للتايكواندو"+nbsp1+";url="+mpath+"index.php?ID=42;;separatorsize=1")

}


with(milonic=new menuname("programes")){
itemwidth=130;
style=stylesub2;
left = (screen.width / 2)+65;//right="offset=+200";  
itemheight=20;
aI("text="+nbsp1+"التضامن الأولمبي"+nbsp1+";url="+mpath+"index.php?ID=14;;separatorsize=1")
aI("text="+nbsp1+"البرامج المحلية"+nbsp1+";url="+mpath+"index.php?ID=15;;separatorsize=1")
}

with(milonic=new menuname("commettes")){
itemwidth=100;
style=stylesub3;
left="offset=-222";  
itemheight=20;
aI("text="+nbsp1+"لجنة المرأة والرياضة"+nbsp1+";url="+mpath+"index.php?ID=8;;separatorsize=1")
aI("text="+nbsp1+"لجنة الطب الرياضي"+nbsp1+";url="+mpath+"index.php?ID=9;;separatorsize=1")
aI("text="+nbsp1+"لجنة الثقافة والتعليم"+nbsp1+";url="+mpath+"index.php?ID=10;;separatorsize=1")
aI("text="+nbsp1+"لجنة الرياضة والبيئة"+nbsp1+";url="+mpath+"index.php?ID=11;;separatorsize=1")
}

with(milonic=new menuname("training")){
itemwidth=130;
style=stylesub2;
left = (screen.width / 2)+65;//right="offset=+200";  
itemheight=20;
aI("text="+nbsp1+"الدورات التدريبية المحلية و الدولية"+nbsp1+";url="+mpath+"index.php?ID=17;;separatorsize=1")
aI("text="+nbsp1+"الدورات التحكيمية المحلية و الدولية"+nbsp1+";url="+mpath+"index.php?ID=18;;separatorsize=1")
aI("text="+nbsp1+"دورات التنظيم والإدارة"+nbsp1+";url="+mpath+"index.php?ID=19;;separatorsize=1")
aI("text="+nbsp1+"دورات التسويق والإعلام الرياضي"+nbsp1+";url="+mpath+"index.php?ID=20;;separatorsize=1")
}

with(milonic=new menuname("participation")){
itemwidth=130;
style=stylesub2;
left = (screen.width / 2)+65;//right="offset=+200";  
itemheight=20;
aI("text="+nbsp1+"بطولات عربية"+nbsp1+";url="+mpath+"index.php?ID=24;;separatorsize=1")
aI("text="+nbsp1+"بطولات قارية"+nbsp1+";url="+mpath+"index.php?ID=25;;separatorsize=1")
aI("text="+nbsp1+"بطولات دولية"+nbsp1+";url="+mpath+"index.php?ID=26;;separatorsize=1")
aI("text="+nbsp1+"المؤتمرات و الندوات"+nbsp1+";url="+mpath+"index.php?ID=27;;separatorsize=1")
}
drawMenus();
