function mmLoadMenus() {
  if (window.mm_topmenu_home) return;
		
		window.mm_topmenu_home = new Menu("root",140,14,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#330066","#657B8B","left","middle",3,0,1000,-5,7,true,true,true,5,false,true);
		mm_topmenu_home.addMenuItem("Mplus Features","location='/features.shtml'");
		mm_topmenu_home.addMenuItem("Download Mplus Demo","location='/demo.shtml'");
		mm_topmenu_home.hideOnMouseOut=true;
		mm_topmenu_home.bgColor='#330066';
		mm_topmenu_home.menuBorder=1;
		mm_topmenu_home.menuLiteBgColor='#330066';
		mm_topmenu_home.menuBorderBgColor='#330066';


		window.mm_topmenu_CUSTOMERLOGIN = new Menu("root",275,14,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#330066","#657B8B","left","middle",3,0,1000,-5,7,true,true,true,5,true,true);
		mm_topmenu_CUSTOMERLOGIN.hideOnMouseOut=true;
		mm_topmenu_CUSTOMERLOGIN.bgColor='#330066';
		mm_topmenu_CUSTOMERLOGIN.menuBorder=1;
		mm_topmenu_CUSTOMERLOGIN.menuLiteBgColor='#330066';
		mm_topmenu_CUSTOMERLOGIN.menuBorderBgColor='#330066';


		window.mm_topmenu_order = new Menu("root",275,14,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#330066","#657B8B","left","middle",3,0,1000,-5,7,true,true,true,5,true,true);
		mm_topmenu_order.addMenuItem("Mplus Software","location='/orderonline/'");
		mm_topmenu_order.addMenuItem("Mplus User's Guide","location='/orderonline/'");
		mm_topmenu_order.hideOnMouseOut=true;
		mm_topmenu_order.bgColor='#330066';
		mm_topmenu_order.menuBorder=1;
		mm_topmenu_order.menuLiteBgColor='#330066';
		mm_topmenu_order.menuBorderBgColor='#330066';

		window.mm_topmenu_support = new Menu("root",140,14,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#330066","#657B8B","left","middle",3,0,1000,-5,7,true,true,true,5,true,true);
		mm_topmenu_support.addMenuItem("Support Contract","location='/contract.shtml'");
		mm_topmenu_support.addMenuItem("Mplus Updates","location='/support/index.shtml'");
		mm_topmenu_support.hideOnMouseOut=true;
		mm_topmenu_support.bgColor='#330066';
		mm_topmenu_support.menuBorder=1;
		mm_topmenu_support.menuLiteBgColor='#330066';
		mm_topmenu_support.menuBorderBgColor='#330066';

		window.mm_topmenu_contact = new Menu("root",140,14,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#330066","#657B8B","left","middle",3,0,1000,-5,7,true,true,true,5,true,true);
		mm_topmenu_contact.addMenuItem("About Us","location='/company.shtml'");
		mm_topmenu_contact.addMenuItem("Sales Contact","location='/contactus.shtml'");
		mm_topmenu_contact.addMenuItem("Support Contact","location='/support/index.shtml'");
		mm_topmenu_contact.hideOnMouseOut=true;
		mm_topmenu_contact.bgColor='#330066';
		mm_topmenu_contact.menuBorder=1;
		mm_topmenu_contact.menuLiteBgColor='#330066';
		mm_topmenu_contact.menuBorderBgColor='#330066';
		
		window.mm_leftmenu_features = new Menu("root",370,14,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#330066","#657B8B","left","middle",3,0,1000,-5,7,true,true,true,5,true,true);
		mm_leftmenu_features.addMenuItem("Introduction","location='/features.shtml'");
		mm_leftmenu_features.addMenuItem("Modeling with Continuous Latent Variables","location='/features1.shtml'");
		mm_leftmenu_features.addMenuItem("Modeling with Categorical Latent Variables","location='/features2.shtml'");
		mm_leftmenu_features.addMenuItem("Modeling with Both Continuous and Categorical Latent Variables","location='/features3.shtml'");
		mm_leftmenu_features.addMenuItem("Modeling with Complex Survey Data","location='/features4.shtml'");
		mm_leftmenu_features.addMenuItem("Modeling with Missing Data","location='/features5.shtml'");
		mm_leftmenu_features.addMenuItem("Estimators and Algorithms","location='/features6.shtml'");
		mm_leftmenu_features.addMenuItem("Monte Carlo Simulation Capabilities","location='/features7.shtml'");
		mm_leftmenu_features.addMenuItem("Graphics","location='/features8.shtml'");
		mm_leftmenu_features.addMenuItem("Language Generator","location='/features9.shtml'");
		mm_leftmenu_features.hideOnMouseOut=true;
		mm_leftmenu_features.bgColor='#330066';
		mm_leftmenu_features.menuBorder=1;
		mm_leftmenu_features.menuLiteBgColor='#330066';
		mm_leftmenu_features.menuBorderBgColor='#330066';

		window.mm_leftmenu_examples = new Menu("root",230,14,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#330066","#657B8B","left","middle",3,0,1000,-5,7,true,true,true,5,true,true);
		mm_leftmenu_examples.addMenuItem("Continuous Outcome","location='/examples/continuous.shtml'");
		mm_leftmenu_examples.addMenuItem("Categorical Outcome","location='/examples/categorical.shtml'");
		mm_leftmenu_examples.addMenuItem("Mixture Modeling","location='/examples/mixture.shtml'");
		mm_leftmenu_examples.addMenuItem("Genetics Analysis using Mplus","location='/examples/genetics.shtml'");
		mm_leftmenu_examples.addMenuItem("IRT Examples from the User's Guide","location='/examples/irtexamples.shtml'");
		mm_leftmenu_examples.addMenuItem("Applications using Mplus","location='/examples/penn.shtml'");
		mm_leftmenu_examples.addMenuItem("Web Notes","location='/examples/webnote.shtml'");
		mm_leftmenu_examples.hideOnMouseOut=true;
		mm_leftmenu_examples.bgColor='#330066';
		mm_leftmenu_examples.menuBorder=1;
		mm_leftmenu_examples.menuLiteBgColor='#330066';
		mm_leftmenu_examples.menuBorderBgColor='#330066';

		window.mm_leftmenu_programs = new Menu("root",275,14,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#330066","#657B8B","left","middle",3,0,1000,-5,7,true,true,true,5,true,true);
		mm_leftmenu_programs.addMenuItem("Mplus Base Program","location='/programs.shtml#Base'");
		mm_leftmenu_programs.addMenuItem("Mplus Base Program and Mixture Add-On","location='/programs.shtml#Mixture'");
		mm_leftmenu_programs.addMenuItem("Mplus Base Program and Multilevel Add-On","location='/programs.shtml#Multilevel'");
		mm_leftmenu_programs.addMenuItem("Mplus Base Program and Combination Add-On","location='/programs.shtml#Combination'");
		mm_leftmenu_programs.hideOnMouseOut=true;
		mm_leftmenu_programs.bgColor='#330066';
		mm_leftmenu_programs.menuBorder=1;
		mm_leftmenu_programs.menuLiteBgColor='#330066';
		mm_leftmenu_programs.menuBorderBgColor='#330066';

		mm_topmenu_home.writeMenus();
}

