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="130";
padding=7;
align="left";
fontsize="10px";
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="130";
padding=7;
align="left";
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;
padding=2;
align="left";
fontsize="10px";
fontstyle="normal";
fontfamily="Lucida Sans Unicode";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="";
subimagepadding="2";
image="";
overimage="";
}

horizontalStyle= new copyOf(menuStyle)
horizontalStyle.offbgcolor=0;
horizontalStyle.onbgcolor=0;
horizontalStyle.offcolor="#FFFFFF"
horizontalStyle.oncolor="#FFFFFF"
horizontalStyle.separatorimage="../images/spacer.gif";
horizontalStyle.separatorsize="5";
horizontalStyle.itemwidth="130";
//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(menuStyle5=new mm_style()){
offclass="SubMenuOff";
onclass="SubMenuOn";
separatorcolor="#f6fdbf";
separatorsize="0";
itemwidth="130";
}

with(menuStyle6=new mm_style()){
offclass="SubMenuSubOff";
onclass="SubMenuSubOn";
separatorcolor="#f6fdbf";
separatorsize="1";
itemwidth="130";
}

with(menuStyle7=new mm_style()){
offclass="SubMenuOn";
onclass="SubMenuOn";
separatorcolor="#f6fdbf";
separatorsize="0";
itemwidth="130";
}


with(milonic=new menuname("Howcan")){
style=menuStyle1;
itemwidth="116";
aI("text=&nbsp;I am an Investor;url=../Common/Help_Investor.html;");
aI("text=&nbsp;I am a Vendor;url=../Common/Help_Vendor.html;");
aI("text=&nbsp;I am a Property Buyer;url=../Common/Help_PropertyBuyer.html;");
aI("text=&nbsp;I am a Job Seeker;url=../Common/Help_JobSeeker.html;");
aI("text=&nbsp;Media Inquiry;url=javascript:Lightview.show({ href: '../Forms/MediaInquiry.aspx', rel: 'iframe', options: {topclose: true, width: 750, height: 600 }});");
aI("text=&nbsp;Webmaster (Feedback);url=javascript:Lightview.show({ href: '../Forms/ContactUs_Form.aspx', rel: 'iframe', options: {topclose: true, width: 600, height: 400 }});");
aI("text=&nbsp;Real Estate Buyers & &nbsp;Investors;url=javascript:Lightview.show({ href: '../Forms/Buyer_Resident.aspx', rel: 'iframe', options: {topclose: true, width: 700, height: 460 }});");
aI("text=&nbsp;Construction Material &nbsp;Supplier;url=javascript:Lightview.show({ href: '../Forms/ConstructionMaterialSupplier.aspx', rel: 'iframe', options: {topclose: true, width: 750, height: 600 }});");
aI("text=&nbsp;Non-contractor/ &nbsp;Non-consultant &nbsp;Registration;url=javascript:Lightview.show({ href: '../Forms/SupplierConsultant.aspx', rel: 'iframe', options: {topclose: true, width: 700, height: 560 }});");
aI("text=&nbsp;Visit KAEC;url=javascript:Lightview.show({ href: '../Forms/VisitKAEC.aspx', rel: 'iframe', options: {topclose: true, width: 750, height: 600 }});");
aI("text=&nbsp;Contact Shareholder &nbsp;Affairs;url=javascript:Lightview.show({ href: '../Forms/ContactShareholderAffairs.aspx', rel: 'iframe', options: {topclose: true, width: 600, height: 400 }});");
aI("text=&nbsp;External Agent &nbsp;Registration Form;url=javascript:Lightview.show({ href: '../Forms/ExternalAgent.aspx', rel: 'iframe', options: {topclose: true, width: 750, height: 560 }});");
}

