/*******************************************************************************
 vim:ts=8:sw=8:noexpandtab:tw=80
 Filename	:	$URL: http://www.gsconsulting.biz/svn/mitech/branches/stable/js/pop_data.js $
 Created By	:	Greg Symons
 Created On	:	2004-08-27 11:18:38 -0400 (Fri, 27 Aug 2004)
 Revised On	:	$Date: 2004-09-21 20:53:45 -0400 (Tue, 21 Sep 2004) $
 Revised By	:	$Author: gsymons $
 Revision	: 	$Rev: 24 $
 Description	: This file contains the definitions for the popup menus

*******************************************************************************/

//root menu bar style
var hBar = new ItemStyle(100, 0, '', 0, 0, '#294d59', '#507c98', 'menuText', 'menuText', '', '',
 null, null, 'hand', 'default');
//submenu style
var subM = new ItemStyle(23, 0, '&gt;', -15, 3, '#294d59', '#507c98', 'subMenuText', 'subMenuText',
 '', '', null, null, 'hand', 'default');

// Create a PopupMenu() object, and pass its own name so it can reference itself later on.
// We also use a 'with' block to work with its properties and functions below.
var pMenu = new PopupMenu('pMenu');
with (pMenu)
{
	startMenu('root', false, 30, 99, 21, hBar, 'header', false);
	addItem('Home', './inside.php', 'top.mainframe', null);
	addItem('About Us', './aboutus.php', 'top.mainframe', null);
	addItem('Products', 'mProducts', 'sm:', null);
	addItem('Services', './services.php', 'top.mainframe', null);
	addItem('Contact', './contact-us.php', 'top.mainframe', null);


	// This is a vertical menu positioned 0px across and 22px down from its trigger, and is 80px wide.
	// The URLs are set to # here, be sure to replace them with your path/file names or JS functions!
	// Also note how the types are '', indicating these links open in the current frame/window.
	// The last item here changes its text on mouseover (^ separates the two strings), links to my site,
	// and has a custom ItemStyle and length specified so it's longer than the rest.

	startMenu('mProducts', true, 0, 'mainframe.page.scrollY()', 100, subM, 'mainframe', false);
	addItem('Rackmounts', './rackmounts.php', 'top.mainframe', null);
	addItem('Panel PC', './panelpc.php', 'top.mainframe', null);
	addItem('Embedded', './embedded.php', 'top.mainframe', null);
	addItem('Peripherals', './peripherals.php', 'top.mainframe', null);
}
