var pr_url = "";
var job_url = "";
//var con_url
var thispage = location.href
var iscurrent = thispage.search("/news")
if (iscurrent != -1)
pr_url = thispage
var iscurrent2 = thispage.search("/jobs")
if (iscurrent2 != -1)
job_url = thispage

_menuCloseDelay=200           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=50            // The time delay before menus open on mouse over
_followSpeed=5                // Follow scrolling speed
_followRate=40                // Follow scrolling Rate
_subOffsetTop=8            // Sub menu top offset
_subOffsetLeft=-7         // Sub menu left offset
_scrollAmount=3               // Only needed for Netscape 4.x
_scrollDelay=20               // Only needed for Netcsape 4.x

with(menuStyle=new mm_style()){
onbgcolor="#F5F5F5";
oncolor="#97159F";
offbgcolor="#F5F5F5";
offcolor="#00509A";
bordercolor="#127FAC";
borderstyle="solid";
borderwidth=0;
separatorcolor="#F5F5F5";
separatorsize="23";
padding=5;
fontsize="11px";
fontstyle="normal";
fontweight="bold";
fontfamily="Arial, Verdana, Tahoma";
pagecolor="#921397";
}

with(menuStyle2=new mm_style()){
onbgcolor="#FFFFFF";
oncolor="#97159F";
offbgcolor="#F5F5F5";
offcolor="#00509A";
bordercolor="#127FAC";
borderstyle="solid";
borderwidth=1;
separatorcolor="#1472A5";
separatorsize="1";
padding=5;
fontsize="11px";
fontstyle="normal";
fontweight="bold";
fontfamily="Arial, Verdana, Tahoma";
pagecolor="#921397";
pagebgcolor="#FFFFFF";
subimage="/images/more.gif";
onsubimage="/images/more_on.gif";
subimagepadding="";
overfilter="Fade(duration=0.1);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=4)";
}


with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=84;
left=6;
alwaysvisible=1;
orientation="horizontal";
aI("text=Home;url=/index.html;");
aI("text=Company;url=/about.html;showmenu=ABOUT");
aI("text=Engineering Services;url=/services/engineering.html;showmenu=SERVICES;");
aI("text=Project Briefs;url=/projects/briefs.html;showmenu=BRIEFS;");
aI("text=Contract Vehicles;url=/contracting/vehicles.html;showmenu=CONTRACTS;");
aI("text=News;url=/news.html;showmenu=NEWS;pagematch="+pr_url+";");
aI("text=Contact;url=/contact.html;");
}

//***SPECIALTY SECTION*********************

with(milonic=new menuname("SERVICES")){
style=menuStyle2;
overflow="scroll";
aI("text=Systems Engineering & Lifecycle Support;url=/services/systems.html;showmenu=SYSTEMS");
aI("text=Test Equipment & Specialized Instrumentation;url=/services/instrumentation.html;showmenu=TEST;");
aI("text=Custom Design, Manufacturing & Assembly;url=/services/mfg.html;showmenu=MFG;");
aI("text=Environmental Engineering;url=/services/enviro.html;showmenu=ENV;");
aI("text=Engineering Studies / R&D;url=/services/studies.html;");
//aI("text=Documentation Support;url=/services/documentation.html;");

}
with(milonic=new menuname("SYSTEMS")){
style=menuStyle2;
overflow="scroll";
aI("text=Software Development;url=/services/software.html;");
aI("text=Process & Product Improvement;url=/services/process.html;");
aI("text=Technical Documentation;url=/services/documentation.html;");
}

with(milonic=new menuname("TEST")){
style=menuStyle2;
overflow="scroll";
aI("text=Automatic Test Equipment (ATE);url=/services/ate.html;");
aI("text=Modular Test Components;url=/services/modular.html;");
aI("text=Ruggedized Instrumentation;url=/services/rugged.html;");
aI("text=High-Temperature Electronics;url=/services/hitemp.html;");
aI("text=Embedded Systems & Devices;url=/services/embedded.html;");
aI("text=Brickwall&trade; Availability Predictor;url=/services/brickwall.html;");
}

