/*
 * home page menu definitions
 * copyright (c) 2008 Syncopation Software Inc.
 * www.syncopation.com
 */

/* Define the menus
   Don't forget to change LoadMenusSubdir as well
*/

function LoadMenus() 
{
  window.m1=new Menu();
  m1.addMenuItem("DPL Standard", "location='dpl_standard.html'");
  m1.addMenuItem("DPL Professional", "location='dpl_professional.html'");
  m1.addMenuItem("DPL Enterprise", "location='dpl_enterprise.html'");
  m1.addMenuItem("DPL Portfolio", "location='dpl_portfolio.html'");
  m1.addMenuItem("Version Comparison", "location='dpl_versions.html'");
  m1.addMenuItem("Section 508", "location='section_508.html'");
  m1.addMenuItem("Overview", "location='products.html'");
  FormatMenu(window.m1);
  m1.menuWidth=113;

  window.m2=new Menu();
  m2.addMenuItem("Order DPL", "location='buynow.html'");
  m2.addMenuItem("Academic Orders", "location='buynowacad.html'");
  m2.addMenuItem("Ordering FAQ", "location='buyonlinefaq.html'");
  FormatMenu(window.m2);

  window.m3=new Menu();
  m3.addMenuItem("Case Studies", "location='casestudies.html'");
  m3.addMenuItem("Consulting Partners", "location='partners.html'");
  m3.addMenuItem("User Forums", "location='forums/viewforum.php?f=8'");
  FormatMenu(window.m3);

  window.m4=new Menu();
  m4.addMenuItem("Tech Support", "location='techsupport.html'");
  m4.addMenuItem("Register", "location='register/index.html'");
  m4.addMenuItem("Downloads", "location='downloads.html'");
  m4.addMenuItem("Technical Notes", "location='technicalnotes.html'");
  m4.addMenuItem("Technical FAQ", "location='faqs.html'");
  m4.addMenuItem("Overview", "location='support.html'");
  FormatMenu(window.m4);

  window.m5=new Menu();
  m5.addMenuItem("Schedule", "location='training_schedule.html'");
  m5.addMenuItem("Workshops", "location='coursedescriptions.html'");
  m5.addMenuItem("Web Sessions", "location='websessions.html'");
  m5.addMenuItem("Sign Up", "location='seminar/reg_training.html'");
  m5.addMenuItem("Overview", "location='training.html'");
  FormatMenu(window.m5);

  window.m6=new Menu();
  m6.addMenuItem("About Us", "location='companyinformation.html'");
  m6.addMenuItem("Our Customers", "location='customers.html'");
  m6.addMenuItem("Our Staff", "location='staff.html'");
  m6.addMenuItem("Contact Us", "location='contacts.html'");
  FormatMenu(window.m6);
  m6.menuWidth=113;
 
  m6.writeMenus();
}

/* As above but with ../ for pages one level deep
*/

function LoadMenusSubdir() 
{
  window.m1=new Menu();
  m1.addMenuItem("DPL Standard", "location='../dpl_standard.html'");
  m1.addMenuItem("DPL Professional", "location='../dpl_professional.html'");
  m1.addMenuItem("DPL Enterprise", "location='../dpl_enterprise.html'");
  m1.addMenuItem("DPL Portfolio", "location='../dpl_portfolio.html'");
  m1.addMenuItem("Version Comparison", "location='../dpl_versions.html'");
  m1.addMenuItem("Section 508", "location='../section_508.html'");
  m1.addMenuItem("Overview", "location='../products.html'");
  FormatMenu(window.m1);
  m1.menuWidth=113;

  window.m2=new Menu();
  m2.addMenuItem("Order DPL", "location='../buynow.html'");
  m2.addMenuItem("Academic Orders", "location='../buynowacad.html'");
  m2.addMenuItem("Ordering FAQ", "location='../buyonlinefaq.html'");
  FormatMenu(window.m2);

  window.m3=new Menu();
  m3.addMenuItem("Case Studies", "location='../casestudies.html'");
  m3.addMenuItem("Consulting Partners", "location='../partners.html'");
  m3.addMenuItem("User Forums", "location='../forums/viewforum.php?f=8'");
  FormatMenu(window.m3);

  window.m4=new Menu();
  m4.addMenuItem("Tech Support", "location='../techsupport.html'");
  m4.addMenuItem("Register", "location='../register/index.html'");
  m4.addMenuItem("Downloads", "location='../downloads.html'");
  m4.addMenuItem("Technical Notes", "location='../technicalnotes.html'");
  m4.addMenuItem("Technical FAQ", "location='../faqs.html'");
  m4.addMenuItem("Overview", "location='../support.html'");
  FormatMenu(window.m4);

  window.m5=new Menu();
  m5.addMenuItem("Schedule", "location='../training_schedule.html'");
  m5.addMenuItem("Workshops", "location='../coursedescriptions.html'");
  m5.addMenuItem("Web Sessions", "location='../websessions.html'");
  m5.addMenuItem("Sign Up", "location='../seminar/reg_training.html'");
  m5.addMenuItem("Overview", "location='../training.html'");
  FormatMenu(window.m5);

  window.m6=new Menu();
  m6.addMenuItem("About Us", "location='../companyinformation.html'");
  m6.addMenuItem("Our Customers", "location='../customers.html'");
  m6.addMenuItem("Our Staff", "location='../staff.html'");
  m6.addMenuItem("Contact Us", "location='../contacts.html'");
  FormatMenu(window.m6);
  m6.menuWidth=113;
 
  m6.writeMenus();
}

function FormatMenu(m) 
{
  m.menuWidth=103;
  m.menuItemHeight=20;
  m.fontSize=11;
  m.fontFamily="arial";

	m.bgColor="rgb(243, 211, 17)";
  m.fontColor="#000000";
	m.fontColorHilite = "#FFFFFF";
  m.menuBorderBgColor="#FFFFFF";
	m.menuContainerBgColor = "rgb(247, 227, 102)";
	m.menuHiliteBgColor="rgb(187, 45, 63)";
  m.menuItemBgColor="rgb(247, 227, 102)";
  m.menuLiteBgColor="rgb(250, 237, 156)";

  m.menuBorder=2;
  m.menuItemBorder=0;

	m.menuItemSpacing=0;
  m.vertical=true;
  m.submenuRelativeToItem=true;
	m.menuBgOpaque=true;
  m.hideOnMouseOut=true;
	m.menuItemHAlign="left";
  m.menuItemVAlign="middle";
  m.menuItemPadding=3;
  m.submenuXOffset=10;
	m.submenuYOffset=10;
  m.menuItemIndent=0;
  m.hideTimeout=500;
}
