/* ====================
   UNITED DPOS
   ESPANOL
   updated 2010 08-19
===================== */

//Variables
var siteURL = "/";
var langCore = "core/espanol/";
var langLocal = "local/espanol/";
var langUA2GO = "es";
var countrysiteId="1";
var countryTel = "us";
var countryUA2GO = "united";
var disableTracking = true; // this disables insightfirst being auto appended to the SWN menus href

//Telescope
var awardURL = "https://travel.united.com/ube/award/" + countryTel + "/awardShop.do?lang=" + langUA2GO;
var bookingURL = "https://travel.united.com/ube/core/" + countryTel + "/shop.do?lang=" + langUA2GO;
var securebookingURL = "https://travel.united.com/ube/core/" + countryTel + "/secure/shop.do?lang=" + langUA2GO;
var mpaddressURL = "https://travel.united.com/ube/core/" + countryTel + "/secure/mpChangeAddress.do?lang=" + langUA2GO;
var mpsummaryURL = "https://travel.united.com/ube/core/" + countryTel + "/secure/mpSummary.do?lang=" + langUA2GO;
var multicityURL = "http://travel.united.com/ube/core/" + countryTel + "/shop.do?shop_triptype=multicity&lang=" + langUA2GO;
var myitinsURL = "http://www.united.com/page/genericpage/1,,52318,00.html?CC=" + countryTel + "&lang=espanol";
var oaflifoURL = "https://travel.united.com/ube/core/" + countryTel + "/oaflifo.do?lang=" + langUA2GO;
var templatesURL = "https://travel.united.com/ube/core/" + countryTel + "/secure/retrieveTripTemplate.do?lang=" + langUA2GO;

//UA2GO
var mpfindnumberURL = "https://www.ua2go.com/ci/mpLookUp.do?stamp=/" + countryUA2GO;
var mpforgetURL = "https://www.ua2go.com/ci/PRGetMPNumber.jsp?stamp=/" + countryUA2GO;
var mpjoinURL = "https://www.ua2go.com/ci/JoinMileagePlus.jsp?stamp=/" + countryUA2GO;
var mpregisterURL = "https://www.ua2go.com/ci/Registration.jsp?stamp=/" + countryUA2GO;
var updateprofileURL = "https://www.ua2go.com/ci/UpdateProfile.jsp?stamp=/" + countryUA2GO;
var centerpostURL = "https://www.ua2go.com/ci/Login.jsp?stamp=/" + countryUA2GO + "&return_to=centerPost";

//United.com
var investorURL = "http://www.united.com/ir";
var rccjoinURL = "http://www.united.com/form/rcc/signon";
var rccupdateURL = "https://www.ua2go.com/ci/Login.jsp?return_to=rccupd";

//Partners
var hotelURL = "http://united.wwte1.com/pub/agent.dll?qscr=htwv&from=m&eapi=11378-30001";

//IPOS
var pressroomURL = siteURL + langCore + "AU/companyinfo/pressroom/index.html";
var PBURL = siteURL + langCore + "PB/index.html";
var ICURL = siteURL + langCore + "IC/index.html";
var MPURL = siteURL + langCore + "MP/index.html";
var SIURL = siteURL + langCore + "SI/index.html";
var AUURL = siteURL + langCore + "AU/index.html";
var loungesURL = siteURL + langCore + "SI/lounges/index.html";
var customerURL = siteURL + langLocal + "customerservice/index.html";

//UDM Menus
var ualswn = new Array();