with(milonic=new menuname("ENV")){
style=menuStyle2;
overflow="scroll";
aI("text=Composite Shelters, Radomes & Towers;url=/services/composites.html;");
//aI("text=Lifecycle Support for Composite Structures;url=/services/srt_lifecycle.html;");
//aI("text=P<sup>2</sup>, Community Outreach & Public Relations;url=/services/pr.html;");
//aI("text=Remediation;url=/services/remediation.html;");
//aI("text=Natural Resources;url=/services/nat_resources.html;");
}

with(milonic=new menuname("MFG")){
style=menuStyle2;
overflow="scroll";
aI("text=Aircraft & Support Vehicle Upgrades;url=/services/upgrades.html;");
aI("text=Sheet Metal Fabrication & Machining;url=/services/metal.html;");
aI("text=Electronic/Electro-Mechanical Fabrication;url=/services/electronics.html;");
aI("text=Plating, Metal Coating & Corrosion Abatement;url=/services/plating.html;");
}

//***BRIEFS SECTION*********************


with(milonic=new menuname("BRIEFS")){
style=menuStyle2;
overflow="scroll";
aI("text=Small Business Innovative Research (SBIR);url=/projects/sbir.html;showmenu=SBIR;");
aI("text=Systems / Software Engineering;url=/projects/systems.html;showmenu=SYSENG;");
aI("text=Process & Product Improvement;url=/projects/process.html;showmenu=PROCESS;");
aI("text=Equipment Manufacturing & Modification;url=/projects/manufacturing.html;");
aI("text=Environmental Monitoring & Compliance;url=/projects/environmental.html;");
}

with(milonic=new menuname("SBIR")){
style=menuStyle2;
overflow="scroll";
aI("text=High-Temp Geothermal Drilling Components;url=/projects/drilling.html;;");
aI("text=System Health Status Monitoring;url=/projects/health_status.html;");
aI("text=Current Flow Thru Units Under Test (UUT);url=/projects/uut.html;");
aI("text=Remote Support Via Multi-Terrabit Networks;url=/projects/remote.html;");
aI("text=Performance-Based Support Model;url=/projects/support.html;");
aI("text=Test Program Set (TPS) Development;url=/projects/tps.html");
}

with(milonic=new menuname("SYSENG")){
style=menuStyle2;
overflow="scroll";
aI("text=Decision Support Integrated Environment (DSide);url=/projects/dside.html;");
aI("text=Defense Repair Information Logistics Server (DRILS);url=/projects/drils.html;");
aI("text=Weapon Sub-System Aging & Surveillence (A&S);url=/projects/aands.html;");
aI("text=Department of Energy Deep Trek Program;url=/projects/deeptrek.html;");
}

with(milonic=new menuname("PROCESS")){
style=menuStyle2;
overflow="scroll";
aI("text=F-16 Flexible Sustainment (Falcon Flex);url=/projects/falconflex.html;");
aI("text=Fire Control Radar Test System (FCRATS);url=/projects/fcrats.html;");
}

with(milonic=new menuname("CONTRACTS")){
style=menuStyle2;
overflow="scroll";
aI("text=DESP II;url=/contracting/despII.html;showmenu=DESPII;");
aI("text=GSA Schedule 70&nbsp;&nbsp;&nbsp;;url=/contracting/gsa70.html;");
aI("text=GSA PES;url=/contracting/gsa_pes.html;");
aI("text=FAST;url=/contracting/fast.html;");
}

with(milonic=new menuname("DESPII")){
style=menuStyle2;
overflow="scroll";
aI("text=DESP II Subcontractors;url=/contracting/despII_subcontractors.html;");
}
//***ABOUT SECTION*********************
with(milonic=new menuname("NEWS")){
style=menuStyle2;
overflow="scroll";
aI("text=Recent News;url=/news.html;");
aI("text=News Archive;url=/newsarchive.html;");
}

with(milonic=new menuname("ABOUT")){
style=menuStyle2;
overflow="scroll";
aI("text=About AES;url=/about.html;");
aI("text=Business Divisions;url=/divisions.html;");
//aI("text=Partners & Alliances;url=/alliances.html;");
aI("text=Career Opportunities;url=/careers.html;pagematch="+job_url+";");
aI("text=Contact Information;url=/contactc.html;");
}


drawMenus();

