// Copyright 2005, All right Reserved.

_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_subOffsetTop=10              // Sub menu top offset
_subOffsetLeft=-10            // Sub menu left offset


// PARAMETROS PARA LOS COLORES DE UN SUBMENU - Este submenu se llama "amarillo" que estoy usando
    //	con el menu de "ALL ABOUT VERACRUZ" para cambiar los colores en ese menú.

	with(amarillo=new mm_style()){
	onbgcolor="#6699FF";		//onbgcolor = fondo de celula al pasar el mouse
	oncolor="#FFFFFF";			//oncolor="Color de texto al pasar el mouse
	offbgcolor="#FFCC00";		//offbgcolor = Fondo de celula
	offcolor="#000000";			//offcolor= Color de texto
	bordercolor="#6699FF";
	borderstyle="solid";
	borderwidth=1;
	separatorcolor="#990000";	//linea entre celulas
	separatorsize="2";
	padding=5;
	fontsize="65%";
	fontstyle="normal";
	fontfamily="Arial, Helvetica, sans-serif";
	pagecolor="black";
	pagebgcolor="#82B6D7";
	headercolor="#000000";
	headerbgcolor="#ffffff";
	overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=0)";
	outfilter="randomdissolve(duration=0.3)";
}


//PARAMETROS PARA MENU PRINCIPAL.....................................................
	with(menuStyle=new mm_style()){
	onbgcolor="#6699FF";		//onbgcolor = fondo de celula al pasar el mouse
	oncolor="#FFFFFF";			//oncolor="Color de texto al pasr el mouse
	offbgcolor="#FFFFFF";		//offbgcolor = Fondo de celula
	offcolor="#6699FF";			//offcolor= Color de texto
	bordercolor="#6699FF";
	borderstyle="solid";
	borderwidth=1;
	separatorcolor="#F0C868";	//linea entre celulas
	separatorsize="2";
	padding=5;
	fontsize="65%";
	fontstyle="normal";
	fontfamily="Arial, Helvetica, sans-serif";
	pagecolor="black";
	pagebgcolor="#82B6D7";
	headercolor="#000000";
	headerbgcolor="#ffffff";
	overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=0)";
	outfilter="randomdissolve(duration=0.3)";
	}
//FIN PARAMETROS MENU PRINCIPAL......................................................


with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=75; //177; PARA VERTICAL	DISTANCIA DEL MENU DESDE LA PARTE DE ARRIBA DE LA PAGINA
left=7;//18;   PARA VERTICAL    DISTANCIA DEL MENU DE LA PARTE IZQUIERDA Solo usarse sino se usa SCREENPOSITION
alwaysvisible=1;
overflow="0";
orientation="horizontal";      //PONER ESTE PARAMETRO PARA CANBIAR A MENU HORIZONTAL
screenposition="center;"; 	//Coloca el menu en el centro



//PARAMETROS DE LOS SUB-MENUS - DEBE DE QUEDAR DENTRO DEL "MENU PRINCIPAL"

with(menuStyle=new mm_style()){
onbgcolor="#2427A8";		//onbgcolor = Fondo de celula al pasar el mouse
oncolor="#FFFFFF";			//oncolor="Color de texto al pasar el mouse
offbgcolor="#990000";		//offbgcolor = Fondo de celula
offcolor="#FFD528";			//offcolor= Fondo de texto
bordercolor="#6699FF";
borderstyle="solid";
borderwidth=1;
separatorcolor="#999999";	//linea entre celulas
separatorsize="1";
padding=4;
fontsize="60%";
fontstyle="normal";
fontfamily="Arial, Helvetica, sans-serif";
pagecolor="black";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="Templates/arrow.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=0)";
outfilter="randomdissolve(duration=0.3)";
}
// FIN DEL SUB-MENU DE PARAMETROS..................................................


// MENU PRINCIPAL
	aI("text=Home Port;showmenu=Home;");
	aI("text=Registration;showmenu=Registration;");
	aI("text=The Race;showmenu=the race;");
	aI("text=Immigration and Customs;showmenu=customs;");
	aI("text=Hotels in Veracruz;showmenu=hotels;");
	aI("text=All About Veracruz;showmenu=About Veracruz;");
	aI("text=Our Sponsors;showmenu=sponsors;");
	aI("text=Contact;showmenu=contact;");
	aI("text=TerraMar Race Tracker;url=http://yacht.terramarnetworks.com/interfaces/yacht/rda_login.php;target=blank;");	
	}
// FIN MENU PRINCIPAL
	

// MENU DE CASA	
	with(milonic=new menuname("Home")){
	style=menuStyle;
	aI("text=Return to Home Port;url=http://www.veracruzregatta.com/;");
	aI("text=Latest news;url=http://www.veracruzregatta.com/news.shtml;");
	aI("text=History and past results;url=http://www.veracruzregatta.com/history.htm;");
	aI("text=Origins;url=http://www.veracruzregatta.com/Old School.htm;");
	aI("text=2010 Results;url=http://www.veracruzregatta.com/2010 Results/2010 Results.htm;");	
	}
// FIN MENU DE CASA 


//  MENU DE EMIGRACION	
	with(milonic=new menuname("customs")){
	style=menuStyle;
	aI("text=Immigration and Customs information;url=http://www.veracruzregatta.com/customs-immigration.htm;");
	aI("text=Departing from Veracruz;url=http://www.veracruzregatta.com/departing.htm;");
	aI("text=Arriving in the USA;url=http://www.veracruzregatta.com/arriving.htm;");
	}
