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=2;
_subOffsetLeft=-2;


with(menuStyle=new mm_style()){
bordercolor="#ffffff";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#808080";
offcolor="#ffffff";
onbgcolor="#ffffff";
oncolor="#000000";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=95);Shadow(color=#777777', Direction=135, Strength=5)";
padding=5;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#ffffff";
separatorsize=1;
subimage="/inserts/arrow.gif";
subimagepadding=2;
imagealign='left';
imageborderwidth="0";
}


//-------------------------------------------
//MAIN MENU ITEMS
//-------------------------------------------

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=10;
overflow="scroll";
style=menuStyle;
top=10;
aI("showmenu=Premium Content;subimageposition=0                             ;text=Premium Content;url=/premium_content.shtml;");
aI("showmenu=Online Store;subimageposition=0                             ;text=Online Store;url=/cheplusstore/catalogue.php;");
aI("subimageposition=0                             				;text=Online Job Service;url=http://www.careerbuilder.com/JobSeeker/Jobs/JobResults.aspx?strcrit=rawWords%3dchemical+engineer%3bcty%3d%3bsid%3dALL%2c+US%3bcid%3dUS%3bfre%3d30%3bJN%3dJN004%3bETD%3dJTFT%3b&lr=CBCHER&siteid=CHERcs&cbRecursionCnt=1&cbsid=7d7da43a9ea24229aa40ac955891ef0b-201211862-X6-2;target=_blank;");
aI("showmenu=Energy;subimageposition=0                             ;text=Energy's Future;url=/energy_future_1.shtml;");
aI("showmenu=Free Articles;subimageposition=0                             ;text=Free Articles;url=/free_articles.shtml;");
aI("showmenu=Free Software;subimageposition=0                             ;text=Free Software;");
aI("showmenu=Newsletters;subimageposition=0                             ;text=Newsletters;");
aI("showmenu=Tech Q & A;subimageposition=0                             ;text=Tech Q & A;url=/questions/index.php;");
aI("showmenu=Message Board;subimageposition=0                             ;text=Message Board;");
aI("showmenu=Link Directories;subimageposition=0                             ;text=Link Directories;");
aI("subimageposition=0                             ;text=Physical Properties;url=/physinternetzz.shtml;");
aI("subimageposition=0                             ;text=Submit Article;url=/submit.shtml;");
aI("subimageposition=0                             ;text=Other Resources;url=/other_resources.shtml;");
aI("subimageposition=0                             ;text=Free Publications;url=http://cheresources.tradepub.com/;");
aI("subimageposition=0                             ;text=Advertise With Us;url=/adzz.shtml;");
aI("subimageposition=0                             ;text=Contact Us;url=/suggestzz.shtml;");
aI("subimageposition=0                             ;text=Homepage;url=/indexzz.shtml;");
aI("subimageposition=0                             ;text=Search Site;url=/search.shtml;");
aI("subimageposition=0;offbgcolor=#20538F	   ;text=<img src=/inserts/m_9.gif border=0> Community Activity;");
aI("subimageposition=0          ;text=<img src=/inserts/m_9.gif border=0> Blog Postings;url=http://www.cheresources.com/invision/index.php?/blogs/;");
aI("subimageposition=0          ;text=<img src=/inserts/m_9.gif border=0> Community Topics;url=http://www.cheresources.com/invision/;");
aI("subimageposition=0          ;text=<img src=/inserts/m_9.gif border=0> Status Updates;url=http://www.cheresources.com/invision/index.php?/statuses/all/;");
aI("subimageposition=0          ;text=<img src=/inserts/m_9.gif border=0> Facebook-Like Us;url=http://www.facebook.com/pages/Cheresourcescom/178880938800395?v=wall;");
}

//------------------------------------------
//SUB-MENU DEFINITIONS
//------------------------------------------

with(milonic=new menuname("Premium Content")){
style=menuStyle;
overflow="scroll";
aI("subimageposition=0                             ;text=<img src=/inserts/m_1.gif border=0> Login;url=/cheplus/cheplusintro1.shtml;");
aI("subimageposition=0                             ;text=Forgot Password;url=/amember/login.php;");
aI("subimageposition=0                             ;text=Signup;url=/amember/signup.php;");
aI("subimageposition=0                             ;text=Learn More;url=/cheplusdetail.shtml;");
}

