// Initialize WebDDM
function initWebDDM ()
{
	// Begin base menu
	var menu = {
		'position':'relative',
		'top':0,
		'left':0,
		'width':100,
		'height':18,
		'expand_menu':'auto',

		'items':{
			'top':1,
			'left':0,

			'background-item':{                //top menu buttons
				'width':290, 'height':18,
				'left': 0, 'top': 0,
				'class':'bg'
			},
				
			/* alphaTrans settings */
			'alphaTrans':{
				'delta':10,
				'delay':0
			},
//COMPANIES
			1:{
				'content':'<a href="#" class="top">COMPANIES</a>',
				'content_menuopen':'<a href="#" class="top">COMPANIES</a>',
				'width':80, 'height':18,
				'offsetLeft':10,
				'class':'win9x_off',
				'class_menuopen':'top',

				'items':{
					'top':18,        //sub menu space from top buttons
					'left':0,

					'background-item':{
						'width':167, 'height':120,
						'left':-11, 'top': 2,
						'class':'container'
					},
				
					/* alphaTrans settings */
					'alphaTrans':{
						'delta':5,
						'delay':10,
						'maxOpacity':80,
						'direction':'in'
					},
			
					1:{
						'content':'<a href="mot.php" class="menu">&nbsp;<img src="pics/menudot.gif" width=9 height=9 border=0 alt="">&nbsp;&nbsp; Maynards Office&nbsp;Technology</a>',
						'cursor':'hand',
						'width':165, 'height':18,
						'offsetLeft':1, 'offsetTop':1,
						'class':'win9x_off',
						'class_rollover':'win9x_rollover'
					},
					2:{
						'content':'<a href="beleasing.php" class="menu">&nbsp;<img src="pics/menudot.gif" width=9 height=9 border=0 alt="">&nbsp;&nbsp; B E Leasing</a>',
						'cursor':'hand',
						'width':165, 'height':18,
						'offsetTop':20,
						'class':'win9x_off',
						'class_rollover':'win9x_rollover'
					},
					3:{
						'content':'<a href="eco.php" class="menu">&nbsp;<img src="pics/menudot.gif" width=9 height=9 border=0 alt="">&nbsp;&nbsp; Eco Time Technology</a>',
						'cursor':'hand',
						'width':165, 'height':18,
						'offsetTop':20,
						'class':'win9x_off',
						'class_rollover':'win9x_rollover'
					},
					4:{
						'content':'<a href="admin.php" class="menu">&nbsp;<img src="pics/menudot.gif" width=9 height=9 border=0 alt="">&nbsp;&nbsp; Group Administration</a>',
						'cursor':'hand',
						'width':165, 'height':18,
						'offsetTop':20,
						'class':'win9x_off',
						'class_rollover':'win9x_rollover'
					},
					
					5:{
						'content':'<a href="stationers.php" class="menu">&nbsp;<img src="pics/menudot.gif" width=9 height=9 border=0 alt="">&nbsp;&nbsp; Maynards Stationers</a>',
						'cursor':'hand',
						'width':165, 'height':18,
						'offsetTop':20,
						'class':'win9x_off',
						'class_rollover':'win9x_rollover'
					},
					
					6:{
						'content':'<a href="tech.php" class="menu">&nbsp;<img src="pics/menudot.gif" width=9 height=9 border=0 alt="">&nbsp;&nbsp; Technical Services</a>',
						'cursor':'hand',
						'width':165, 'height':18,
						'offsetTop':20,
						'class':'win9x_off',
						'class_rollover':'win9x_rollover'
					}
					
					
					
				}
			},
//PRODUCTS
			2:{
				'content':'<a href="#" class="top">PRODUCTS</a>',
				'content_menuopen':'<a href="#" class="top">PRODUCTS</a>',
				'width':80, 'height':18,
				'offsetLeft':109,
				'class':'win9x_off',
				'class_menuopen':'win9x_rollover',

				'items':{
					'top':18,
					'left':0,

					'background-item':{
						'width':152, 'height':200,
						'left':-16, 'top': 2,
						'class':'container'
					},
				
					/* alphaTrans settings */
					'alphaTrans':{
						'delta':5,
						'delay':10,
						'maxOpacity':65,
						'direction':'in'
					},

					1:{
						'content':'<a href="icsa.php" class="menu">&nbsp;<img src="pics/menudot.gif" width=9 height=9 border=0 alt="">&nbsp;&nbsp; Copiers</a>',
						'cursor':'hand',
						'width':150, 'height':18,
						'offsetLeft':1, 'offsetTop':1,
						'class':'win9x_off',
						'class_rollover':'win9x_rollover'
					},
					2:{
						'content':'<a href="olympus.php" class="menu">&nbsp;<img src="pics/menudot.gif" width=9 height=9 border=0 alt="">&nbsp;&nbsp; Dictation</a>',
						'cursor':'hand',
						'width':150, 'height':18,
						'offsetTop':20,
						'class':'win9x_off',
						'class_rollover':'win9x_rollover'
					},
					3:{
						'content':'<a href="olympus.php" class="menu">&nbsp;<img src="pics/menudot.gif" width=9 height=9 border=0 alt="">&nbsp;&nbsp; Digital Voice&nbsp;Processing</a>',
						'cursor':'hand',
						'width':150, 'height':18,
						'offsetTop':20,
						'class':'win9x_off',
						'class_rollover':'win9x_rollover'
					},
					4:{
						'content':'<a href="brother.php" class="menu">&nbsp;<img src="pics/menudot.gif" width=9 height=9 border=0 alt="">&nbsp;&nbsp; Faxes</a>',
						'cursor':'hand',
						'width':150, 'height':18,
						'offsetTop':20,
						'class':'win9x_off',
						'class_rollover':'win9x_rollover'
					},
					5:{
						'content':'<a href="brother.php" class="menu">&nbsp;<img src="pics/menudot.gif" width=9 height=9 border=0 alt="">&nbsp;&nbsp; Printers</a>',
						'cursor':'hand',
						'width':150, 'height':18,
						'offsetTop':20,
						'class':'win9x_off',
						'class_rollover':'win9x_rollover'
					},
					
					6:{
						'content':'<a href="brother2.php" class="menu">&nbsp;<img src="pics/menudot.gif" width=9 height=9 border=0 alt="">&nbsp;&nbsp; P-touch Labelling</a>',
						'cursor':'hand',
						'width':150, 'height':18,
						'offsetTop':20,
						'class':'win9x_off',
						'class_rollover':'win9x_rollover'
					},
					
						7:{
						'content':'<a href="eco.php" class="menu">&nbsp;<img src="pics/menudot.gif" width=9 height=9 border=0 alt="">&nbsp;&nbsp; Time &amp; Attendance</a>',
						'cursor':'hand',
						'width':150, 'height':18,
						'offsetTop':20,
						'class':'win9x_off',
						'class_rollover':'win9x_rollover'
					},
					
					
						8:{
						'content':'<a href="ideal.php" class="menu">&nbsp;<img src="pics/menudot.gif" width=9 height=9 border=0 alt="">&nbsp;&nbsp; Shredders</a>',
						'cursor':'hand',
						'width':150, 'height':18,
						'offsetTop':20,
						'class':'win9x_off',
						'class_rollover':'win9x_rollover'
					},
					
						
						9:{
						'content':'<a href="stationers.php" class="menu">&nbsp;<img src="pics/menudot.gif" width=9 height=9 border=0 alt="">&nbsp;&nbsp; Stationery</a>',
						'cursor':'hand',
						'width':150, 'height':18,
						'offsetTop':20,
						'class':'win9x_off',
						'class_rollover':'win9x_rollover'
					},
					
						10:{
						'content':'<a href="timecontrol.php" class="menu">&nbsp;<img src="pics/menudot.gif" width=9 height=9 border=0 alt="">&nbsp;&nbsp; Time Control </a>',
						'cursor':'hand',
						'width':150, 'height':18,
						'offsetTop':20,
						'class':'win9x_off',
						'class_rollover':'win9x_rollover'
					}			
				}
			},
			
//BRANDS
			3:{
				'content':'<a href="#" class="top">BRANDS</a.',
				'content_menuopen':'<a href="#" class="top">BRANDS</a>',
				'width':100, 'height':16,
				'offsetLeft':110,
				'class':'win9x_off',
				'class_menuopen':'win9x_rollover',

				'items':{
					'top':19,
					'left':0,

					'background-item':{
						'width':151, 'height':120,
						'left':-22, 'top':1,
						'class':'container'
					},
				
					/* alphaTrans settings */
					'alphaTrans':{
						'delta':5,
						'delay':10,
						'maxOpacity':65
					},

					1:{
						'content':'<a href="ideal.php" class="menu">&nbsp;<img src="pics/menudot.gif" width=9 height=9 border=0 alt="">&nbsp;&nbsp; Ideal</a>',
						'cursor':'hand',
						'width':149, 'height':18,
						'offsetLeft':1, 'offsetTop':1,
						'class':'win9x_off',
						'class_rollover':'win9x_rollover'
					},
					2:{
						'content':'<a href="olympus.php" class="menu">&nbsp;<img src="pics/menudot.gif" width=9 height=9 border=0 alt="">&nbsp;&nbsp; Olympus</a>',
						'cursor':'hand',
						'width':149, 'height':18,
						'offsetTop':20,
						'class':'win9x_off',
						'class_rollover':'win9x_rollover'
					},
					3:{
						'content':'<a href="brother.php" class="menu">&nbsp;<img src="pics/menudot.gif" width=9 height=9 border=0 alt="">&nbsp;&nbsp; Brother</a>',
						'cursor':'hand',
						'width':149, 'height':18,
						'offsetTop':20,
						'class':'win9x_off',
						'class_rollover':'win9x_rollover'
					},
		
					4:{
						'content':'<a href="icsa.php" class="menu">&nbsp;<img src="pics/menudot.gif" width=9 height=9 border=0 alt="">&nbsp;&nbsp; Olivetti</a>',
						'cursor':'hand',
						'width':149, 'height':18,
						'offsetTop':20,
						'class':'win9x_off',
						'class_rollover':'win9x_rollover'
					},
					5:{
						'content':'<a href="eco.php" class="menu">&nbsp;<img src="pics/menudot.gif" width=9 height=9 border=0 alt="">&nbsp;&nbsp; Eco Time</a>',
						'cursor':'hand',
						'width':149, 'height':18,
						'offsetTop':20,
						'class':'win9x_off',
						'class_rollover':'win9x_rollover'
					},
					6:{
						'content':'<a href="http://www.bighand.com" class="menu">&nbsp;<img src="pics/menudot.gif" width=9 height=9 border=0 alt="">&nbsp;&nbsp; Bighand Digital Dictation</a>',
						'cursor':'hand',
						'width':149, 'height':18,
						'offsetTop':20,
						'class':'win9x_off',
						'class_rollover':'win9x_rollover'
					}
					
				}
			}
		}
	};

	// Activate and build menu
	var fadingMenu = new WebDDM('menu', menu);
}
