// Initialize WebDDM
function initWebDDM ()
{
	
	// Preload all the images we will be using...
	WebDDM_preloadImages
	(
	'http://www.keepnet.net/menus/keepnetmainmenu/arrowdown.gif',
	'http://www.keepnet.net/menus/keepnetmainmenu/arrowleft.gif'
	);
	
	// Set arrow HTML
	arrowDown = '<span style="position:relative;top:0;left:5;">'+
		'<img src="http://www.keepnet.net/menus/keepnetmainmenu/arrowdown.gif" />' +
		'</span>';
	arrowLeft = '<span style="position:relative;top:0;left:5;">'+
		'<img src="http://www.keepnet.net/menus/keepnetmainmenu/arrowleft.gif" />' +
		'</span>';
			
	// Begin base menu
	var menu = {
		'position':'absolute', // Fit menu ontop of other HTML
		'top':120, // Offset 0 from default position
		'left':65, // Offset 0 from default position
		'width':792, // Gives some space around the menu, so other elements aren't in this space
		'height':30, // Gives some space around the menu, so other elements aren't in this space
		'expand_menu':'auto', // Automatically show the menu
		
		// Begin array of items, level 0
		'items':{
			'top':0,
			'left':0,
			'width':740,
			'height':22,
			// Begin item 1
			// This is sort of the container for all of the rest of the items
			1:{
				'content':'&nbsp;',
				'isContainerItem':true,
				'width':740, 'height':26, 'left': '0%', 'top': '0%',
				'class':'container'
			},
			// End item 1
			// Begin item 2
			2:{
				'content':'Home',
				'url':'http://www.keepnet.net/index.htm',
				'width':80, 'height':22, 'left':0, 'top':0,
				'class':'mainmenu_off',
				'class_rollover':'mainmenu_rollover'
			},
			// End item 2
			// Begin item 3
			3:{
				'content':'Products and Services',
				'width':140, 'height':22, 'left':80, 'top':0,
				'class':'mainmenu_off',
				'class_menuopen':'mainmenu_rollover',
				// Begin array of items, item 3
				'items':{
					'top':21,
					'left':80,
					'width':141,
					'height':184,
					// Begin item 3-1
					// This is the container for the rest of the items
					1:{
						'content':'&nbsp;',
						'isContainerItem':true,
						'width':140, 'height':148, 'left':0, 'top': 0,
						'class':'container'
					},
					// End item 3-1
					// Begin item 3-2
					2:{
						'content':'Hosted Services',
						'url':'http://www.keepnet.net/productsandservices1.htm',
						'width':140, 'height':22, 'left':1, 'top': 0,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
						},
					// End item 3-2
					// Begin item 3-3
					3:{
						'content':'Dedicated Servers',
						'url':'http://www.keepnet.net/productsandservices2.htm',
						'width':140, 'height':22, 'left':1, 'top': 21,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
						},
					// End item 3-3
					// Begin item 3-4
					4:{
						'content':'Managed Servers' + arrowLeft,
						'content_menuopen':'Managed Servers' + arrowDown,
						'url':'http://www.keepnet.net/productsandservices3.htm',
						'width':140, 'height':22, 'left':1, 'top': 42,
						'class':'mainmenu_off',
						'class_menuopen':'mainmenu_rollover',
					
									// Begin array of items, item 4
										'items':{
											'top':42,
											'left':141,
											'width':190,
											'height':106,
											// Begin item 4-1
											// This is the container for the rest of the items
											1:{
												'content':'&nbsp;',
												'width':190, 'height':106, 'left':0, 'top': 0,
												'class':'container'
											},
											// End item 4-1
											// Begin item 4-2
											2:{
												'content':'Managed Zimbra Mailserver',
												'url':'http://www.keepnet.net/productsandservices3-Zimbra1.htm',
												'width':189, 'height':22, 'left':1, 'top': 0,
												'class':'mainmenu_off',
												'class_rollover':'mainmenu_rollover'
												},
											// End item 4-2
											// Begin item 4-3
											3:{
												'content':'Managed Exchange Server',
												'url':'http://www.keepnet.net/productsandservices3-exchange1.htm',
												'width':189, 'height':22, 'left':1, 'top': 21,
												'class':'mainmenu_off',
												'class_rollover':'mainmenu_rollover'
												},
											// End item 4-3
											// Begin item 4-4
											4:{
												'content':'Managed Web Servers',
												'url':'http://www.keepnet.net/productsandservices3-web1.htm',
												'width':189, 'height':22, 'left':1, 'top': 42,
												'class':'mainmenu_off',
												'class_rollover':'mainmenu_rollover'
												},
											// End item 4-4
											// Begin item 4-5
											5:{
												'content':'Managed FTP Server',
												'url':'http://www.keepnet.net/productsandservices3-ftp1.htm',
												'width':189, 'height':22, 'left':1, 'top': 63,
												'class':'mainmenu_off',
												'class_rollover':'mainmenu_rollover'
												},
											// End item 4-5
											// Begin item 4-6
											6:{
												'content':'Managed SQL Server',
												'url':'http://www.keepnet.net/productsandservices3-SQL1.htm',
												'width':189, 'height':22, 'left':1, 'top': 84,
												'class':'mainmenu_off',
												'class_rollover':'mainmenu_rollover'
												}
											// End item 4-6
											}
										// End array of items, item 4
									},
									// End item 4
					// End item 3-4
					// Begin item 3-5
					5:{
						'content':'Server Co-Location',
						'url':'http://www.keepnet.net/productsandservices4.htm',
						'width':140, 'height':22, 'left':1, 'top': 63,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
						},
					// End item 3-5
					// Begin item 3-6
					6:{
						'content':'Systems Consultancy',
						'url':'http://www.keepnet.net/productsandservices5.htm',
						'width':140, 'height':22, 'left':1, 'top': 84,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
						},
					// End item 3-6
					// Begin item 3-7
					7:{
						'content':'Partner Companies',
						'url':'http://www.keepnet.net/productsandservices6.htm',
						'width':140, 'height':22, 'left':1, 'top': 105,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
						},
					// End item 3-7
					// Begin item 3-8
					8:{
						'content':'Software',
						'url':'http://www.keepnet.net/productsandservices7.htm',
						'width':140, 'height':22, 'left':1, 'top': 126,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
						}
					// End item 3-8
				}
				// End array of items, item 3
			},
			// End item 3
			// Begin item 4
			4:{
				'content':'Support and Help',
				'width':130, 'height':22, 'left':220, 'top':0,
				'class':'mainmenu_off',
				'class_menuopen':'mainmenu_rollover',
				// Begin array of items, item 4
				'items':{
					'top':21,
					'left':220,
					'width':134,
					'height':115,
					// Begin item 4-1
					// This is a container for the rest of the items
					1:{
						'content':'&nbsp;',
						'isContainerItem':true,
						'width':130, 'height':85, 'left':0, 'top':0,
						'class':'container'
					    },
					2:{
						'content':'Where to get help',
						'url':'http://www.keepnet.net/supportandhelp1.htm',
						'cursor':'hand',
						'width':130, 'height':22, 'left':0, 'top':0,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
						},
					// End item 4-2
					// Begin item 4-3
					3:{
						'content':'FAQ',
						'url':'http://www.keepnet.net/supportandhelp2.htm',
						'cursor':'hand',
						'width':130, 'height':22, 'left':0, 'top':21,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
						},
					// End item 4-3
					// Begin item 4-4
					4:{
						'content':'How To',
						'url':'http://www.keepnet.net/supportandhelp3.htm',
						'cursor':'hand',
						'width':130, 'height':22, 'left':0, 'top':42,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
						},
					// End item 4-4
					5:{
						'content':'Support Forum',
						'url':'http://www.keepnet.net/supportandhelp4.htm',
						'cursor':'hand',
						'width':130, 'height':22, 'left':0, 'top':63,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
						}
					// End item 4-5
				}
				// End array of items, item 4
			},
			// End item 4			
			// Begin item 5
			5:{
				'content':'My Keepnet',
				'width':130, 'height':22, 'left':350, 'top':0,
				'class':'mainmenu_off',
				'class_menuopen':'mainmenu_rollover',
				// Begin array of items, item 5
				'items':{
					'top':21,
					'left':350,
					'width':134,
					'height':115,
					// Begin item 5-1
					
					// This is a container for the rest of the items
					1:{
						'content':'&nbsp;',
						'isContainerItem':true,
						'width':130, 'height':85, 'left':0, 'top':0,
						'class':'container'
					},
					
					2:{
						'content':'Exchange Webmail',
						'url':'http://www.keepnet.net/mykeepnet1.htm',
						'cursor':'hand',
						'width':130, 'height':22, 'left':0, 'top':0,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
						},
					// End item 5-2
					// Begin item 5-3
					3:{
						'content':'Zimbra Web Mail',
						'url':'http://www.keepnet.net/mykeepnet2.htm',
						'cursor':'hand',
						'width':130, 'height':22, 'left':0, 'top':21,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
						},
					// End item 5-3
					// Begin item 5-4
					4:{
						'content':'Web Server Admin',
						'url':'https://secure.keepnet.net/webremote',
						'cursor':'hand',
						'width':130, 'height':22, 'left':0, 'top':42,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
						},
					// End item 5-4
					5:{
						'content':'TS Web Access',
						'url':'https://secure.keepnet.net/webremote',
						'cursor':'hand',
						'width':130, 'height':22, 'left':0, 'top':63,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
						}
					// End item 5-5
				}
				// End array of items, item 5
			},
			// End item 5
			
			// Begin item 6
			6:{
				'content':'Contact us',
				'width':130, 'height':22, 'left':480, 'top':0,
				'class':'mainmenu_off',
				'class_menuopen':'mainmenu_rollover',
				// Begin array of items, item 6
				'items':{
					'top':21,
					'left':480,
					'width':134,
					'height':106,
					// Begin item 6-1
					
					// This is a container for the rest of the items
					1:{
						'content':'&nbsp;',
						'isContainerItem':true,
						'width':130, 'height':106, 'left':0, 'top':0,
						'class':'container'
					},
					2:{
						'content':'How to Contact us',
						'url':'http://www.keepnet.net/contactus1.htm',
						'cursor':'hand',
						'width':130, 'height':22, 'left':0, 'top':0,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
						},
					// End item 6-2
					// Begin item 6-3
					3:{
						'content':'Email Addresses',
						'url':'http://www.keepnet.net/contactus2.htm',
						'cursor':'hand',
						'width':130, 'height':22, 'left':0, 'top':21,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
						},
					// End item 6-3
					// Begin item 6-4
					4:{
						'content':'Telephone',
						'url':'http://www.keepnet.net/contactus3.htm',
						'cursor':'hand',
						'width':130, 'height':22, 'left':0, 'top':42,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
					    },
					// End item 6-4
					5:{
						'content':'Postal Addresses',
						'url':'http://www.keepnet.net/contactus4.htm',
						'cursor':'hand',
						'width':130, 'height':22, 'left':0, 'top':63,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
					    },
					// End item 6-5
					6:{
						'content':'Meeting us',
						'url':'http://www.keepnet.net/contactus5.htm',
						'cursor':'hand',
						'width':130, 'height':22, 'left':0, 'top':84,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
					}
					// End item 6-6
				}
				// End array of items, item 6
			},
			// End item 6
			// Begin item 7
			7:{
				'content':'About us',
				'width':130, 'height':22, 'left':610, 'top':0,
				'class':'mainmenu_off',
				'class_menuopen':'mainmenu_rollover',
				// Begin array of items, item 6
				'items':{
					'top':21,
					'left':610,
					'width':134,
					'height':65,
					// Begin item 7-1
					// This is a container for the rest of the items
					1:{
						'content':'&nbsp;',
						'isContainerItem':true,
						'width':130, 'height':69, 'left':0, 'top':0,
						'class':'container'
					},
					2:{
						'content':'Our Approach',
						'url':'http://www.keepnet.net/aboutus1.htm',
						'cursor':'hand',
						'width':130, 'height':22, 'left':0, 'top':0,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
						},
					// End item 7-2
					// Begin item 7-3
					3:{
						'content':'Teamwork and Pride',
						'url':'http://www.keepnet.net/aboutus2.htm',
						'cursor':'hand',
						'width':130, 'height':22, 'left':0, 'top':21,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
						},
					// End item 7-3
					// Begin item 7-4
					4:{
						'content':'No Grand Offices',
						'url':'http://www.keepnet.net/aboutus3.htm',
						'cursor':'hand',
						'width':130, 'height':22, 'left':0, 'top':42,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
					}
					// End item 7-4
				}
				// End array of items, item 7
			}
			// End item 7
		}
		// End array of items, level 0
	};
	// End base menu

	// Activate and build menu
	var WebDDM_mainmenu = new WebDDM('mainmenu', menu);
}

