function onLoad() {
//this is for Navigator.
window.onResize = onLoad;
		loadMenus();
}

function loadMenus() {
   
//News Section
    window.news = new Menu("news");
    news.addMenuItem("News Menu Testing", "location='/news/testing.html'");
    news.addMenuItem("Press Releases", "location='/news/index.html'");
    news.addMenuItem("EFI in the News", "location='/news/efi_news.html'");
    news.addMenuItem("Archive 2000", "location='/news/archive2000.html'");
    news.addMenuItem("Archive 1999", "location='/news/archive1999.html'");
    news.addMenuItem("Archive 1998", "location='/news/archive1998.html'");
    news.addMenuItem("Archive - Splash", "location='/news/splash_archive.html'"); 
//    news.addMenuItem("Foreign Translation", "location='http://www.adcomms.co.uk/scripts/ADC.exe/press/clientpages/efi.qry?function=Search&Start=1'");
news.addMenuItem("Foreign Translation", "location='/news/foreign.html'");
				news.menuItemWidth = 130;
				news.menuItemHeight = 15;
    news.disableDrag = true;

//Products Section

//The first item Print Controllers of Products section

    window.EDOX = new Menu("EDOX");
    EDOX.addMenuItem("EDOX 99", "location='/products/edox99.html'");
    EDOX.addMenuItem("EDOX 2000", "location='/products/edox2000.html'");
				EDOX.menuItemWidth = 100;
				EDOX.menuItemHeight = 15;

    window.Fiery = new Menu("Fiery");
    Fiery.addMenuItem("Fiery X3", "location='/products/fiery_x3.html'");
    Fiery.addMenuItem("Fiery X3e", "location='/products/fiery_x3e.html'");
    Fiery.addMenuItem("Fiery X4", "location='/products/fiery_x4.html'");
    Fiery.addMenuItem("Fiery Z4", "location='/products/fiery_z4.html'");
    Fiery.addMenuItem("Fiery Z16", "location='/products/fiery_z16.html'");
    Fiery.addMenuItem("Fiery Z5", "location='/products/fiery_z5.html'");
    Fiery.addMenuItem("Fiery Z18", "location='/products/fiery_z18.html'");
				Fiery.menuItemWidth = 87;
				Fiery.menuItemHeight = 15;

    window.Splash = new Menu("Splash");
    Splash.addMenuItem("G 620", "location='/products/'");
    Splash.addMenuItem("G 710", "location='/products/'");
    Splash.addMenuItem("PCI 3000S", "location='/products/'");
				Splash.menuItemWidth = 90;
				Splash.menuItemHeight = 15;

    window.printcontrollers = new Menu("Print Controllers");
    printcontrollers.addMenuItem(EDOX);
    printcontrollers.addMenuItem(Fiery);
    printcontrollers.addMenuItem(Splash);
				printcontrollers.menuItemWidth = 100;
				printcontrollers.menuItemHeight = 15; 
			
//The item Software of Products section
    window.software = new Menu("Software");
    software.addMenuItem("Velocity Workflow Software", "location='/products/'");
    software.addMenuItem("Harmony SDK", "location='/products/'");
    software.addMenuItem("Fiery Spark Software RIP", "location='/products/'");
				software.menuItemWidth = 180;
				software.menuItemHeight = 15; 

//The item Market Solutions of Products section
    window.solutions = new Menu("Market Solutions");
    solutions.addMenuItem("Overview", "location='/products/index.html'");
    solutions.addMenuItem("Mobile Professionals", "location='/products/'");
    solutions.addMenuItem("Business Centers", "location='/products/'");
    solutions.addMenuItem("Corporate Printing Departments", "location='/products/'");
    solutions.addMenuItem("Marketing Departments", "location='/products/'");
    solutions.addMenuItem("Graphic Designers", "location='/products/'");
    solutions.addMenuItem("Copy Shops", "location='/products/'");
    solutions.addMenuItem("Quick Printers", "location='/products/'");
    solutions.addMenuItem("Commercial Printers", "location='/products/'");
				solutions.menuItemWidth = 200;
				solutions.menuItemHeight = 15; 

//The end of Market Solutions section

    window.products = new Menu("products");
    products.addMenuItem("Overview", "location='/products/index.html'");
    products.addMenuItem(printcontrollers, "location='/products/controller_overview.html'");
    products.addMenuItem(software);
//  products.addMenuItem("SkySpool", "location='/products/skyspool.html'");
    products.addMenuItem("eBeam", "location='/products/ebeam.html'");
    products.addMenuItem(solutions, "location='/products/solutions_overview.html'");
				products.menuItemWidth = 120;
				products.menuItemHeight = 15;
    products.disableDrag = true;

//Services Section
    window.academy = new Menu("EFI Academy");
    academy.addMenuItem("Courses & Fees", "location='/services/'");
    academy.addMenuItem("Schedule - CA", "location='/services/'");
    academy.addMenuItem("Schedule - NJ", "location='/services/'");
    academy.addMenuItem("Registration Form", "location='/services/'");
    academy.addMenuItem("Travel Information", "location='/services/'");
				academy.menuItemWidth = 125;
				academy.menuItemHeight = 15;
    academy.disableDrag = true;

    window.training = new Menu("Training");
    training.addMenuItem(academy, "location='/services/'");
    training.addMenuItem("EFI Onsite", "location='/services/onsite.html'");
				training.menuItemWidth = 100;
				training.menuItemHeight = 15;
    training.disableDrag = true;

    window.dir_support = new Menu("Direct Support");
    dir_support.addMenuItem("Contact Form", "location='/services/contact_form.html'");
				dir_support.menuItemWidth = 100;
				dir_support.menuItemHeight = 15;
    dir_support.disableDrag = true;

    window.services = new Menu("services");
    services.addMenuItem("Overview", "location='/services/index.html'");
    services.addMenuItem(training, "location='/services/'");
    services.addMenuItem("Consulting", "location='/services/consulting.html'");
    services.addMenuItem(dir_support, "location='/services/direct_support'");
				services.menuItemWidth = 110;
				services.menuItemHeight = 15;
    services.disableDrag = true;

//Support Section 
				window.support = new Menu("support");
    support.addMenuItem("Drivers", "location='/support/license.html'");
    support.addMenuItem("FAQ's", "location='/support/faq.html'");
				support.menuItemWidth = 80;
				support.menuItemHeight = 15;
    support.disableDrag = true;

//Studio Section 
				window.studio = new Menu("studio");
    studio.addMenuItem("Overview", "location='/studio/index.html'");
    studio.addMenuItem("Calendars", "location='/studio/calendars.html'");
    studio.addMenuItem("CD Covers", "location='/studio/cd_covers.html'");
    studio.addMenuItem("PowerPoint Templates", "location='/studio/ppt_templates.html'");
    studio.addMenuItem("Test", "location='/studio/test.html'");
				studio.menuItemWidth = 142;
				studio.menuItemHeight = 15;
    studio.disableDrag = true;
    studio.writeMenus();
}
