var _menuConTitle = new Array();
var _menuConTitleLink = new Array();

function openWindow(page,desc)
{
	
	this.open(page,desc,'width=620,height=530');
}

_menuConTitle = [		"Inicio",
			"Qui&eacute;nes somos",
			"D&oacute;nde jugamos",
			"Agenda",
			"Fotos",
			"Reglas",
			"Contacto",
                        "Enlaces",
                        "Prensa"];

_menuConTitleLink = [	"index.htm",
			"quienesSomos.htm",
			"dondeJugamos.htm",
			"agenda.htm",
			"fotos.htm",
			"reglas.htm",
			"contacto.htm",	
                        "enlaces.htm",
                        "prensa.htm"];

_menuConText =  [	
	"Volley pista",
	"Volley playa",

	"Clasificaci&oacute;n",
	"Resultados",
	"Calendario de partidos",
	"Equipos",
	"Reglas liguilla"];

_menuConLink = [
	"\"javascript: openWindow('FIVB_reglas_2009_2012.pdf')\"",
	"\"javascript: openWindow('reglas_Volley_Playa_2009.pdf')\"",

	"clasificacion.htm",
	"resultados.htm",
	"\"javascript: openWindow('calendario_partidos.pdf')\"",
	"\"javascript: openWindow('equipos_liguilla.pdf')\"",
	"\"javascript: openWindow('reglas_liguilla.pdf')\""];


rInit = 0;
rEnd = 2;
lInit = 2;
lEnd = 8;


function getConnectedMenuHome() {
	document.write("				<table width=100% border=0 cellspacing=0 cellpadding=0 >");
	document.write("				<tr valign=top >");
	document.write("					<td height=10 class=top_bg >");
	document.write("						<a></a>");
	document.write("					</td>");
	document.write("				</tr>");

	document.write("				<tr valign=top >");
	document.write("					<td height=30 class=right_bg >");
	document.write("						<a href=" + _menuConTitleLink[0] + "><font class=copyright><b>" + _menuConTitle[0] + "</b></font></a>");
	document.write("					</td>");
	document.write("				</tr>");

	document.write("				<tr valign=top >");
	document.write("					<td height=30 class=right_bg >");
	document.write("						<a href=" + _menuConTitleLink[1] + "><font class=copyright><b>" + _menuConTitle[1] + "</b></font></a>");
	document.write("					</td>");
	document.write("				</tr>");

	document.write("				<tr valign=top >");
	document.write("					<td height=30 class=right_bg >");
	document.write("						<a href=" + _menuConTitleLink[2] + "><font class=copyright><b>" + _menuConTitle[2] + "</b></font></a>");
	document.write("					</td>");
	document.write("				</tr>");


	document.write("				<tr valign=top >");
	document.write("					<td height=30 class=right_bg >");
	document.write("						<a href=" + _menuConTitleLink[3] + "><font class=copyright><b>" + _menuConTitle[3] + "</b></font></a>");
	document.write("					</td>");
	document.write("				</tr>");

	document.write("				<tr valign=top >");
	document.write("					<td height=30 class=right_bg >");
	document.write("						<a href=" + _menuConTitleLink[4] + "><font class=copyright><b>" + _menuConTitle[4] + "</b></font></a>");
	document.write("					</td>");
	document.write("				</tr>");
	
	document.write("				<tr valign=top >");
	document.write("					<td height=30 class=right_bg >");
	document.write("						<a href=" + _menuConTitleLink[5] + "><font class=copyright><b>" + _menuConTitle[5] + "</b></font></a>");
	document.write("					</td>");
	document.write("				</tr>");	
	
	document.write("				<tr valign=top >");
	document.write("					<td height=30 class=right_bg >");
	document.write("						<a href=" + _menuConTitleLink[6] + "><font class=copyright><b>" + _menuConTitle[6] + "</b></font></a>");
	document.write("					</td>");
	document.write("				</tr>");	
	
	document.write("				<tr valign=top >");
	document.write("					<td height=30 class=right_bg >");
	document.write("						<a href=" + _menuConTitleLink[7] + "><font class=copyright><b>" + _menuConTitle[7] + "</b></font></a>");
	document.write("					</td>");
	document.write("				</tr>");	
	
	document.write("				<tr valign=top >");
	document.write("					<td height=30 class=right_bg >");
	document.write("						<a href=" + _menuConTitleLink[8] + "><font class=copyright><b>" + _menuConTitle[8] + "</b></font></a>");
	document.write("					</td>");
	document.write("				</tr>");	
	
	document.write("				<tr valign=top >");
	document.write("					<td height=10 class=bot_bg >");
	document.write("						");
	document.write("					</td>");
	document.write("				</tr>");	
	
	
	document.write("				</table>");
	
}