with(milonic=new menuname("Howcan1")){
style=menuStyle1;
itemwidth="158";
aI("text=&nbsp;I am an Investor;url=../Common/Help_Investor.html;");
aI("text=&nbsp;I am a Vendor;url=../Common/Help_Vendor.html;");
aI("text=&nbsp;I am a Property Buyer;url=../Common/Help_PropertyBuyer.html;");
aI("text=&nbsp;I am a Job Seeker;url=../Common/Help_JobSeeker.html;");
aI("text=&nbsp;Media Inquiry;url=javascript:Lightview.show({ href: '../Forms/MediaInquiry.aspx', rel: 'iframe', options: {topclose: true, width: 750, height: 600 }});");
aI("text=&nbsp;Webmaster (Feedback);url=javascript:Lightview.show({ href: '../Forms/ContactUs_Form.aspx', rel: 'iframe', options: {topclose: true, width: 600, height: 400 }});");
aI("text=&nbsp;Real Estate Buyers & Investors;url=javascript:Lightview.show({ href: '../Forms/Buyer_Resident.aspx', rel: 'iframe', options: {topclose: true, width: 700, height: 460 }});");
aI("text=&nbsp;Construction Material &nbsp;Supplier;url=javascript:Lightview.show({ href: '../Forms/ConstructionMaterialSupplier.aspx', rel: 'iframe', options: {topclose: true, width: 750, height: 600 }});");
aI("text=&nbsp;Non-contractor &nbsp;/ &nbsp;Non-&nbsp;consultant Registration;url=javascript:Lightview.show({ href: '../Forms/SupplierConsultant.aspx', rel: 'iframe', options: {topclose: true, width: 700, height: 560 }});");
aI("text=&nbsp;Visit KAEC;url=javascript:Lightview.show({ href: '../Forms/VisitKAEC.aspx', rel: 'iframe', options: {topclose: true, width: 750, height: 600 }});");
aI("text=&nbsp;Contact Shareholder &nbsp;Affairs;url=javascript:Lightview.show({ href: '../Forms/ContactShareholderAffairs.aspx', rel: 'iframe', options: {topclose: true, width: 600, height: 400 }});");
aI("text=&nbsp;External Agent Registration &nbsp;Form;url=javascript:Lightview.show({ href: '../Forms/ExternalAgent.aspx', rel: 'iframe', options: {topclose: true, width: 750, height: 560 }});");
}

with(milonic=new menuname("AboutKAEC")){
style=menuStyle2;
aI("text=Vision Of The City;url=../AboutKAEC/VisionOfTheCity.html;");
aI("text=Why KAEC;url=../AboutKAEC/WhyKAEC.html;");
aI("text=Visionaries;url=../AboutKAEC/Visionaries.html;");
aI("text=Leadership Team;url=../AboutKAEC/LeadershipTeam.html;");
aI("text=The Master Planners;url=../AboutKAEC/TheMasterPlanners.html;");
aI("text=Shareholder Affairs;url=../AboutKAEC/InvestorRelations.html;showmenu=InvestorRelations;");
aI("text=Press Room;url=../AboutKAEC/PressRoom.aspx;");
aI("text=Video Gallery;url=../AboutKAEC/VideoGallery.html;");
aI("text=Downloads;url=../AboutKAEC/Downloads.html;");
aI("text=Contact Us;url=../AboutKAEC/ContactUs.html;");
}

with(milonic=new menuname("InvestorRelations")){
style=menuStyle;
//aI("text=Press Releases;url=../AboutKAEC/PressRoom.aspx;");
aI("text=Financial Reports;url=../AboutKAEC/FinancialStatements.html;");
aI("text=Stock Ticker;url=../AboutKAEC/InvestorRelations.html#StockTicker;");
//aI("text=Contact Shareholder Affairs;url=../Forms/ContactShareholderAffairs.aspx;");
}

with(milonic=new menuname("InvestorRelationsInner")){
style=menuStyle6;
//aI("text=Press Releases;url=../AboutKAEC/PressRoom.aspx;");
aI("text=Financial Reports;url=../AboutKAEC/FinancialStatements.html;");
aI("text=Stock Ticker;url=../AboutKAEC/InvestorRelations.html#StockTicker;");
//aI("text=Contact Shareholder Affairs;url=../Forms/ContactShareholderAffairs.aspx;");
}



with(milonic=new menuname("InsidetheCity")){
style=menuStyle;
aI("text=City Overview;url=../InsideTheCity/CityOverview.html;");
aI("text=Infrastructure;url=../InsideTheCity/Infrastructure.html;");
aI("text=Geography;url=../InsideTheCity/Geography.html;");
aI("text=Business Climate;url=../InsideTheCity/BusinessClimate.html;");
aI("text=Living In KAEC;url=../InsideTheCity/LivingInKAEC.html;");
}


with(milonic=new menuname("CityinProgress")){
style=menuStyle;
aI("text=City Phases;url=../CityInProgress/CityPhases.html;");
aI("text=Phase 1 Projects;url=../CityInProgress/Phase1Projects.html;");
}


with(milonic=new menuname("Opportunities")){
style=menuStyle;
aI("text=Investors;url=../Opportunities/Investors.html;");
aI("text=Vendors;url=../Opportunities/Vendors.html;");
aI("text=Careers;url=../Opportunities/Careers.html;");
}

drawMenus();
