var navi = new Object() navi.navMain = new Array() navi.navMain[0] = new Object() navi.navMain[0].name = "Latin America Travel Companies" navi.navMain[0].href = "" navi.navMain[0].navSub = new Array() function jumpHref0() { var selectedData = selectbox_get_value ("selectForm0", "Select0"); var selectedPopupSize = Number(selectedData.charAt(0)); var selectedPopupResize = Number(selectedData.charAt(1)); var selectedPopupNavi = Number(selectedData.charAt(2)); var selectedURL = selectedData.substr(4,selectedData.length-1); if (selectedData.charAt(0) != " ") { popupExtWin(selectedURL,"newWin",selectedPopupSize,selectedPopupResize,selectedPopupNavi); } else { if (selectedData != ' ##') { window.location = selectedURL; } } } navi.navMain[0].navSub[0] = new Object() navi.navMain[0].navSub[0].name = "Select your company to travel" navi.navMain[0].navSub[0].href = "" navi.navMain[0].navSub[1] = new Object() navi.navMain[0].navSub[1].name = "Inkaland" navi.navMain[0].navSub[1].href = "http://www.Inkaland.com/index.html" navi.navMain[0].navSub[2] = new Object() navi.navMain[0].navSub[2].name = "Peru Trek" navi.navMain[0].navSub[2].href = " #http://www.perutrek.biz/index.html" navi.navMain[0].navSub[3] = new Object() navi.navMain[0].navSub[3].name = "Land of Inkas" navi.navMain[0].navSub[3].href = " #http://www.inkaland.org/index.html" navi.navMain[0].navSub[4] = new Object() navi.navMain[0].navSub[4].name = "Latin America Trips" navi.navMain[0].navSub[4].href = " #http://www.latinamericatrips.com/index.html" navi.navMain[0].navSub[5] = new Object() navi.navMain[0].navSub[5].name = "Amautas Org" navi.navMain[0].navSub[5].href = " #http://www.amautas.org" navi.navMain[0].navSub[6] = new Object() navi.navMain[0].navSub[6].name = "Inkaland info" navi.navMain[0].navSub[6].href = " #http://www.inkaland.com/index.html" navi.navMain[0].navSub[7] = new Object() navi.navMain[0].navSub[7].name = "Red Inka" navi.navMain[0].navSub[7].href = " #http://www.redinka.com/index.html" navi.navMain[0].navSub[8] = new Object() navi.navMain[0].navSub[8].name = "Tour Operator" navi.navMain[0].navSub[8].href = " ##" navi.navMain[0].navSub[9] = new Object() navi.navMain[0].navSub[9].name = "Inkaland Group" navi.navMain[0].navSub[9].href = " #http://www.inkalandtravel.com/index.html" navi.navMain[0].navSub[10] = new Object() navi.navMain[0].navSub[10].name = "Live the Peru" navi.navMain[0].navSub[10].href = " #http://www.peru.viagens.ws" navi.navMain[0].navSub[11] = new Object() navi.navMain[0].navSub[11].name = "Sudamerica" navi.navMain[0].navSub[11].href = " #http://www.sudamerica.biz/index.html" navi.navMain[0].navSub[12] = new Object() navi.navMain[0].navSub[12].name = "Hiking Peru " navi.navMain[0].navSub[12].href = " #http://www.hikingperu.info/index.html" navi.navMain[0].navSub[13] = new Object() navi.navMain[0].navSub[13].name = "Inca Trail Machupicchu" navi.navMain[0].navSub[13].href = " #http://www.incatrailmachupicchu.info/" navi.navMain[1] = new Object() navi.navMain[1].name = "Destinations in Latin America" navi.navMain[1].href = "#" navi.navMain[1].navSub = new Array() function jumpHref1() { var selectedData = selectbox_get_value ("selectForm1", "Select1"); var selectedPopupSize = Number(selectedData.charAt(0)); var selectedPopupResize = Number(selectedData.charAt(1)); var selectedPopupNavi = Number(selectedData.charAt(2)); var selectedURL = selectedData.substr(4,selectedData.length-1); if (selectedData.charAt(0) != " ") { popupExtWin(selectedURL,"newWin",selectedPopupSize,selectedPopupResize,selectedPopupNavi); } else { if (selectedData != ' ##') { window.location = selectedURL; } } } navi.navMain[1].navSub[0] = new Object() navi.navMain[1].navSub[0].name = "Select the country to travel" navi.navMain[1].navSub[0].href = " ##" navi.navMain[1].navSub[1] = new Object() navi.navMain[1].navSub[1].name = "Travel to Argentina" navi.navMain[1].navSub[1].href = " #http:/www.latinamericatrips.com/argentina/argentina.html" navi.navMain[1].navSub[2] = new Object() navi.navMain[1].navSub[2].name = "Travel to Belize" navi.navMain[1].navSub[2].href = " #http://www.latinamericatrips.com/belize/belize.html" navi.navMain[1].navSub[3] = new Object() navi.navMain[1].navSub[3].name = "Travel to Bolivia" navi.navMain[1].navSub[3].href = " #http://www.latinamericatrips.com/index.html" navi.navMain[1].navSub[4] = new Object() navi.navMain[1].navSub[4].name = "Travel to Brazil" navi.navMain[1].navSub[4].href = " #http://www.latinamericatrips.com/brazil/brazil.html" navi.navMain[1].navSub[5] = new Object() navi.navMain[1].navSub[5].name = "Travel to Chile" navi.navMain[1].navSub[5].href = " #http://www.latinamericatrips.com/chile/chile.html" navi.navMain[1].navSub[6] = new Object() navi.navMain[1].navSub[6].name = "Travel to Colombia" navi.navMain[1].navSub[6].href = " #http://www.latinamericatrips.com/colombia/colombia.html" navi.navMain[1].navSub[7] = new Object() navi.navMain[1].navSub[7].name = "Travel to Costa Rica" navi.navMain[1].navSub[7].href = " #http://www.latinamericatrips.com/costa-rica/costa-rica.html" navi.navMain[1].navSub[8] = new Object() navi.navMain[1].navSub[8].name = "Travel to Cuba" navi.navMain[1].navSub[8].href = " #http://www.latinamericatrips.com/cuba/cuba.html" navi.navMain[1].navSub[9] = new Object() navi.navMain[1].navSub[9].name = "Travel to Ecuador" navi.navMain[1].navSub[9].href = " #http://www.latinamericatrips.com/ecuador/ecuador.html" navi.navMain[1].navSub[10] = new Object() navi.navMain[1].navSub[10].name = "Travel to Guatemala" navi.navMain[1].navSub[10].href = " #http://www.latinamericatrips.com/guatemala/guatemala.html" navi.navMain[1].navSub[11] = new Object() navi.navMain[1].navSub[11].name = "Travel to Honduras" navi.navMain[1].navSub[11].href = " #http://www.latinamericatrips.com/honduras/honduras.html" navi.navMain[1].navSub[12] = new Object() navi.navMain[1].navSub[12].name = "Travel to Mexico" navi.navMain[1].navSub[12].href = " #http://www.latinamericatrips.com/mexico/mexico.html" navi.navMain[1].navSub[13] = new Object() navi.navMain[1].navSub[13].name = "Travel to Nicaragua" navi.navMain[1].navSub[13].href = " #http://www.latinamericatrips.com/nicaragua/nicaragua.html" navi.navMain[1].navSub[14] = new Object() navi.navMain[1].navSub[14].name = "Travel to Panama" navi.navMain[1].navSub[14].href = " #http://www.latinamericatrips.com/panama/panama.html" navi.navMain[1].navSub[15] = new Object() navi.navMain[1].navSub[15].name = "Travel to Paraguay" navi.navMain[1].navSub[15].href = " #http://www.latinamericatrips.com/paraguay/paraguay.html" navi.navMain[1].navSub[16] = new Object() navi.navMain[1].navSub[16].name = "Travel to Peru" navi.navMain[1].navSub[16].href = " #http://www.latinamericatrips.com/peru/peru.html" navi.navMain[1].navSub[17] = new Object() navi.navMain[1].navSub[17].name = "Travel to Uruguay" navi.navMain[1].navSub[17].href = " #http://www.latinamericatrips.com/uruguay/uruguay.html" navi.navMain[1].navSub[18] = new Object() navi.navMain[1].navSub[18].name = "Travel to Venezuela" navi.navMain[1].navSub[18].href = " #http://www.latinamericatrips.com/venezuela/venezuela.html" navi.navMain[2] = new Object() navi.navMain[2].name = "Espaņol" navi.navMain[2].href = "/espanol.html" navi.navMain[2].navSub = new Array() function jumpHref2() { var selectedData = selectbox_get_value ("selectForm2", "Select2"); var selectedPopupSize = Number(selectedData.charAt(0)); var selectedPopupResize = Number(selectedData.charAt(1)); var selectedPopupNavi = Number(selectedData.charAt(2)); var selectedURL = selectedData.substr(4,selectedData.length-1); if (selectedData.charAt(0) != " ") { popupExtWin(selectedURL,"newWin",selectedPopupSize,selectedPopupResize,selectedPopupNavi); } else { if (selectedData != ' ##') { window.location = selectedURL; } } } function selectbox_get_value (FormName, FieldName) { var result = ""; var selIndex; var fieldCount; if (NS4) { var LayerCount = document.layers.length / 3; var formCounter = 0; for(var i = 0; i < LayerCount; i++) { var layerName = "sub" + i; var formName = "selectForm" + i; if (String(document.layers[layerName]) != "undefined") { var subMenue = document.layers[layerName].document.forms[formName].length > 0; if (subMenue == true) { formCounter = formCounter + 1; } } } for(var i = 0; i < formCounter; i++) { var layerName = "sub" + i; var formName = "selectForm" + i; if (document.layers[layerName].document.forms[formName].name == FormName) { fieldCount = document.layers[layerName].document.forms[formName].length; for (j=0; j < fieldCount; j++) { if (document.layers[layerName].document.forms[formName].elements[j].name == FieldName) { selIndex = document.layers[layerName].document.forms[formName].elements[j].options.selectedIndex; if (selIndex >= 0) { result = document.layers[layerName].document.forms[formName].elements[j].options[selIndex].value; } else result = ""; } document.layers[layerName].document.forms[formName].reset(); } } } } else { for (i=0; i < document.forms.length && document.forms[i].name != FormName; i++); if (document.forms[i].name == FormName) { fieldCount = document.forms[i].elements.length; for (j=0; j < fieldCount && document.forms[i].elements[j].name != FieldName; j++); if (document.forms[i].elements[j].name == FieldName) { selIndex = document.forms[i].elements[j].options.selectedIndex; if (selIndex >= 0) result = document.forms[i].elements[j].options[selIndex].value; else result = ""; } document.forms[i].reset(); } } return result; }