fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=0;
_subOffsetLeft=2;

with(menuStyle=new mm_style()){
onbgcolor="#253849";
oncolor="#FFFFFF";
offbgcolor="#102031";
offcolor="#FFFFFF";
bordercolor="#6699CC";
borderstyle="solid";
borderwidth=0;
separatorcolor="#263343";
separatorsize="1";
itemwidth="246";
padding=7;
align="right";
fontsize="14px";
fontstyle="normal";
fontfamily="Lucida Sans Unicode";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="../Images/icon_pulldownarrow.gif";
subimagepadding="2";
image="../Images/menu_image.gif";
overimage="../Images/menu_arrow.gif";
}

with(menuStyle2=new mm_style()){
onbgcolor="#253849";
oncolor="#FFFFFF";
offbgcolor="#102031";
offcolor="#FFFFFF";
bordercolor="#6699CC";
borderstyle="solid";
borderwidth=0;
separatorcolor="#263343";
separatorsize="1";
itemwidth="246";
padding=7;
align="right";
imagealign="right";
fontsize="10px";
fontstyle="normal";
fontfamily="Lucida Sans Unicode";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="";
subimagepadding="2";
image="../Images/menu_image.gif";
overimage="../Images/menu_arrow.gif";
}


with(menuStyle1=new mm_style()){
onbgcolor="#646464";
oncolor="#FFFFFF";
offbgcolor="#FFFFFF";
offcolor="#646464";
bordercolor="#cccccc";
borderstyle="solid";
borderwidth=1;
separatorcolor="#263343";
separatorsize=0;
itemwidth="248";
padding=2;
align="right";
fontsize="14px";
fontstyle="normal";
fontfamily="verdana";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="";
subimagepadding="2";
image="";
overimage="";
}

with(menuStyle2=new mm_style()){
onbgcolor="#646464";
oncolor="#FFFFFF";
offbgcolor="#FFFFFF";
offcolor="#646464";
bordercolor="#cccccc";
borderstyle="solid";
borderwidth=1;
separatorcolor="#263343";
separatorsize=0;
itemwidth="248";
padding=2;
align="right";
imagepostion="right";
fontsize="13px";
fontstyle="normal";
fontfamily="verdana";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="";
subimagepadding="2";
image="";
overimage="";
}

with(menuStyle4=new mm_style()){
offclass="menuoff";
onclass="menuon";
separatorcolor="#263343";
separatorsize="1";
itemwidth="248";
}

with(menuStyle5=new mm_style()){
offclass="SubMenuOff";
onclass="SubMenuOn";
separatorcolor="#f6fdbf";
separatorsize="0";
itemwidth="248";
}

with(menuStyle6=new mm_style()){
offclass="SubMenuSubOff";
onclass="SubMenuSubOn";
separatorcolor="#f6fdbf";
separatorsize="1";
itemwidth="248";
}

with(menuStyle7=new mm_style()){
offclass="SubMenuOn";
onclass="SubMenuOn";
separatorcolor="#f6fdbf";
separatorsize="0";
itemwidth="248";
}

horizontalStyle= new copyOf(menuStyle)
horizontalStyle.offbgcolor=0;
horizontalStyle.onbgcolor=0;
horizontalStyle.offcolor="#FFFFFF"
horizontalStyle.oncolor="#FFFFFF"
horizontalStyle.separatorimage="";
horizontalStyle.separatorsize="0";
horizontalStyle.itemwidth="248";
//horizontalStyle.itemheight="30";
horizontalStyle.borderwidth=0;
horizontalStyle.padding=0;
horizontalStyle.fontweight="bold";
horizontalStyle.fontsize="10px";
horizontalStyle.subimage="";
horizontalStyle.image="";
horizontalStyle.overimage="";
horizontalStyle1= new copyOf(menuStyle)
horizontalStyle1.offbgcolor=0;
horizontalStyle1.onbgcolor=0;
horizontalStyle1.offcolor="#646464"
horizontalStyle1.oncolor="#646464"
horizontalStyle1.separatorimage="../images/spacer.gif";
horizontalStyle1.separatorsize="0";
horizontalStyle1.borderwidth=0;
horizontalStyle1.padding=0;
horizontalStyle1.subimage="";
horizontalStyle1.image="";
horizontalStyle1.overimage="";