// FIN MENU DE EMIGRACION



// MENU DE REGISTRATION	
	with(milonic=new menuname("Registration")){
	style=menuStyle;
	aI("text=Travel Arragments;url=http://www.veracruzregatta.com/travel.htm;");
	aI("text=Entry Form;url=http://www.veracruzregatta.com/entryform2010.doc;");
	aI("text=Notice of Race;url=http://www.veracruzregatta.com/nr.doc;");
	aI("text=Race Documents;url=http://www.veracruzregatta.com/docs.htm;");
	aI("text=Latest Entries;url=http://www.veracruzregatta.com/scratchsheet.shtml;");
	aI("text=Crew List;url=http://www.discussion.gbca.org/index.php?board=3.0;target=blank;");
	}
// END MENU DE REGISTRATION	
	
	

// MENU DE HOTEL
	with(milonic=new menuname("hotels")){
	style=menuStyle;
	aI("text=Race Committee Headquarters;url=http://www.fiestainn.com/portal/p/en_MX/FI/VZC/1/VZCmenuizquierdo.html/descripcionhotel/VZCdescripcionhotel.html;target=blank;");
	aI("text=Travel Arragements;url=http://www.woodlaketravel.com;target=blank;");
	aI("text=Other Hotels;url=http://www.veracruzregatta.com/hotels.htm;");
	}
// END MENU DE HOTEL


//MENU THE REGATA
with(milonic=new menuname("the race")){
style=menuStyle;
aI("text=Sailing Instructions;url=http://www.veracruzregatta.com/si1.pdf;target=blank;");
aI("text= Race Tracking;url=http://www.veracruzregatta.com/tracking.htm;");
aI("text=Schedule of Events;url=http://www.veracruzregatta.com/events.htm;");
aI("text=Category 1 ORC Regulations;url=http://www.sailing.org/specialregulations.php?PHPSESSID=6a8f888bd2619f564d81910d0d9c02b8;target=blank;");
aI("text=Need to rent a raft?;url=http://www.lrse.com/;target=blank;");
aI("text=Docking in Veracruz;url=http://www.veracruzregatta.com/docking.htm;");
aI("text=The Finish Line;url=http://www.veracruzregatta.com/finish.htm;");
aI("text=Safety Seminar Topics;showmenu=Safety Seminar Topics;");
}
	with(milonic=new menuname("Safety Seminar Topics")){
	style=amarillo;							// Aquí cambio los colores del menu usando el estilo "AMARILLO"
	aI("text=HSH Yachts Offshore Safety;url=http://www.veracruzregatta.com/Safety/HSHyachts Offshore safety.ppt;");
	aI("text=Cynthia Woods;url=http://www.veracruzregatta.com/Safety/Cynthia Woods.ppt;");
	aI("text=Current Veracruz Photos;url=http://www.veracruzregatta.com/Safety/Current Veracruz Photos.ppt;");
	aI("text=Docking;url=http://www.veracruzregatta.com/Safety/Docking.ppt;");
	aI("text=Rigging;url=http://www.veracruzregatta.com/Safety/Rigging.ppt;");
	aI("text=Weather;url=http://www.veracruzregatta.com/Safety/Weather.ppt;");
	aI("text=Medical;url=http://www.veracruzregatta.com/Safety/Medical.ppt;");
	aI("text=Boat and Crew;url=http://www.veracruzregatta.com/Safety/Boat and Crew.ppt;");
	aI("text=Approaches to Veracruz;url=http://www.veracruzregatta.com/Safety/Approaches to Veracruz.ppt;");
	}
// END MENU THE REGATA


// MENU DE VERACRUZ
with(milonic=new menuname("About Veracruz")){
style=menuStyle;
aI("text=About Veracruz in Spanish;url=http://www.veracruz.gob.mx/;target=blank;");
aI("text=Getting To Veracruz;url=http://www.veracruzregatta.com/directions.htm;");
aI("text=Tuxpan and Isla de Lobos;showmenu=Tuxpan;");
}
	with(milonic=new menuname("Tuxpan")){
	style=amarillo;							// Aquí cambio los colores del menu usando el estilo "AMARILLO"
	aI("text=Sailing to Tuxpan;url=http://www.veracruzregatta.com/tuxpan.htm;");
	aI("text=Docking and anchoring;url=http://www.veracruzregatta.com/docking-tuxpan.htm;");
	aI("text=Isla de Lobos;url=http://www.veracruzregatta.com/lobos.htm;");
	}
// FIN MENU DE VERACRUZ


// MENU DE PATROCINADORES
	with(milonic=new menuname("sponsors")){
	style=menuStyle;
	aI("text=HSH Yachts;url=http://www.hshyachts.com/;target=blank;");
	aI("text=Organizers;showmenu=Organizers;");
	}
	with(milonic=new menuname("Organizers")){
	style=amarillo;
		aI("text=GBCA;url=http://www.gbca.org/;target=blank;");
		aI("text=Lakewood Yacht Club;url=http://www.lakewoodyachtclub.com/;target=blank;");
		}
// FIN MENU DE PATROCINADORES



//  MENU DE PROTESTAS
	with(milonic=new menuname("contact")){
	style=menuStyle;
		aI("text=Email The Event Chairman;url=mailto:protec.equipment@gmail.com;");
		aI("text=Email The Principal Race Officer;url=mailto:kevinb@uescontrols.com;");
		aI("text=Post it on the BULLETIN BOARD;url=http://discussion.gbca.org/;target=blank;");
		}
// FIN MENU DE PROTESTA


drawMenus();

