
/*
Milonic DHTML Menu - JavaScript Website Navigation System.
Copyright 2004 (c) Milonic Solutions Limited. All Rights Reserved.
Version 5+ Data File structure is the property of Milonic Solutions Ltd and must only be used in Milonic DHTML Products
This is a commercial software product, please visit http://www.milonic.com/ for more information.
See http://www.milonic.com/license.php for Commercial License Agreement
All Copyright statements must always remain in place in all files at all times
*******  PLEASE NOTE: THIS IS NOT FREE SOFTWARE, IT MUST BE LICENSED FOR ALL USE  ******* 
*/

_menuCloseDelay=500; //Keeps menus open when mouse leaves for 500 milliseconds
_menuOpenDelay=500;         // The time delay before menus open on mouse over
_followSpeed=5                // Follow scrolling speed
_followRate=40                // Follow scrolling Rate
_subOffsetTop=4              // Sub menu top offset
_subOffsetLeft=-6            // Sub menu left offset
_scrollAmount=3               // Only needed for Netscape 4.x
_scrollDelay=20               // Only needed for Netcsape 4.x

//http://www.milonic.com/styleproperties.php
with(menuStyle_topMenu=new mm_style()){
//onbgcolor=null;
oncolor="#ffffff";
//offbgcolor=null;
offcolor="#ffffff";
bordercolor="#000000";
borderstyle="none";
borderwidth=0;
separatorcolor="#000000";
separatorsize="0";
padding=0;
fontsize="13px";
fontstyle="normal";
fontweight="900";
fontfamily="Arial, Helvetica, sans-serif";
pagecolor="#ffffff";
//pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=100);";
outfilter="randomdissolve(duration=0.3)";
align="top";


}

with(menuStyle_subMenu=new mm_style()){
oncolor="#FFFFFF";      //menu font color is white always
offcolor="#FFFFFF";     //menu font color is white always
pagecolor="red";        //makes menu item corresponding to currently loaded page red
onbgcolor="#D03F34";
offbgcolor="#000000";   //makes the background color black
pagebgcolor="#000000";  //makes the current selected page's menu item background black
bordercolor="#733131";
borderstyle="solid";
borderwidth=1;
separatorcolor="#36647d";
separatorsize="0";      //removed the separator
padding=3;
fontsize="13px";
fontstyle="normal";
fontweight="1";
fontfamily="Arial, Helvetica, sans-serif";
align="left";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="/includes/menu/arrow2_1.gif";
onsubimage="/includes/menu/arrow2_over.gif";

subimagepadding="2px 2px 2px 2px";
overfilter="Fade(duration=.2);Alpha(opacity=100);Shadow(color='#733131', Direction=135, Strength=5)"; //added the shadow
outfilter="randomdissolve(duration=.3)";

}


with(menuStyle_TopMenu1=new mm_style()){
//onbgcolor=null;
oncolor="#ffffff";
//offbgcolor=null;
offcolor="#ffffff";
bordercolor="#000000";
borderstyle="none";
borderwidth=0;
separatorcolor="#000000";
separatorsize="0";
padding=0;
fontsize="13px";
fontstyle="normal";
fontweight="900";
fontfamily="Arial, Helvetica, sans-serif";
pagecolor="#ffffff";
//pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=100);";
outfilter="randomdissolve(duration=0.3)";
align="center";
}