with(milonic=new menuname("Howcan")){
style=menuStyle2;
aI("text=&nbsp;أنا مستثمر &nbsp;url=../Common/Help_Investor.html;");
aI("text=&nbsp;أنا بائع &nbsp;url=../Common/Help_Vendor.html;");
aI("text=&nbsp;أنا مشتري عقارات &nbsp;url=../Common/Help_PropertyBuyer.html;");
aI("text=&nbsp;أنا الباحث عن عمل &nbsp;url=../Common/Help_JobSeeker.html;");
aI("text=&nbsp;استفسارات اعلامية;url=javascript:Lightview.show({ href: '../Forms/MediaInquiry.aspx', rel: 'iframe', options: {topclose: true, width: 750, height: 600 }});");
aI("text=&nbsp;المسئول عن الموقع (اقتراح);url=javascript:Lightview.show({ href: '../Forms/ContactUs_Form.aspx', rel: 'iframe', options: {topclose: true, width: 600, height: 400 }});");
aI("text=&nbsp;مشتري العقارات والمستثمرين;url=javascript:Lightview.show({ href: '../Forms/Buyer_Resident.aspx', rel: 'iframe', options: {topclose: true, width: 700, height: 460 }});");
aI("text=&nbsp;تسجيل مزود مواد البناء;url=javascript:Lightview.show({ href: '../Forms/ConstructionMaterialSupplier.aspx', rel: 'iframe', options: {topclose: true, width: 750, height: 600 }});");
aI("text=&nbsp;تسجيل غير المتعهد / غير المستشار;url=javascript:Lightview.show({ href: '../Forms/SupplierConsultant.aspx', rel: 'iframe', options: {topclose: true, width: 700, height: 560 }});");
aI("text=&nbsp;تفضل بزيارة مدينة الملك عبدالله الاقتصادية;url=javascript:Lightview.show({ href: '../Forms/VisitKAEC.aspx', rel: 'iframe', options: {topclose: true, width: 750, height: 600 }});");
aI("text=&nbsp;اتصل بشؤون المساهمين;url=javascript:Lightview.show({ href: '../Forms/ContactShareholderAffairs.aspx', rel: 'iframe', options: {topclose: true, width: 600, height: 400 }});");
aI("text=&nbsp;استمارة طلب التسجيل كمسوق عقاري معتمد;url=javascript:Lightview.show({ href: '../Forms/ExternalAgent.aspx', rel: 'iframe', options: {topclose: true, width: 750, height: 560 }});");
}

with(milonic=new menuname("Howcan1")){
style=menuStyle1;
aI("text=&nbsp;أنا مستثمر;url=../Common/Help_Investor.html;");
aI("text=&nbsp;أنا بائع ;url=../Common/Help_Vendor.html;");
aI("text=&nbsp;أنا مشتري عقارات ;url=../Common/Help_PropertyBuyer.html;");
aI("text=&nbsp;أنا الباحث عن عمل;url=../Common/Help_JobSeeker.html;");
aI("text=&nbsp;استفسارات اعلامية;url=javascript:Lightview.show({ href: '../Forms/MediaInquiry.aspx', rel: 'iframe', options: {topclose: true, width: 750, height: 600 }});");
aI("text=&nbsp;المسئول عن الموقع (اقتراح);url=javascript:Lightview.show({ href: '../Forms/ContactUs_Form.aspx', rel: 'iframe', options: {topclose: true, width: 600, height: 400 }});");
aI("text=&nbsp;مشتري العقارات والمستثمرين;url=javascript:Lightview.show({ href: '../Forms/Buyer_Resident.aspx', rel: 'iframe', options: {topclose: true, width: 700, height: 460 }});");
aI("text=&nbsp;تسجيل مزود مواد البناء;url=javascript:Lightview.show({ href: '../Forms/ConstructionMaterialSupplier.aspx', rel: 'iframe', options: {topclose: true, width: 750, height: 600 }});");
aI("text=&nbsp;تسجيل غير المتعهد / غير المستشار;url=javascript:Lightview.show({ href: '../Forms/SupplierConsultant.aspx', rel: 'iframe', options: {topclose: true, width: 700, height: 560 }});");
aI("text=&nbsp;تفضل بزيارة مدينة الملك عبدالله الاقتصادية;url=javascript:Lightview.show({ href: '../Forms/VisitKAEC.aspx', rel: 'iframe', options: {topclose: true, width: 750, height: 600 }});");
aI("text=&nbsp;اتصل بشؤون المساهمين;url=javascript:Lightview.show({ href: '../Forms/ContactShareholderAffairs.aspx', rel: 'iframe', options: {topclose: true, width: 600, height: 400 }});");
aI("text=&nbsp;استمارة طلب التسجيل كمسوق عقاري معتمد;url=javascript:Lightview.show({ href: '../Forms/ExternalAgent.aspx', rel: 'iframe', options: {topclose: true, width: 750, height: 560 }});");
}

