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