with(milonic=new menuname("Online Store")){
style=menuStyle;
aI("subimageposition=0                             ;text=<img src=/inserts/m_2.gif border=0> Bulk Solids;url=/invision/store/category/6-bulk-solids/;");
aI("showmenu=Fluid Flow;subimageposition=0         ;text=<img src=/inserts/m_2.gif border=0> Fluid Flow;url=/invision/store/category/7-fluid-flow/;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_2.gif border=0> Heat Transfer;url=/invision/store/category/13-heat-transfer/;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_2.gif border=0> Mechanical Design;url=/invision/store/category/15-mechanical-design/;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_2.gif border=0> Equipment Spec Sheets;url=/invision/store/category/16-equipment-spec-sheets/;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_2.gif border=0> Physical Properties;url=/invision/store/category/17-physical-properties/;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_2.gif border=0> Training Material;url=/invision/store/category/14-maintenance-training/");
aI("subimageposition=0                             ;text=<img src=/inserts/m_2.gif border=0> Other Tools;url=/invision/store/category/19-other-tools/;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_2.gif border=0> Tank Volumes;url=/invision/store/category/20-tank-volumes/;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_2.gif border=0> Safety Design and Venting;url=/invision/store/category/21-safety-design-and-venting/;");
}

//--------------------------------------
//BREAK TO IDENTIFY LEVEL 3 STORE MENUS
//--------------------------------------

with(milonic=new menuname("Fluid Flow")){
style=menuStyle;
aI("subimageposition=0                             ;text=Pipes;url=/invision/store/category/8-pipes/");
aI("subimageposition=0                             ;text=Ducts;url=/invision/store/category/9-ducts/;");
aI("subimageposition=0                             ;text=Orifices;url=/invision/store/category/10-orifices/;");
aI("subimageposition=0                             ;text=Valves;url=/invision/store/category/11-valves/;");
aI("subimageposition=0                             ;text=Other;url=/invision/store/category/12-other/;");
}



//------------------------------------------
//BACK TO SUB-MENU DEFINITIONS
//------------------------------------------


with(milonic=new menuname("Energy")){
style=menuStyle;
aI("subimageposition=0                             ;text=<img src=/inserts/m_3.gif border=0> Launching Energy's Future;url=/energy_future_1.shtml;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_3.gif border=0> Articles on Energy's Future;url=/energy_future/energy_future_articles.shtml;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_6.gif border=0> Energy's Future Forums;url=/invision/index.php?s=121ba1aae94d32ce4e0c0e6cb0df4fa0&showforum=26;target=_blank;");
}

with(milonic=new menuname("Free Articles")){
style=menuStyle;
aI("subimageposition=0                             ;text=<img src=/inserts/m_3.gif border=0> Newly Released;url=/new_releases.shtml;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_3.gif border=0> Popular Titles;url=/popular_titles.shtml;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_3.gif border=0> Process Engineering;url=/process_engineering.shtml;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_3.gif border=0> Process Design;url=/process_design.shtml;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_3.gif border=0> Process Safety;url=/process_safety/process_safety_articles.shtml;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_3.gif border=0> Asset Management;url=/asset_management/asset_management_articles.shtml;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_3.gif border=0> CPI Business;url=/business.shtml;");
aI("subimageposition=0     			 	   ;text=<img src=/inserts/m_3.gif border=0> Pressure Relief Design;url=/asiseeit.shtml;");
aI("subimageposition=0  				   ;text=<img src=/inserts/m_3.gif border=0> Just for Students;url=/just_for_students.shtml;");
}

with(milonic=new menuname("Free Software")){
style=menuStyle;
aI("subimageposition=0                             ;text=<img src=/inserts/m_4.gif border=0> Software Library;url=/software.shtml;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_4.gif border=0> Online Calculators;url=/onlinecalc.shtml;");
}

with(milonic=new menuname("Newsletters")){
style=menuStyle;
aI("subimageposition=0                             ;text=<img src=/inserts/m_5.gif border=0> Sign Up;url=/newsletter.shtml;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_5.gif border=0> Latest Site Updates;url=/invision/index.php?showforum=36;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_5.gif border=0> Latest Chemical Industry News;url=/invision/blog/blog-17/cat-14-chexpress-blog;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_5.gif border=0> Newsletter Archives;url=/newsletter.shtml#list;");
}