with(milonic=new menuname("AboutKAEC")){
style=menuStyle4;
aI("text=رؤية المدينة;url=../AboutKAEC/VisionOfTheCity.html;");
aI("text=أسباب التميُز;url=../AboutKAEC/WhyKAEC.html;");
aI("text=أصحاب الرؤية;url=../AboutKAEC/Visionaries.html;");
aI("text=الطاقم القيادي;url=../AboutKAEC/LeadershipTeam.html;");
aI("text=مخططوا المدينة;url=../AboutKAEC/TheMasterPlanners.html;");
aI("text=شؤون المساهمين;url=../AboutKAEC/InvestorRelations.html;showmenu=InvestorRelations;");
aI("text=المكتب الصحافي;url=../AboutKAEC/PressRoom.aspx;");
aI("text=مكتبة الفيديو;url=../AboutKAEC/VideoGallery.html;");
aI("text=تحميلات;url=../AboutKAEC/Downloads.html;");
aI("text=اتصل بنا;url=../AboutKAEC/ContactUs.html;");
}

with(milonic=new menuname("InvestorRelations")){
style=menuStyle4;
aI("text=التقرير المالي;url=../AboutKAEC/FinancialStatements.html;");
aI("text=مؤشر الأسهم;url=../AboutKAEC/InvestorRelations.html#StockTicker;");
}

with(milonic=new menuname("InvestorRelationsInner")){
style=menuStyle6;
aI("text=التقرير المالي;url=../AboutKAEC/FinancialStatements.html;");
aI("text=مؤشر الأسهم;url=../AboutKAEC/InvestorRelations.html#StockTicker;");
}


with(milonic=new menuname("InsidetheCity")){
style=menuStyle4;
aI("text=نظرة عامة عن المدينة;url=../InsideTheCity/CityOverview.html;");
aI("text=البنية التحتية;url=../InsideTheCity/Infrastructure.html;");
aI("text=السمات الجغرافية;url=../InsideTheCity/Geography.html;");
aI("text=مناخ العمل;url=../InsideTheCity/BusinessClimate.html;");
aI("text=الحياة في مدينة الملك عبدالله الاقتصادية;url=../InsideTheCity/LivingInKAEC.html;");
}


with(milonic=new menuname("CityinProgress")){
style=menuStyle4;
aI("text=مراحل النمو في المدينة;url=../CityInProgress/CityPhases.html;");
aI("text=مشاريع المرحلة الأولى;url=../CityInProgress/Phase1Projects.html;");
}


with(milonic=new menuname("Opportunities")){
style=menuStyle4;
aI("text=المستثمرون;url=../Opportunities/Investors.html;");
aI("text=مزوّد الخدمات;url=../Opportunities/Vendors.html;");
aI("text=الوظائف;url=../Opportunities/Careers.html;");
}





drawMenus();



drawMenus();