ualswn[0] = new Array();
ualswn[0][0] = new Array("Planifique y reserve", siteURL + langCore + "PB/index.html", 139);
ualswn[0][1] = new Array("Vuelos", bookingURL);
ualswn[0][2] = new Array("Hoteles", siteURL + langCore + "PB/hotel.html");
ualswn[0][3] = new Array("Autom&oacute;viles ", siteURL + langCore + "PB/car.html");
ualswn[0][4] = new Array("Vacations", "http://www.unitedvacations.com/\" target=\"_blank");
ualswn[0][5] = new Array("Reserve con millas", awardURL, "separatorAbove");
ualswn[0][6] = new Array("Promociones", siteURL + langLocal + "PB/deals/index.html");
ualswn[0][7] = new Array("My trip templates", templatesURL, "separatorAbove");
ualswn[0][8] = new Array("Tabla de horarios", siteURL + langCore + "PB/timetables/index.html");
ualswn[0][9] = new Array("Mapas de rutas", siteURL + langCore + "PB/routemaps/index.html");
ualswn[0][10] = new Array("Informaci&oacute;n de destinos", siteURL + langCore + "PB/destination/index.html");
ualswn[0][11] = new Array("Visita virtual", siteURL + langCore + "PB/virtualvisit.html");

ualswn[1] = new Array();
ualswn[1][0] = new Array("Itinerarios y check-in", siteURL + langCore + "IC/index.html", 149);
ualswn[1][1] = new Array("Mis itinerarios", myitinsURL);
ualswn[1][2] = new Array("Notificaciones sobre vuelos", siteURL + langCore + "IC/notification/index.html", "separatorAbove");

ualswn[2] = new Array();
ualswn[2][0] = new Array("Mileage Plus", siteURL + langCore + "MP/index.html", 134);
ualswn[2][1] = new Array("Inscr&iacute;base Mileage Plus", mpjoinURL);
ualswn[2][2] = new Array("Resumen de cuenta Mileage Plus", mpsummaryURL, "separatorAbove");
ualswn[2][3] = new Array("Acredite millas", siteURL + langCore + "MP/earnmiles/index.html");
ualswn[2][4] = new Array("Canjee millas", siteURL + langCore + "MP/redeemmiles/index.html");
ualswn[2][5] = new Array("Compre millas", "http://www.ualmiles.com/\" target=\"_blank");
ualswn[2][6] = new Array("Sobre Mileage Plus", siteURL + langCore + "MP/aboutmp/index.html", "separatorAbove");
ualswn[2][7] = new Array("Asesor&iacute;a de Mileage Plus ", siteURL + langCore + "MP/mpsupport/index.html");

ualswn[3] = new Array();
ualswn[3][0] = new Array("Servicios e informaci&oacute;n", siteURL + langCore + "SI/index.html", 149);
ualswn[3][1] = new Array("Equipaje", siteURL + langCore + "SI/baggage/index.html");
ualswn[3][2] = new Array("Requerimientos de viaje", siteURL + langCore + "SI/travelreqs/index.html");
ualswn[3][3] = new Array("Ni&ntilde;os, mascotas y ayuda", siteURL + langCore + "SI/cpa/index.html");
ualswn[3][4] = new Array("Salones de aeropuerto", siteURL + langCore + "SI/lounges/index.html");
ualswn[3][5] = new Array("Informaci&oacute;n sobre el aeropuerto", siteURL + langCore + "SI/airportinfo/index.html");
ualswn[3][6] = new Array("Servicio abordo", siteURL + langCore + "SI/inflight/index.html");
ualswn[3][7] = new Array("Estatus de vuelos", siteURL + langCore + "SI/flightstatus.html");
ualswn[3][8] = new Array("Servicios Móviles", siteURL + langCore + "SI/mobile.html", "separatorAbove");
ualswn[3][9] = new Array("Conversor de monedas", siteURL + langCore + "SI/converters/currency.html");
ualswn[3][10] = new Array("Conversor de medidas", siteURL + langCore + "SI/converters/converter.html");
ualswn[3][11] = new Array("Clases de servicio", siteURL + langCore + "SI/inflight/classes/index.html");

StartinSelectLst = new Array();
StartinSelectLst[0] = new Array("My mileage summary", "&return_to=mpsummary&lang="+langUA2GO, "SI~MP");
StartinSelectLst[1] = new Array("-------------------", "", "");
StartinSelectLst[2] = new Array("My profile", "&whereto=UpdateProfile.jsp", "");
StartinSelectLst[3] = new Array("My trip templates", "&return_to=triptemplate&lang="+langUA2GO, "");

function gotoURL(URL){
window.location=URL
}
