﻿fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=250;
_subOffsetTop=2;
_subOffsetLeft=-2;

// my vars 
// links for menu

// Aqsa Institute
var m1_about = "Info.aspx?Info=من نحن";
var m1_goals = "Info.aspx?Info=أهدافنا";
var m1_news = "Category.aspx?I=3";
var m1_meetings = "Info.aspx?Info=مؤتمرات وإجتماعات";
var m1_contactUs = "Info.aspx?Info=اتصل%20بنا";
var m1_releases = "Category.aspx?I=11";
var m1_annual_report = "Info.aspx?Info=التقرير السنوي";

// Aqsa Mosque
var m2_newsAndReports = "Category.aspx?I=4";
var m2_studies = "Category.aspx?I=25";
var m2_articles = "Category.aspx?I=5";
var m2_guide = "Category.aspx?I=19";
var m2_history = "Info.aspx?Info=تاريخ الاقصى";
var m2_construction = "Category.aspx?I=18";
var m2_picture = "Info.aspx?Info=الاقصى في صور";
var m2_attack = "Info.aspx?Info=قائمة الاعتداءات";
//var m2_destruction = "AqsaDestruction.aspx;";
var m21_event = "Category.aspx?I=20";
var m22_news = "Info.aspx?Info=هدم الاقصى وبناء الهيكل - أخبار";
var m23_studies = "Info.aspx?Info=هدم الاقصى وبناء الهيكل - دراسات";

// Jerusalem
var m3_news = "Info.aspx?Info=مدينة القدس - أخبار";
var m3_history = "Info.aspx?Info=مدينة القدس - تاريخ وجغرافيا";
var m3_studies = "Info.aspx?Info=مدينة القدس - دراسات";
var m3_articles = "Info.aspx?Info=مدينة القدس - مقالات";
var m3_pictures = "Info.aspx?Info=مدينة القدس - صور";

//Islamic Places
var m4_wakf = "Info.aspx?Info=الوقف الاسلامي";
var m4_attacks = "Info.aspx?Info=المقدسات الاسلامية - انتهاكات";
var m4_news = "Info.aspx?Info=المقدسات الاسلامية - أخبار وتقارير";
var m4_construction = "Category.aspx?I=22";
var m4_tragedy = "Category.aspx?I=24";
var m4_gallery = "Info.aspx?Info=المقدسات الاسلامية - المعرض الدائم";
var m4_m2aden = "Category.aspx?I=23";
//end my vars

var BPath = "../Controls/Menus/Jscripts/";

with(menuStyle=new mm_style()){
swap3d='true';
styleid=1;
align="right";
//borderstyle="outset";
fontfamily="Arial , Verdana, Tahoma ";
fontsize="16px";
fontweight="bold";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#CFD0C0";
offcolor="#515161";
oncolor="#1010d0";
ondecoration="none";
onsubimage=BPath + "black_9x7right.gif";
padding=5;
subimage=BPath + "grey_9x7right.gif";
subimagepadding=4;
outfilter="GradientWipe(duration=0.3);Alpha(opacity=50);";
overfilter="Fade(duration=0.8);Alpha(opacity=90);Shadow(color=#6D8E6D,Direction=230,Strength=9)";
borderstyle='outset';
borderwidth=2;
bordercolor='#CAE2D5';
onborder="2px outset #ffffff";
onbgcolor="#CFE0C0";
bgimage=BPath + 'subbg.jpg';

bordercolor="#778899";
borderstyle="solid";
borderwidth=0;


itemheight="20px";
itemwidth="140px"
}


