/* ====================
   ARGENTINA
   ESPANOL
   updated 2011-11-16 Ranjeet.gill
================================== */

//Variables
var siteURL = "/";
var langCore = "core/espanol/";
var langLocal = "local/espanol/";
var langUA2GO = "es";
var countrysiteId="61";
var countryTel = "ar";
var countryUA2GO = "uaargentina";
var disableTracking = true; // this disables insightfirst being auto appended to the SWN menus href
var sMenuVS_NavSource = "Dropdown07"; 
var countryCurr = "ars";

//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 mpsummaryURL = "https://www.ua2go.com/ci/Login.jsp?return_to=mpsummary&country="+ countryTel+ "&lang="+langUA2GO;
var multicityURL = "http://travel.united.com/ube/core/" + countryTel + "/shop.do?shop_triptype=multicity&lang=" + langUA2GO;
//var myitinsURL = siteURL + langCore+ "IC/login/index.html";
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;
var templatesURL = "https://www.ua2go.com/ci/Login.jsp?return_to=triptemplate&stamp=/" + countryUA2GO + "&lang=" + langUA2GO;

//UA2GO
var mpfindnumberURL = "https://www.ua2go.com/ci/mpLookUp.do?stamp=/" + countryUA2GO + "&lang=" + langUA2GO;
var mpforgetURL = "https://www.ua2go.com/ci/PRGetMPNumber.jsp?stamp=/" + countryUA2GO + "&lang=" + langUA2GO;
var mpjoinURL = "https://www.ua2go.com/ci/JoinMileagePlus.jsp?stamp=/" + countryUA2GO + "&lang=" + langUA2GO;
var mpregisterURL = "https://www.ua2go.com/ci/Registration.jsp?stamp=/" + countryUA2GO + "&lang=" + langUA2GO;
var updateprofileURL = "https://www.ua2go.com/ci/UpdateProfile.jsp?stamp=/" + countryUA2GO + "&lang=" + langUA2GO;
var centerpostURL = "https://www.ua2go.com/ci/Login.jsp?stamp=/" + countryUA2GO + "&return_to=centerPost";
var icticketrefundURL = "https://www.ua2go.com/ci/Login.jsp?return_to=refund";

//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";
var refundsURL = "http://faq.ua2go.com/display/4/kb/optional/index.aspx?tab=opt2&opt=2";
var webcheckinURL = "https://travel.united.com/etc/webcheckin/nonrevenue/login.do?stamp=/" + countryUA2GO + "&siteId=" + countrysiteId + "&lang=" + langUA2GO;

//Partners
var hotelURL = "http://www.travelnow.com/templates/361004?lang="+langUA2GO+"&currency="+countryCurr;

//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?navSource="+sMenuVS_NavSource+"&linkTitle=planningandbooking", 139);
ualswn[0][1] = new Array("Vuelos", bookingURL+"&navSource="+sMenuVS_NavSource+"&linkTitle=shopforflights");
ualswn[0][2] = new Array("Hoteles", hotelURL + "&navSource="+sMenuVS_NavSource+"&linkTitle=hotels");

ualswn[0][3] = new Array("Autom&oacute;viles ", "http://cars.united.com/web/en-US/carShopping/content/reservations/car.aspx?navSource="+sMenuVS_NavSource+"&linkTitle=cars"); 
//ualswn[0][2] = new Array("Autom&oacute;viles ", siteURL + langCore + "PB/car.html?navSource="+sMenuVS_NavSource+"&linkTitle=cars");
//ualswn[0][4] = new Array("Vacations", "http://www.unitedvacations.com/\" target=\"_blank");
ualswn[0][4] = new Array("Travel Options", siteURL + langCore + "AU/travel_options.html?navSource="+sMenuVS_NavSource+"&linkTitle=travelenhancements");
ualswn[0][5] = new Array("Reserve con millas", awardURL+"&navSource="+sMenuVS_NavSource+"&linkTitle=awardtravel", "separatorAbove");
ualswn[0][6] = new Array("Promociones", siteURL + langLocal + "PB/deals/index.html?navSource="+sMenuVS_NavSource+"&linkTitle=specialdeals");
ualswn[0][7] = new Array("Mis trip templates", templatesURL+"&navSource="+sMenuVS_NavSource+"&linkTitle=mytriptemplates", "separatorAbove");
ualswn[0][8] = new Array("Tabla de horarios", siteURL + langCore + "PB/timetables/index.html?navSource="+sMenuVS_NavSource+"&linkTitle=timetables");
ualswn[0][9] = new Array("Mapas de rutas", siteURL + langCore + "PB/routemaps/index.html?navSource="+sMenuVS_NavSource+"&linkTitle=routemaps");
ualswn[0][10] = new Array("Informaci&oacute;n de destinos", siteURL + langCore + "PB/destination/index.html?navSource="+sMenuVS_NavSource+"&linkTitle=destinationinformation");
//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?navSource="+sMenuVS_NavSource+"&linkTitle=itinerariesandcheckin", 149);
ualswn[1][1] = new Array("Mis itinerarios", myitinsURL+"&navSource="+sMenuVS_NavSource+"&linkTitle=itineraries");
ualswn[1][2] = new Array("Cambio de planes de viaje", siteURL + langCore + "IC/change_travelplan.html?navSource="+sMenuVS_NavSource+"&linkTitle=change_travelplan");
ualswn[1][3] = new Array("Ascenso de Clase", siteURL + langCore + "IC/upgrades/index.html?navSource="+sMenuVS_NavSource+"&linkTitle=upgrades");
ualswn[1][4] = new Array("Realice el check in por Internet", siteURL + langCore + "IC/easyCheckinOnline.html?navSource="+sMenuVS_NavSource+"&linkTitle=check in", "separatorAbove");
ualswn[1][5] = new Array("Notificaciones sobre vuelos", siteURL + langCore + "IC/notification/index.html?navSource="+sMenuVS_NavSource+"&linkTitle=flightnotification");
ualswn[1][6] = new Array("Devolución de pasajes", siteURL + langCore + "IC/eticket_refunds.html?navSource="+sMenuVS_NavSource+"&linkTitle=refunds", "separatorAbove");


