// Initialize WebDDM
function initWebDDM ()
{
	// Preload all the images we will be using...
	WebDDM_preloadImages('../menu/images/arrowdown.gif',
		'../menu/images/arrowleft.gif');
	
	// Set arrow HTML
	arrowDown = '<span style="position:relative;top:0;left:5;">'+
		'<img src="../menu/images/arrowdown.gif" />' +
		'</span>';
	arrowLeft = '<span style="position:relative;top:0;left:5;">'+
		'<img src="../menu/images/arrowleft.gif" />' +
		'</span>';
			
	// Begin base menu
	var menu = {
		'position':'relative',
		'top':0,
		'left':0,
		'width':730,
		'height':20,
		'expand_menu':'auto',

		// Begin array of items, level 0
		'items':{
			'top':0,
			'left':0,
			'width':730,
			'height':20,
			// Begin item 1
			// This is sort of the container for all of the rest of the items
			1:{
				'content':'&nbsp;',
				'isContainerItem':true,
				'width':730, 'height':20, 'left': '0%', 'top': '0%',
				'class':'barcontainer',
				'css':'line-height:1'
			},
			// End item 1
			// Begin item 2
			2:{
				'content':'Home Page',
				'url':'index.htm', 'cursor':'hand',
				'width':80, 'height':20, 'left':3, 'top':0,
				'class':'barmenuoff',
				'class_rollover':'barmenuover'
			},
			// End item 2
			// Begin item 3
			3:{
				'content':'Accommodation' + arrowDown,
				'width':120, 'height':20, 'left':86, 'top':0,
				'class':'barmenuoff',
				'class_menuopen':'barmenuover',
				// Begin array of items, item 3
				'items':{
					'top':20,
					'left':86,
					'width':138,
					'height':50,
					// Begin item 3-1
					// This is the container for the rest of the items
					1:{
						'content':'&nbsp;',
						'isContainerItem':true,
						'width':136, 'height':48, 'left':0, 'top': 0,
						'class':'container',
						'css':'line-height:1'
					},
					// End item 3-1
					// Begin item 3-2
					2:{
						'content':'Overview',
						'url':'ino_overview.htm',
						'cursor':'hand',
						'width':130, 'height':20, 'left':3, 'top':3,
						'class':'dropmenuoff',
						'class_rollover':'dropmenuover'
					},
					// End item 3-2
					// Begin item 3-3
					3:{
						'content':'Room Facilities',
						'url':'ino_room.htm',
						'cursor':'hand',
						'width':130, 'height':20, 'left':3, 'top':25,
						'class':'dropmenuoff',
						'class_rollover':'dropmenuover'
					}
					// End item 3-3
				}
				// End array of items, item 3
			},
			// End item 3
			// Begin item 4
			4:{
				'content':'Facilities' + arrowDown,
				'width':78, 'height':20, 'left':209, 'top':0,
				'class':'barmenuoff',
				'class_menuopen':'barmenuover',
				// Begin array of items, item 4
				'items':{
					'top':20,
					'left':209,
					'width':138,
					'height':72,
					// Begin item 4-1
					// This is the container for the rest of the items
					1:{
						'content':'&nbsp;',
						'isContainerItem':true,
						'width':136, 'height':70, 'left':0, 'top': 0,
						'class':'container',
						'css':'line-height:1'
					},
					// End item 4-1
					// Begin item 4-2
					2:{
						'content':'Pool Area',
						'url':'ino_pool.htm',
						'cursor':'hand',
						'width':130, 'height':20, 'left':3, 'top':3,
						'class':'dropmenuoff',
						'class_rollover':'dropmenuover'
					},
					// End item 4-2
					// Begin item 4-3
					3:{
						'content':'Restaurant',
						'url':'ino_restaurant.htm',
						'cursor':'hand',
						'width':130, 'height':20, 'left':3, 'top':25,
						'class':'dropmenuoff',
						'class_rollover':'dropmenuover'
					},
					// End item 4-3
					// Begin item 4-4
					4:{
						'content':'Public Area',
						'url':'ino_public.htm',
						'cursor':'hand',
						'width':130, 'height':20, 'left':3, 'top':47,
						'class':'dropmenuoff',
						'class_rollover':'dropmenuover'
					}
					// End item 4-4
				}
				// End array of items, item 4
			},
			// End item 4
			// Begin item 5
			5:{
				'content':'Offers' + arrowDown,
				'width':60, 'height':20, 'left':290, 'top':0,
				'class':'barmenuoff',
				'class_menuopen':'barmenuover',
				// Begin array of items, item 5
				'items':{
					'top':20,
					'left':290,
					'width':138,
					'height':72,
					// Begin item 5-1
					// This is the container for the rest of the items
					1:{
						'content':'&nbsp;',
						'isContainerItem':true,
						'width':136, 'height':70, 'left':0, 'top': 0,
						'class':'container',
						'css':'line-height:1'
					},
					// End item 5-1
					// Begin item 5-2
					2:{
						'content':'Offers',
						'url':'ino_offers.php',
						'cursor':'hand',
						'width':130, 'height':20, 'left':3, 'top':3,
						'class':'dropmenuoff',
						'class_rollover':'dropmenuover'
					},
					// End item 5-2
					// Begin item 5-3
					3:{
						'content':'Reservations',
						'url':'ino_reservations.php',
						'cursor':'hand',
						'width':130, 'height':20, 'left':3, 'top':25,
						'class':'dropmenuoff',
						'class_rollover':'dropmenuover'
					},
					// End item 5-3
					// Begin item 5-4
					4:{
						'content':'Enquiries',
						'url':'ino_contact.php',
						'cursor':'hand',
						'width':130, 'height':20, 'left':3, 'top':47,
						'class':'dropmenuoff',
						'class_rollover':'dropmenuover'
					}
					// End item 5-4
				}
				// End array of items, item 5
			},
			// End item 5
			// Begin item 6
			6:{
				'content':'Location' + arrowDown,
				'width':75, 'height':20, 'left':353, 'top':0,
				'class':'barmenuoff',
				'class_menuopen':'barmenuover',
				// Begin array of items, item 6
				'items':{
					'top':20,
					'left':353,
					'width':148,
					'height':72,
					// Begin item 6-1
					// This is the container for the rest of the items
					1:{
						'content':'&nbsp;',
						'isContainerItem':true,
						'width':146, 'height':70, 'left':0, 'top': 0,
						'class':'container',
						'css':'line-height:1'
					},
					// End item 6-1
					// Begin item 6-2
					2:{
						'content':'Where is Samos Island',
						'url':'ino_location.htm',
						'cursor':'hand',
						'width':140, 'height':20, 'left':3, 'top':3,
						'class':'dropmenuoff',
						'class_rollover':'dropmenuover'
					},
					// End item 6-2
					// Begin item 6-3
					3:{
						'content':'Where is Samos Town',
						'url':'ino_loc_samos.htm',
						'cursor':'hand',
						'width':140, 'height':20, 'left':3, 'top':25,
						'class':'dropmenuoff',
						'class_rollover':'dropmenuover'
					},
					// End item 6-3
					// Begin item 6-4
					4:{
						'content':'Where is the Ino',
						'url':'ino_loc_kalami.htm',
						'cursor':'hand',
						'width':140, 'height':20, 'left':3, 'top':47,
						'class':'dropmenuoff',
						'class_rollover':'dropmenuover'
					}
					// End item 6-4
				}
				// End array of items, item 6
			},
			// End item 6
			// Begin item 7
			7:{
				'content':'Samos Island' + arrowDown,
				'width':110, 'height':20, 'left':431, 'top':0,
				'class':'barmenuoff',
				'class_menuopen':'barmenuover',
				// Begin array of items, item 7
				'items':{
					'top':20,
					'left':431,
					'width':148,
					'height':160,
					// Begin item 7-1
					// This is the container for the rest of the items
					1:{
						'content':'&nbsp;',
						'isContainerItem':true,
						'width':146, 'height':158, 'left':0, 'top': 0,
						'class':'container',
						'css':'line-height:1'
					},
					// End item 7-1
					// Begin item 7-2
					2:{
						'content':'Brief History of Samos',
						'url':'ino_history.htm',
						'cursor':'hand',
						'width':140, 'height':20, 'left':3, 'top':3,
						'class':'dropmenuoff',
						'class_rollover':'dropmenuover'
					},
					// End item 7-2
					// Begin item 7-3
					3:{
						'content':'Ino Mythology',
						'url':'ino_myth.htm',
						'cursor':'hand',
						'width':140, 'height':20, 'left':3, 'top':25,
						'class':'dropmenuoff',
						'class_rollover':'dropmenuover'
					},
					// End item 7-3
					// Begin item 7-4
					4:{
						'content':'Towns & Villages',
						'url':'ino_towns.htm',
						'cursor':'hand',
						'width':140, 'height':20, 'left':3, 'top':47,
						'class':'dropmenuoff',
						'class_rollover':'dropmenuover'
					},
					// End item 7-4
					// Begin item 7-5
					5:{
						'content':'Samos Town',
						'url':'ino_vathy.htm',
						'cursor':'hand',
						'width':140, 'height':20, 'left':3, 'top':69,
						'class':'dropmenuoff',
						'class_rollover':'dropmenuover'
					},
					// End item 7-5
					// Begin item 7-6
					6:{
						'content':'Annual Events',
						'url':'ino_events.php',
						'cursor':'hand',
						'width':140, 'height':20, 'left':3, 'top':91,
						'class':'dropmenuoff',
						'class_rollover':'dropmenuover'
					},
					// End item 7-6
					// Begin item 7-7
					7:{
						'content':'Samos Attractions',
						'url':'ino_attractions.htm',
						'cursor':'hand',
						'width':140, 'height':20, 'left':3, 'top':113,
						'class':'dropmenuoff',
						'class_rollover':'dropmenuover'
					},
					// End item 7-7
					// Begin item 7-8
					8:{
						'content':'Useful Links',
						'url':'ino_links.php',
						'cursor':'hand',
						'width':140, 'height':20, 'left':3, 'top':135,
						'class':'dropmenuoff',
						'class_rollover':'dropmenuover'
					}
					// End item 7-8

				}
				// End array of items, item 7
			},
			// End item 7
			// Begin item 8
			8:{
				'content':'Photo Album',
				'url':'../photo-album/album/index.php', 'cursor':'hand',
				'width':100, 'height':20, 'left':544, 'top':0,
				'class':'barmenuoff',
				'class_rollover':'barmenuover'
			},
			// End item 8
			// Begin item 9
			9:{
				'content':'Guestbook',
				'url':'../guestbook/en_guest/ino_guestbook.php', 'cursor':'hand',
				'width':80, 'height':20, 'left':647, 'top':0,
				'class':'barmenuoff',
				'class_rollover':'barmenuover'
			}
			// End item 9
			
		}
		// End array of items, level 0
	};
	// End base menu

	// Activate and build menu
	var WebDDM_mainmenu = new WebDDM('mainmenu', menu);
}