with(mainmenuStyle=new mm_style()){
swap3d='true';
//separatoralign='center';
//separatorwidth=150;
separatorsize=5;
//separatorheight=10;
//separatorcolor='#cfcfcf'
separatorimage=BPath+'grad1.gif';
//leftimage = 'right1.gif';
//bgimage='bg2.jpg';
bgimage=BPath+'bg0.jpg';
//overimage='bg.gif';
align="center";
fontfamily="Arial , Verdana, Tahoma ";
fontsize="16px";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
imagepadding=3;
//offbgcolor="#EAEBDF";
offcolor="#515161";
//onbgcolor="#CFD0C0";
oncolor="#0000f0";
onsubimage=BPath+"black_9x7right.gif";
padding=6;
pagebgcolor="#82B6D7";
pagecolor="black";
subimage=BPath+"grey_9x7right.gif";
subimagepadding=6;
outfilter="randomdissolve(duration=0.4)";
//overfilter="Fade(duration=0.4);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=9)";
position="relative";

bordercolor="#778899";
borderstyle="solid";
borderwidth=0;

}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
//left=500;
position="relative";
openstyle="rtl";
orientation="vertical";
style=mainmenuStyle;
menuwidth="144px";
itemheight="50px";
//minwidth="250px";
top=10;
//aI("text=مؤسسة الاقصى;url=#;");
aI("showmenu=AksaInstitute;text=مؤسسة الاقصى;");
aI("showmenu=AksaMosque;text=المسجد الاقصى;");
aI("showmenu=Jerusalem;text=مـدينـة الـقـدس;");
aI("showmenu=IslamicPlaces;text=المقدسات الاسلامية;");
//aI("text=Search;");
}




with(milonic=new menuname("AksaInstitute")){
openstyle="rtl";
style=menuStyle;

aI("color=#ffffff;text=من نحن;url=" + m1_about);
aI("text=أهدافنا;url=" + m1_goals);
aI("text=أخبار المؤسسة;url=" + m1_news);
aI("text=مؤتمرات وإجتماعات;url=" + m1_meetings );
aI("text=للتواصل معنا;url=" + m1_contactUs );
aI("text=إصدارات;url=" + m1_releases);
aI("text=التقرير السنوي;url=" + m1_annual_report);
}

with(milonic=new menuname("AksaMosque")){
openstyle="rtl";
style=menuStyle;
 
aI("text=أخبار وتقارير;url=" + m2_newsAndReports );
aI("text=دراسات;url=" + m2_studies );
aI("text=مقالات;url=" + m2_articles );
aI("text=دليل اولى القبلتين;url=" + m2_guide );
aI("text=تاريخ الاقصى;url=" + m2_history );
aI("text=إعمار الاقصى;url=" + m2_construction );
aI("text=الاقصى في صور;url=" + m2_picture );
aI("text=قائمة الاعتداءات;url=" + m2_attack );
aI("showmenu=AqsaDestruction;text=هدم الاقصى وبناء الهيكل;");
}

with(milonic=new menuname("AqsaDestruction")){
openstyle="rtl";
style=menuStyle;
aI("text=في بؤرة الحدث;url=" + m21_event );
aI("text=أخبار;url=" + m22_news );
aI("text=دراسات;url=" + m23_studies );
}

with(milonic=new menuname("Jerusalem")){
openstyle="rtl";
style=menuStyle;
aI("text=أخبار;url=" + m3_news);
aI("text=تاريخ وجغرافيا;url=" + m3_history);
aI("text=دراسات;url=" + m3_studies);
aI("text=مقالات;url=" + m3_articles);
aI("text=صور;url=" + m3_pictures);
}


with(milonic=new menuname("IslamicPlaces")){
openstyle="rtl";
style=menuStyle;
aI("text=الوقف الاسلامي;url=" + m4_wakf);
aI("text=انتهاكات;url=" + m4_attacks);
aI("text=أخبار وتقارير;url=" + m4_news);
aI("text=صيانة وإعمار;url=" + m4_construction);
aI("text=عين على مأسي المقدسات;url=" + m4_tragedy);
aI("text=المعرض الدائم;url=" + m4_gallery);
aI("text=مآذن في وجه الدمار;url=" + m4_m2aden);
}

//with(milonic=new menuname("MyMilonic")){
//openstyle="rtl";
//style=menuStyle;
//aI("text=Login;url=http://www.milonic.com/login.php;");
//aI("text=Licenses;url=http://www.milonic.com/mylicenses.php;");
//aI("text=Invoices;url=http://www.milonic.com/myinvoices.php;");
//aI("text=Make Support Request;url=http://www.milonic.com/reqsupport.php;");
//aI("text=View Support Request;url=http://www.milonic.com/mysupport.php;");
//aI("text=Your Details;url=http://www.milonic.com/mydetails.php;");
//}

drawMenus();