ualswn[2] = new Array();
ualswn[2][0] = new Array("MileagePlus", siteURL + langCore + "MP/index.html?navSource="+sMenuVS_NavSource+"&linkTitle=mileageplus", 134);
ualswn[2][1] = new Array("Inscr&iacute;base MileagePlus", mpjoinURL+"&navSource="+sMenuVS_NavSource+"&linkTitle=join");
ualswn[2][2] = new Array("Resumen de cuenta MileagePlus", mpsummaryURL+"&navSource="+sMenuVS_NavSource+"&linkTitle=mileagesummary", "separatorAbove");
ualswn[2][3] = new Array("Acredite millas", siteURL + langCore + "MP/earnmiles/index.html?"+sMenuVS_NavSource+"&linkTitle=earnmiles");
ualswn[2][4] = new Array("Canjee millas", siteURL + langCore + "MP/redeemmiles/index.html?navSource="+sMenuVS_NavSource+"&linkTitle=redeemmiles");
ualswn[2][5] = new Array("Compre millas",  "http://www.ualmiles.com?navSource="+sMenuVS_NavSource+"&linkTitle=buyortransfermiles\" target=\"_blank");
ualswn[2][6] = new Array("Sobre MileagePlus", siteURL + langCore + "MP/aboutmp/index.html?navSource="+sMenuVS_NavSource+"&linkTitle=buyortransfermiles", "separatorAbove");
ualswn[2][7] = new Array("Asesor&iacute;a de MileagePlus ", siteURL + langCore + "MP/mpsupport/index.html?navSource="+sMenuVS_NavSource+"&linkTitle=mileageplussupport");

ualswn[3] = new Array();
ualswn[3][0] = new Array("Servicios e informaci&oacute;n", siteURL + langCore + "SI/index.html?navSource="+sMenuVS_NavSource+"&linkTitle=servicesandinformation", 165);
ualswn[3][1] = new Array("Estatus del vuelo", siteURL + langCore + "SI/flightstatus.html?navSource="+sMenuVS_NavSource+"&linkTitle=flightstatus");
ualswn[3][2] = new Array("Servicios móviles", siteURL + langCore + "SI/mobile.html?navSource="+sMenuVS_NavSource+"&linkTitle=wireless");
ualswn[3][3] = new Array("Equipaje", siteURL + langCore + "SI/baggage/index.html?navSource="+sMenuVS_NavSource+"&linkTitle=baggage","separatorAbove");
ualswn[3][4] = new Array("Requisitos de viaje", siteURL + langCore + "SI/travelreqs/index.html?navSource="+sMenuVS_NavSource+"&linkTitle=travelrequirements");
ualswn[3][5] = new Array("Niños, animales de compañía y asistencia", siteURL + langCore + "SI/cpa/index.html?navSource="+sMenuVS_NavSource+"&linkTitle=assistance");
ualswn[3][6] = new Array("Información sobre el aeropuerto", siteURL + langCore + "SI/airportinfo/index.html?navSource="+sMenuVS_NavSource+"&linkTitle=airportinformation");
ualswn[3][7] = new Array("Salones de aeropuerto", siteURL + langCore + "SI/lounges/index.html?navSource="+sMenuVS_NavSource+"&linkTitle=airportlounges");
ualswn[3][8] = new Array("Servicio de a bordo", siteURL + langCore + "SI/inflight/index.html?navSource="+sMenuVS_NavSource+"&linkTitle=in-flightservices");
ualswn[3][9] = new Array("Economy Plus anual", siteURL + langCore + "AU/economy_plus_annual.html?navSource="+sMenuVS_NavSource+"&linkTitle=epa");
//ualswn[3][10] = new Array("Compromiso con nuestros clientes", siteURL + langCore + "SI/commitment/index.html?navSource="+sMenuVS_NavSource+"&linkTitle=ourcustomer","separatorAbove");
//ualswn[3][11] = new Array("Devoluciones", refundsURL, "separatorAbove");

//ualswn[3][10] = new Array("Conversor de monedas", siteURL + langCore + "SI/converters/currency.html", "separatorAbove");
//ualswn[3][11] = new Array("Conversor de medidas", siteURL + langCore + "SI/converters/converter.html");

StartinSelectLst = new Array();
StartinSelectLst[0] = new Array("Resumen de cuenta", "&return_to=mpsummary&lang="+langUA2GO, "SI~MP");
StartinSelectLst[1] = new Array("Mis itinerarios", "&return_to=newitin&lang="+langUA2GO, "IC");
StartinSelectLst[2] = new Array("-------------------", "", "");
StartinSelectLst[3] = new Array("Busque vuelos", "&return_to=booking&lang="+langUA2GO, "PB");
StartinSelectLst[4] = new Array("Reserve con millas", "&return_to=awardShop&lang="+langUA2GO, "");
StartinSelectLst[5] = new Array("-------------------", "", "");
StartinSelectLst[6] = new Array("Mi perfil", "&whereto=UpdateProfile.jsp", "");
StartinSelectLst[7] = new Array("Mis trip templates", "&return_to=triptemplate&lang="+langUA2GO, "");

function gotoURL(URL){
window.location=URL
}