function getConnectedMenuReglas() {
	document.write("				<table width=100% border=0 cellspacing=0 cellpadding=0 >");
	document.write("				<tr valign=top >");
	document.write("					<td height=10 class=top_bg >");
	document.write("						<a></a>");
	document.write("					</td>");
	document.write("				</tr>");

	document.write("				<tr valign=top>");
	document.write("					<td height=30 class=right_bg >");
	document.write("						<a href=" + _menuConTitleLink[0] + "><font class=copyright ><b>" + _menuConTitle[0] + "</b></font></a>");
	document.write("					</td>");
	document.write("				</tr>");

	document.write("				<tr valign=top>");
	document.write("					<td height=30 class=right_bg >");
	document.write("						<a href=" + _menuConTitleLink[1] + "><font class=copyright ><b>" + _menuConTitle[1] + "</b></font></a>");
    document.write("					</td>");
	document.write("				</tr>");

	document.write("				<tr valign=top>");
	document.write("					<td height=30 class=right_bg >");
	document.write("						<a href=" + _menuConTitleLink[2] + "><font class=copyright ><b>" + _menuConTitle[2] + "</b></font></a>");
	document.write("					</td>");
	document.write("				</tr>");

	document.write("				<tr valign=top>");
	document.write("					<td height=30 class=right_bg >");
	document.write("						<a href=" + _menuConTitleLink[3] + "><font class=copyright ><b>" + _menuConTitle[3] + "</b></font></a>");
	document.write("					</td>");
	document.write("				</tr>");

	document.write("				<tr valign=top>");
	document.write("					<td height=30 class=right_bg >");
	document.write("						<a href=" + _menuConTitleLink[4] + "><font class=copyright ><b>" + _menuConTitle[4] + "</b></font></a>");
	document.write("					</td>");
	document.write("				</tr>");

	document.write("				<tr valign=top>");
	document.write("					<td height=30 class=right_bg >");
	document.write("						<a href=" + _menuConTitleLink[5] + "><font class=copyright ><b>" + _menuConTitle[5] + "</b></font></a>");
	document.write("					</td>");
	document.write("				</tr>");
	
	for(i=rInit; i<rEnd; i++) {
	document.write("				<tr valign=top>");
	document.write("					<td height=30 class=right_bg >");
	document.write("						&nbsp;<a class=sytle href=" + _menuConLink[i] + "><font class=sytle><b>" + _menuConText[i] + "</b></a></font>");
	document.write("					</td>");
	document.write("				</tr>");
	}

	document.write("				<tr valign=top>");
	document.write("					<td height=30 class=right_bg >");
	document.write("						<a href=" + _menuConTitleLink[6] + "><font class=copyright><b>" + _menuConTitle[6] + "</b></font></a>");
	document.write("					</td>");
	document.write("				</tr>");

	document.write("				<tr valign=top>");
	document.write("					<td height=30 class=right_bg >");
	document.write("						<a href=" + _menuConTitleLink[7] + "><font class=copyright><b>" + _menuConTitle[7] + "</b></font></a>");
	document.write("					</td>");
	document.write("				</tr>");
	
	document.write("				<tr valign=top>");
	document.write("					<td height=30 class=right_bg >");
	document.write("						<a href=" + _menuConTitleLink[8] + "><font class=copyright><b>" + _menuConTitle[8] + "</b></font></a>");
	document.write("					</td>");
	document.write("				</tr>");
	document.write("				</table>");
}