with(menuStyle_TopSubMenu1=new mm_style()){
oncolor="#ffffff";
offcolor="#000000";
pagecolor="black";
onbgcolor="#733131";
offbgcolor="#FFFFFF";
pagebgcolor="#FFFFFF";
bordercolor="#733131";
borderstyle="solid";
borderwidth=1;
separatorcolor="#36647d";
separatorsize="1";
padding=3;
fontsize="14px";
fontstyle="normal";
fontweight="1";
fontfamily="Arial, Helvetica, sans-serif";
align="left";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="/includes/menu/arrow2.gif";
onsubimage="/includes/menu/arrow2_over.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}


with(milonic=new menuname("2")){
style=menuStyle_TopMenu1;
screenposition="center";//center  //left=10;
left="offset=10";//-30
itemheight="20";  //20
top=30;//14
alwaysvisible=1;
orientation="horizontal";
aI("text=<img src='/images/shim.gif' width='5' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='20' height='5' border=0 title=''>;");
aI("text=;url=/about_us/index.aspx;showmenu=2_0;image=/images/layout/ati_nav_about_us_test.gif;overimage=/images/layout/ati_nav_about_us_over_test.gif;");
aI("text=<img src='/images/shim.gif' width='10' height='5' border=0 title=''>;");
aI("text=;url=/about_us/contact_us.aspx;showmenu=3_0;image=/images/layout/contact_us.gif;overimage=/images/layout/contact_us_over.gif;");


} //close menu

with(milonic=new menuname("2_0")){
style=menuStyle_subMenu;
top=50;  //31
overflow="scroll";
aI("text=The Architectural Testing Difference;url=/about_us/ati_difference.aspx;");
aI("text=Careers at Architectural Testing;url=/hr/job_posting_summary.aspx;");
aI("text=Accreditations & Associations;url=/about_us/accreditations.aspx;");
aI("text=Events;url=/events/index.aspx;");
aI("text=News;url=/news/index.aspx;");
aI("text=Education;url=/education/index.aspx;");

} //close menu

//This was removed because of the page centering. The person prior put the "Contact Us" and "About Us" menus on different menu items. I just put them into the same one
// so that they would move together on window resizing.
//with(milonic=new menuname("3")){
//style=menuStyle_TopMenu1;
//screenposition="center";//center  //left=10; //Eric changed the screenpositions to center, but the menus are still moving incorrectly
//left="offset=410";//290
//itemheight="26";  //26
//top=1;
//alwaysvisible=1;
//orientation="horizontal";

//} //close menu

with(milonic=new menuname("3_0")){
style=menuStyle_subMenu;
top=50;  //31
overflow="scroll";
aI("text=Ask Architectural Testing;url=/about_us/ask_ati.aspx;");
aI("text=Contact Us;url=/about_us/contact_us.aspx;");
} //close menu



with(milonic=new menuname("1")){
style=menuStyle_topMenu;

/*screenposition="center";  //left=10;
left="offset=116";*/
screenposition="center";  //left=10;
left="offset=-150";
itemheight=5;
top=72;
alwaysvisible=1;

orientation="horizontal";
aI("text=<img src='/images/shim.gif' width='56' height='10' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='57' height='10' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='57' height='10' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='57' height='10' border=0 title=''>;");
aI("text=<img src='/images/shim.gif' width='35' height='10' border=0 title=''>;");
aI("text=;url=/testing/index.aspx;showmenu=1_0;image=/images/layout/ati_nav_testing.gif;overimage=/images/layout/ati_nav_testing_over.gif;");
aI("text=<img src='/images/shim.gif' width='56' height='10' border=0 title=''>;");  //CHANGED FROM WIDTH 56 TO WIDTH 93
aI("text=;url=/certification/index.aspx;showmenu=1_1;image=/images/layout/ati_nav_certification.gif;overimage=/images/layout/ati_nav_certification_over.gif;");
aI("text=<img src='/images/shim.gif' width='57' height='10' border=0 title=''>;");
// comment the below line to remove professional enginering menu entirely.
//aI("text=;url=/prof_eng/index.aspx;showmenu=1_2;image=/images/layout/ati_nav_prof_eng.gif;overimage=/images/layout/ati_nav_prof_eng_over.gif;");
aI("text=;url=/prof_eng/index.aspx;showmenu=1_2;image=/images/layout/ati_nav_prof_services.gif;overimage=/images/layout/ati_nav_prof_services_over.gif;");
} //close menu

with(milonic=new menuname("1_0")){
style=menuStyle_subMenu;
top=90;  //CHANGED FROM 83
overflow="scroll";
aI("text=Testing Overview;url=/testing/index.aspx;");
aI("text=Acoustical Performance;url=/testing/acoustical_performance.aspx;");
aI("text=Air, Water, Structural Field;url=/testing/aws_field.aspx;");
aI("text=Air, Water, Structural Laboratory ;url=/testing/aws_lab.aspx;");
aI("text=Air, Water, Structural Mockup;url=/testing/aws_mockup.aspx;");
aI("text=Blast;url=/testing/blast.aspx;");
aI("text=Environmental Large-Scale;url=/testing/environment_large-scale.aspx;");
aI("text=Environmental, Small-scale/Durability;url=/testing/environment_small-scale.aspx;");
aI("text=Fire;url=/testing/fire.aspx;");
// moved to professional services
//aI("text=Forensic Services;url=/testing/forensic_services.aspx;");
aI("text=Heat Flow Meter;url=/testing/heat_flow_meter.aspx;");			
aI("text=Insulating Glass;url=/testing/insulating_glass.aspx;");		
aI("text=Impact and Cycling;url=/testing/impact_cycling.aspx;");		
aI("text=Materials Properties;url=/testing/materials_property_testing.aspx;");		
aI("text=Safety Glazing;url=/testing/safety_glazing.aspx;");			
aI("text=Seismic;url=/testing/seismic.aspx;");			
aI("text=Solar Heat Gain;url=/testing/solar_calorimetry.aspx;");
aI("text=Structural Systems;url=/testing/structural_systems.aspx;");
aI("text=Thermal Simulation/Testing;url=/testing/thermal_simulation.aspx;");		
aI("text=Visible Light Transmittance;url=/testing/visible_light_transmittance.aspx;");
} //close menu


with(milonic=new menuname("1_1")){
style=menuStyle_subMenu;
top=90;
overflow="scroll";
//moved to professional services section
//aI("text=Code Compliance Research Reports;url=/certification/code_compliance_research_reports_ccrr.aspx;");
aI("text=Certification Services Overview;url=/certification/index.aspx;");
aI("text=Acoustical Performance Certification;url=/certification/Acoustical_Performance_Certification.aspx;");
aI("text=Cold-formed Steel Framing Code Compliance Certification;url=/certification/ssma.aspx;");
aI("text=Deck and Handrail;url=/certification/deck_and_handrail.aspx;");
aI("text=InstallationMasters;url=/certification/installationMasters.aspx;"); 
aI("text=Quality Assurance;url=/certification/quality_assurance.aspx;");
aI("text=Roof Covering Impact Certification;url=/certification/Roof_Impact.aspx;");
aI("text=Security Fenestration Rating & Certification Program;url=/certification/security_fenestration.aspx;");
aI("text=Supreme Steel Framing System;url=/certification/SSFSA.aspx;");
aI("text=Vinyl Siding;url=/certification/vinyl_siding.aspx;");
aI("text=Vinyl Siding Installer;url=/certification/vinyl_siding_installer.aspx;");
aI("text=Additional Programs and Services;url=/certification/additional_programs.aspx;");


} //close menu

with(milonic=new menuname("1_2")){
style=menuStyle_subMenu;
top=90;
overflow="scroll";
aI("text=Professional Services Overview;url=/prof_eng/index.aspx;");
aI("text=Building Enclosure Commissioning;showmenu=1_2_0;url=/prof_eng/bldg_enc_commissioning.aspx");       //added the showmenu thing
aI("text=Code Compliance Research Reports;url=/certification/code_compliance_research_reports_ccrr.aspx;");
aI("text=Engineering Services;url=/prof_eng/professional_engineering.aspx;");
aI("text=Forensic Services;showmenu=1_2_1;url=/testing/forensic_services.aspx;");                           //added the showmenu thing


//aI("text=Product Analysis;url=/prof_eng/product_analysis.aspx;");
//aI("text=Component Analysis;url=/prof_eng/component_analysis.aspx;");
//aI("text=Design Loads Analysis;url=/prof_eng/design_loads_analysis.aspx;");
//aI("text=Building Codes/Standards Interpretation;url=/prof_eng/building_codes_standards_interpretation.aspx;");
} //close menu

//sub menu for the Building Enclosure Commissioning menu item
with(milonic=new menuname("1_2_0")){
style=menuStyle_subMenu;
top=121;
left="offset=4"
overflow="scroll";
aI("text=Building Enclosure Commissioning;url=/prof_eng/bldg_enc_commissioning.aspx");  
aI("text=Durability and Sustainability;url=/prof_eng/durability_sustainability.aspx;");
aI("text=LEED and Energy Efficiency;url=/prof_eng/LEED_energy_efficiency.aspx");
}//close menu

//sub menu for the Forensic Services menu item
with(milonic=new menuname("1_2_1")){
style=menuStyle_subMenu;
top=171;
left="offset=4"
overflow="scroll";
aI("text=Forensic Services;url=/testing/forensic_services.aspx;");
aI("text=Building Envelope Condition Survey;url=/prof_eng/building_envelope_condition_survey.aspx;");
//aI("text=Litigation Support/Expert Witness;url=/testing/forensic_services.aspx;");
//aI("text=Investigative Services/Testing;url=/testing/forensic_services.aspx;");
}//close menu




drawMenus();
