﻿function mmLoadMenus() {
	// Menu identifier system - mm_menu_number_x_x_....
	// first number is an identifier, can be any number of your choice (I have used 9999)
	// second number is the number of the menu button (0 is the first one)
	// third number is the submenu off the button
	// fourth is the submenu off the submenu, etc.
	
	if (window.mm_menu_9999_0) return;
	
	// create a new menu system with the following parameters
	// (Label, menu width, item height, font family, font size, font color, font highlight, bg color, bg highlight color, item align, item valign, cell padding, cell spacing, hide timeout, submenu offset x, submenu offset y, sub menu relative to item, bg menu opaque, vertical, item indent, ?, ?)
	window.mm_menu_9999_0 = new Menu("root",115,20,"Verdana, Arial, Helvetica, sans-serif", 11, "#325bad","#325bad","#ffffff","#EDF6FB","left","middle",8,0,500,5,5,true,true,true,0,true,true);
	// add items to menu
	// label, (url, target)
	// MENU 0 (first button drop down)
	// create deepest menu first, then work back to root menu
	
	mm_menu_9999_0.addMenuItem("Intro","window.open('http://www.talacrebeach.co.uk/index.asp', '_self');");
	mm_menu_9999_0.addMenuItem("Contact Us","window.open('http://www.leadbank.co.uk/plugin/100068/default.asp', '_self');");
	mm_menu_9999_0.addMenuItem("Owners Page","window.open('http://www.talacrebeach.co.uk/ownerspage.asp', '_self');");
	mm_menu_9999_0.addMenuItem("Testimonials","window.open('http://www.talacrebeach.co.uk/testimonials.asp', '_self');");
	

	// add extra parameters for this drop down
	mm_menu_9999_0.hideOnMouseOut=true;
	mm_menu_9999_0.menuBorder=0;
	mm_menu_9999_0.menuLiteBgColor='#ffffff';
	mm_menu_9999_0.menuBorderBgColor='#67747E';
	mm_menu_9999_0.bgColor='#ffffff';
	mm_menu_9999_0.childMenuIcon="images/arrows.gif";
	
	
	// MENU 1 (second button drop down)
	// create deepest menu first, then work back to root menu
	

	
	
	window.mm_menu_9999_1 = new Menu("root",200,20,"Verdana, Arial, Helvetica, sans-serif", 11, "#325bad","#325bad","#ffffff","#EDF6FB","left","middle",8,0,500,5,5,true,true,true,0,true,true);

	mm_menu_9999_1.addMenuItem("Intro","window.open('http://www.talacrebeach.co.uk/ourpark.asp', '_self');");
	mm_menu_9999_1.addMenuItem("Park Reception & Sales Office","window.open('http://www.talacrebeach.co.uk/receptionandsales.asp', '_self');");
	mm_menu_9999_1.addMenuItem("News","window.open('http://talacrebeach.artychoke.com/news.asp', '_self');");

	
	mm_menu_9999_1.hideOnMouseOut=true;
	mm_menu_9999_1.childMenuIcon="images/arrows.gif";
	mm_menu_9999_1.menuBorder=0;
	mm_menu_9999_1.menuLiteBgColor='#ffffff';
	mm_menu_9999_1.menuBorderBgColor='#67747E';
	mm_menu_9999_1.bgColor='#ffffff';
	
	
	// MENU 2 (third button)
	// create deepest menu first, then work back to root menu
	

	window.mm_menu_9999_2 = new Menu("root",164,20,"Verdana, Arial, Helvetica, sans-serif", 11, "#325bad","#325bad","#ffffff","#EDF6FB","left","middle",8,0,500,5,5,true,true,true,0,true,true);
 
	mm_menu_9999_2.addMenuItem("Intro","window.open('http://www.talacrebeach.co.uk/thefacilities.asp', '_self');");
	mm_menu_9999_2.addMenuItem("Leisure Plus","window.open('http://www.talacrebeach.co.uk/leisureplus.asp', '_self');");
	mm_menu_9999_2.addMenuItem("Dining & Entertainment","window.open('http://www.talacrebeach.co.uk/eatingout.asp', '_self');");
	mm_menu_9999_2.addMenuItem("Fun for Kids & Teenagers","window.open('http://www.talacrebeach.co.uk/forthekids.asp', '_self');");
	mm_menu_9999_2.addMenuItem("More Facilities","window.open('http://www.talacrebeach.co.uk/morefacilities.asp', '_self');");
	
	mm_menu_9999_2.hideOnMouseOut=true;
	mm_menu_9999_2.menuBorder=0;
	mm_menu_9999_2.menuLiteBgColor='#ffffff';
	mm_menu_9999_2.menuBorderBgColor='#67747E';
	mm_menu_9999_2.bgColor='#ffffff';
	

	window.mm_menu_9999_3 = new Menu("root",145,20,"Verdana, Arial, Helvetica, sans-serif", 11, "#325bad","#325bad","#ffffff","#EDF6FB","left","middle",8,0,500,5,5,true,true,true,0,true,true);
 
	mm_menu_9999_3.addMenuItem("Experience of Buying","window.open('http://www.talacrebeach.co.uk/holidayhomes1.asp', '_self');");
	mm_menu_9999_3.addMenuItem("Holiday Homes","window.open('http://talacrebeach.artychoke.com/holidayhomes2.asp', '_self');");
	mm_menu_9999_3.addMenuItem("Denbigh Range","window.open('http://www.talacrebeach.co.uk/holidayhomes3.asp', '_self');");
	mm_menu_9999_3.addMenuItem("Private Sales","window.open('http://talacrebeach.artychoke.com/privatesales.asp', '_self');");
	
	mm_menu_9999_3.hideOnMouseOut=true;
	mm_menu_9999_3.menuBorder=0;
	mm_menu_9999_3.menuLiteBgColor='#ffffff';
	mm_menu_9999_3.menuBorderBgColor='#67747E';
	mm_menu_9999_3.bgColor='#ffffff';
		

	window.mm_menu_9999_4 = new Menu("root",115,20,"Verdana, Arial, Helvetica, sans-serif", 11, "#325bad","#325bad","#ffffff","#EDF6FB","left","middle",8,0,500,5,5,true,true,true,0,true,true);
 
	mm_menu_9999_4.addMenuItem("Intro","window.open('http://www.talacrebeach.co.uk/thelocation.asp', '_self');");
	mm_menu_9999_4.addMenuItem("How to Find Us","window.open('http://www.talacrebeach.co.uk/find_us.asp', '_self');");
	
	mm_menu_9999_4.hideOnMouseOut=true;
	mm_menu_9999_4.menuBorder=0;
	mm_menu_9999_4.menuLiteBgColor='#ffffff';
	mm_menu_9999_4.menuBorderBgColor='#67747E';
	mm_menu_9999_4.bgColor='#ffffff';
		

	// And finally, actually write the menus to screen
	mm_menu_9999_4.writeMenus();
} // mmLoadMenus()

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}