with(milonic=new menuname("Tech Q & A")){
style=menuStyle;
aI("subimageposition=0                             ;text=<img src=/inserts/m_8.gif border=0> Bulk Solids;url=/questions/bulk_solids.html;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_8.gif border=0> Outside the Plant;url=/questions/che_outside_the_plant.html;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_8.gif border=0> Chemical Process Business;url=/questions/chemical_process_business.html;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_8.gif border=0> Chemistry Basics;url=/questions/chemistry_basics.html;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_8.gif border=0> Corrosion;url=/questions/corrosion.html;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_8.gif border=0> Equipment Design;url=/questions/equipment_design.html;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_8.gif border=0> Experimentation;url=/questions/experimentation_and_testing.html;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_8.gif border=0> Fluid Dynamics;url=/questions/fluid_dynamics.html;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_8.gif border=0> Heat Transfer;url=/questions/heat_transfer_technology.html;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_8.gif border=0> Industrial Utilities;url=/questions/industrial_utilities.html;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_8.gif border=0> Mass Transfer;url=/questions/mass_transfer.html;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_8.gif border=0> Physical Properties;url=/questions/physical_property_information.html;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_8.gif border=0> Plant Basics;url=/questions/plant_basics.html;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_8.gif border=0> Plant Economics;url=/questions/plant_economics.html;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_8.gif border=0> Young Engineers;url=/questions/preparing_to_become_an_engineer.html;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_8.gif border=0> Process Control;url=/questions/process_control.html;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_8.gif border=0> Reactions and Processes;url=/questions/reactions_and_processes.html;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_8.gif border=0> Refining;url=/questions/refining.html;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_8.gif border=0> Safety;url=/questions/safety.html;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_8.gif border=0> Separation Technology;url=/questions/separation_technology.html;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_8.gif border=0> The Environment;url=/questions/the_environment.html;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_8.gif border=0> Thermodynamics;url=/questions/thermodynamics.html;");
}


with(milonic=new menuname("Message Board")){
style=menuStyle;
aI("subimageposition=0                             ;text=Register;url=/invision/index.php?s=65e3e5aa15a85feb67497115b51e4910&act=Reg&CODE=00;target=_blank;");
aI("subimageposition=0                             ;text=Log In;url=/invision/index.php?s=65e3e5aa15a85feb67497115b51e4910&act=Login&CODE=00;target=_blank;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_6.gif border=0> Professional Forum;url=/invision/index.php?s=65e3e5aa15a85feb67497115b51e4910&showforum=3;target=_blank;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_6.gif border=0> Refining, Hydrocarbons, Oil, and Gas Forum;url=/invision/index.php?showforum=33;target=_blank;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_6.gif border=0> Chemical Process Simulation;url=/invision/index.php?showforum=34;target=_blank;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_6.gif border=0> Student Forum;url=/invision/index.php?s=65e3e5aa15a85feb67497115b51e4910&showforum=2;target=_blank;");
aI("showmenu=Energy Future;subimageposition=0         ;text=<img src=/inserts/m_6.gif border=0> Energy's Future;url=/invision/index.php?s=121ba1aae94d32ce4e0c0e6cb0df4fa0&showforum=26;target=_blank;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_6.gif border=0> Relief Device Forum;url=/invision/index.php?s=65e3e5aa15a85feb67497115b51e4910&showforum=4;target=_blank;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_6.gif border=0> Chemical Processing Safety Forum;url=/invision/index.php?s=65e3e5aa15a85feb67497115b51e4910&showforum=9;target=_blank;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_6.gif border=0> Refinery Planning and Optimization Forum;url=/invision/index.php?showforum=21;target=_blank;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_6.gif border=0> Tank Blanketing and Venting;url=/invision/index.php?showforum=23;target=_blank;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_6.gif border=0> Spanish Forums;url=/invision/index.php;target=_blank;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_6.gif border=0> Search All Forums;url=/invision/index.php?act=Search&f=9;target=_blank;");
aI("subimageposition=0                             ;text=Recommend Another Forum Topic;url=/suggestzz.shtml;");
}

//--------------------------------------
//BREAK TO IDENTIFY LEVEL 3 MESSAGE BOARD MENU
//--------------------------------------
with(milonic=new menuname("Energy Future")){
style=menuStyle;
aI("subimageposition=0                             ;text=<img src=/inserts/m_6.gif border=0> Overall Views;url=/invision/index.php?showforum=27;target=_blank;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_6.gif border=0> Power Industry;url=/invision/index.php?showforum=28;target=_blank;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_6.gif border=0> Transportation Technologies;url=/invision/index.php?showforum=29;target=_blank;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_6.gif border=0> All Things Ethanol;url=/invision/index.php?showforum=30;target=_blank;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_6.gif border=0> Biorefineries vs. Petrochemicals;url=/invision/index.php?showforum=31;target=_blank;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_6.gif border=0> Free for All;url=/invision/index.php?showforum=32;target=_blank;");
}

//------------------------------------------
//BACK TO SUB-MENU DEFINITIONS
//------------------------------------------




with(milonic=new menuname("Link Directories")){
style=menuStyle;
aI("subimageposition=0                             ;text=<img src=/inserts/m_7.gif border=0> ChE Links from Dr. Spang;url=/chelinks/index.shtml;");
aI("subimageposition=0                             ;text=<img src=/inserts/m_7.gif border=0> Link Partners Directory;url=/other/chepartners.shtml;");
}


drawMenus();


