Página Inicial Equipamentos Construção Escavadoras Escavadoras de rastos Caterpillar
“); if ($(“#locationSearch”).val().trim().length > 0) { $(‘#submitGeoSrc’).append(“”); $(‘#submitGeoSrc’).append(“”); $(‘#submitGeoSrc’).append(“”); } } if ($(‘#q’).length) $(‘#q’).val($(“#freeTxtSearch”).val()); else $(‘#submitGeoSrc’).append(“”); $(‘#submitGeoSrc’).append(“”); $(‘#submitGeoSrc’).append(“”); $(‘#aspnetForm’).submit(); } function disableEnterToSubmit() { var input = document.getElementById(‘locationSearch’); google.maps.event.addDomListener(input, ‘keydown’, function (e) { setLocationSearchType(“null”); $(“.search .button”).addClass(“disabled”); var suggestion_selected = $(“.pac-item-selected”).length > 0; if (e.keyCode === 13 && !e.triggered) { if (!suggestion_selected) google.maps.event.trigger(this, ‘keydown’, { keyCode: 40 }) google.maps.event.trigger(this, ‘keydown’, { keyCode: 13, triggered: true }) if ($(“.search_form_fields input.button”).length > 0) setTimeout(function () { if(_locationSearchType != “” && _locationSearchType != null) $(“.search_button input.button”).click(); }, 300); } }); google.maps.event.addDomListener(input, ‘keyup’, function (e) { if ($(“#locationSearch”).val() == “”) $(“.search .button”).removeClass(“disabled”); }); } function appendLongLatToForm(geoLat, geoLong) { if ($(“#locationSearch”) && $(“#locationSearch”).val().trim().length > 0) { var geoDist = $(“#locationRange”).val(); var geoName = $(“#locationSearch”).val(); if($(“#submitGeoSrc”).length > 0) $(“#submitGeoSrc”).remove(); $(‘#aspnetForm’).append(“
“); $(‘#submitGeoSrc’).append(“”); $(‘#submitGeoSrc’).append(“”); $(‘#submitGeoSrc’).append(“”); $(‘#submitGeoSrc’).append(“”); $(‘#submitGeoSrc’).append(“”); var $form = $(document.forms[0]); var action = $form.attr(“action”); if (action.indexOf(“geolong”) != -1) { action = removeParam(“geolong”, action); action = removeParam(“geolat”, action); action = removeParam(“distrange”, action); action = removeParam(“locationName”, action); } action += “&geolong=” + geoLong + “&geolat=” + geoLat + “&distrange=” + geoDist + “&locationName=” + encodeURI(geoName); $form.attr(“action”, action); } } function appendCodeToForm(codeType, codeValue) { removeCodeFromForm(); if (codeType == “countrycode”) { $(‘#aspnetForm’).append(“”); } else if (codeType == “region”) { $(‘#aspnetForm’).append(“”); $(‘#aspnetForm’).append(“”); } } function removeCodeFromForm() { if ($(“#srcCountryCode”).length > 0) $(“#srcCountryCode”).remove(); if($(“#srcRegionCode”).length > 0) $(“#srcRegionCode”).remove(); } function removeLongLatFromForm() { $(“#submitGeoSrc”).remove(); var $form = $(document.forms[0]); var action = $form.attr(“action”); if (action.indexOf(“geolong”) != -1) { action = removeParam(“geolong”, action); action = removeParam(“geolat”, action); action = removeParam(“distrange”, action); action = removeParam(“locationName”, action); } $form.attr(“action”, action); } function removeParam(key, sourceURL) { var rtn = sourceURL.split(“?”)[0], param, params_arr = [], queryString = (sourceURL.indexOf(“?”) !== -1) ? sourceURL.split(“?”)[1] : “”; if (queryString !== “”) { params_arr = queryString.split(“&”); for (var i = params_arr.length – 1; i >= 0; i -= 1) { param = params_arr[i].split(“=”)[0]; if (param === key) { params_arr.splice(i, 1); } } rtn = rtn + “?” + params_arr.join(“&”); } return rtn; } function overrideFacetFunctions() { countrySearchSubmit = function () { var baseUrl = “/pt”; var queryUrl = “/search.aspx”; if (_locationSearchType == “country”) { var q = $(“input[name=’q’]”).val(); var countrycode = “”; if (sessionStorage.locationCountryCode != undefined) countrycode = sessionStorage.locationCountryCode else countrycode = $(“#srcCountryCode”).val(); queryUrl += “?q=” + encodeURI(q); if (countrycode.length > 0) queryUrl += “&sf_countrycode=” + encodeURI(countrycode); } queryUrl = baseUrl + queryUrl; window.location = queryUrl; } regionSearchInput = function () { var baseUrl = “/pt”; var queryUrl = “/search.aspx”; if (_locationSearchType == “region”) { var q = $(“input[name=’q’]”).val(); var regioncode = “”; var countrycode = “”; if (sessionStorage.locationRegionCode != undefined) regioncode = sessionStorage.locationRegionCode; else regioncode = $(“#srcRegionCode”).val(); if (sessionStorage.locationCountryCode != undefined) countrycode = sessionStorage.locationCountryCode; else countrycode = $(“#srcCountryCode”).val(); queryUrl += “?q=” + encodeURI(q); if (regioncode.length > 0) queryUrl += “&sf_region=” + encodeURI(regioncode) + “&sf_country=” + encodeURI(countrycode); } queryUrl = baseUrl + queryUrl; window.location = queryUrl; } geoSearchSubmit = function () { $(“#locationRange”).val(500000); var baseUrl = “/pt”; var queryUrl = “/search.aspx”; if (window.location.pathname.indexOf(‘/dealer.aspx’) >= 0) queryUrl = “/dealer.aspx”; if (_locationSearchType == “location”) { var q = $(“input[name=’q’]”).val(); if (q == undefined) q = ”; var locationQuery = makeLocationQuery(“q”); queryUrl += “?q=” + encodeURI(q); var queryString = window.location.search; const urlParams = new URLSearchParams(queryString); urlParams.delete(‘q’); if (locationQuery.indexOf(‘geolat’) >= 0) { urlParams.delete(‘geolat’); urlParams.delete(‘sf_geolat’); } if (locationQuery.indexOf(‘geolong’) >= 0) { urlParams.delete(‘geolong’); urlParams.delete(‘sf_geolong’); } if (locationQuery.indexOf(‘distrange’) >= 0) { urlParams.delete(‘distrange’); urlParams.delete(‘sf_distrange’); } if (locationQuery.indexOf(‘locationName’) >= 0) { urlParams.delete(‘locationName’); urlParams.delete(‘locationname’); } var urlToAppend = urlParams.toString(); queryUrl += locationQuery + (urlToAppend.length > 0 && urlToAppend != ‘&’ ? ‘&’ + urlToAppend : ”); } queryUrl = baseUrl + queryUrl; window.location = queryUrl; } noLocationSearchSubmit = function () { var baseUrl = “/pt”; var queryUrl = “/search.aspx”; var q = ”; $(“input[name=’q’]”).each(function() { if ($(this).val() != ” && $(this).val() != ‘,’) { q = $(this).val(); return; } }); queryUrl += “?q=” + encodeURI(q); queryUrl = baseUrl + queryUrl; window.location = queryUrl; } locationSearchSubmit = function () { if (sessionStorage.locationSearchType != undefined) _locationSearchType=sessionStorage.locationSearchType if (_locationSearchType == “country”) countrySearchSubmit(); else if (_locationSearchType == “region”) regionSearchInput(); else if (_locationSearchType == “location”) geoSearchSubmit(); else noLocationSearchSubmit(); } addFilter = function (paramType, name, value, displayText) { if (displayText && displayText != value) value += _valueDataSeparator + displayText; var url = getFilterQuery(‘a’ + paramType, name + ‘=’ + encodeURIComponent(value)); url += makeLocationQuery(); if (window.location.href.indexOf(“view=1”) > -1) { window.location = url + “&view=1”; } else { window.location = url; } } addMultipleFilter = function (paramType, name, value, displayText) { if (displayText && displayText != value) value += _valueDataSeparator + displayText; var url = getFilterQuery(‘a’ + paramType, name + ‘=’ + value); url += makeLocationQuery(); var sfField = “sf_” + name; if (url.indexOf(sfField) > -1) { var sfValue = getParameterByName(sfField, url); url = url.replace(“&” + sfField + “=” + sfValue,””); } if (window.location.href.indexOf(“view=1”) > -1) { window.location = url + “&view=1”; } else { window.location = url; } } updateFilter = function (paramType, name, value, displayText) { if (displayText && displayText != value) value += _valueDataSeparator + displayText; var url = getFilterQuery(‘u’ + paramType, name + ‘=’ + encodeURIComponent(value)); url += makeLocationQuery(); if (window.location.href.indexOf(“view=1”) > -1) { window.location = url + “&view=1″; } else { window.location = url; } } removeFilter = function (paramType, name, value) { var url = ”; if (name == ‘q’) { url = removeParam(‘q’, window.location.href); if (url.indexOf(“?”) == url.length – 1) url = url .replace(“?”, “”); } else { if (!value) value = ‘*’ url = getFilterQuery(‘r’ + paramType, name + ‘=’ + encodeURIComponent(value)); } if (name != “locationName”) url += makeLocationQuery(); window.location = url; } updateFilters = function (btnParamType, btnName, btnValue) { var searchParams = ”; var refineParams = ”; if (btnParamType && btnName && btnValue) { if ($.isArray(btnValue) && btnName.indexOf(_rangeSuffix) == -1) btnName += _rangeSuffix; if (getCachedFilterIndex(btnName) == -1) { if ($.isArray(btnValue)) cacheFilterChange(btnParamType, btnName, btnValue[0] + _rangeSeparator + btnValue[1], null); else cacheFilterChange(btnParamType, btnName, btnValue, null); } } for (var i = 0; i < _changeCache.length; i++) { var param = _changeCache[i].name + ‘=’ + _changeCache[i].value; if (_changeCache[i].paramType == ‘s’) { if (searchParams.length != 0) searchParams += ‘&’; searchParams += param; } else if (_changeCache[i].paramType == ‘r’) { if (refineParams.length != 0) refineParams += ‘&’; refineParams += param; } } var url = getFilterPage(); if (searchParams) url = addToQuery(‘us’, searchParams, url); if (refineParams) url = addToQuery(‘ur’, refineParams, url); url += makeLocationQuery(); window.location = url; } changePageSize = function (size) { var url = _pageSizeChangeUrl.replace(/\{0\}/, size) + makeLocationQuery(); if (GetQueryString(“SortBy”) != null) window.location = url + “&SortBy=” + GetQueryString(“SortBy”); else window.location = url; //var href = window.location.href; //if (href.indexOf(“Page=”) > -1) // href = href.replace(/Page=\d+/, “Page=1”); //if (href.indexOf(“PageSize”) > -1) // href = href.replace(/PageSize=\w+/, “PageSize=” + size); //else if (href.indexOf(“?”) > -1) // href = href + “&PageSize=” + size; //else // href = href + “?PageSize=” + size; //window.location = href; } changeSort = function (sortBy) { var url = _sortChangeUrl.replace(/\{0\}/, sortBy) + makeLocationQuery(); //alert(url); if (GetQueryString(“PageSize”) != null) window.location = url + “&PageSize=” + GetQueryString(“PageSize”); else window.location = url; //var href = window.location.href; //if (href.indexOf(“SortBy”) > -1) // window.location = href.replace(/SortBy=\w+/, “SortBy=” + sortBy); //else if (href.indexOf(“?”) > -1) // window.location = href + “&SortBy=” + sortBy; //else // window.location = href + “?SortBy=” + sortBy; } }
Página Inicial Equipamentos Construção Escavadoras Escavadoras de rastos Caterpillar
Adicional aos favoritos
‘).appendTo(‘.gallery’); } $(‘.customThumb’).appendTo(‘.gallery .gallery-thumbs’); $(‘.customThumb’).show(); });
Compartilhar:
Email x
Nome
O meu endereço de E-mail:*
Endereço de E-mail do meu amigo:*
Mensagem:
Author: Errol Quitzon
Last Updated: 15/05/2023
Views: 5682
Rating: 4.9 / 5 (79 voted)
Reviews: 86% of readers found this page helpful
Name: Errol Quitzon
Birthday: 1993-04-02
Address: 70604 Haley Lane, Port Weldonside, TN 99233-0942
Phone: +9665282866296
Job: Product Retail Agent
Hobby: Computer programming, Horseback riding, Hooping, Dance, Ice skating, Backpacking, Rafting
Introduction: My name is Errol Quitzon, I am a fair, cute, fancy, clean, attractive, sparkling, kind person who loves writing and wants to share my knowledge and understanding with you.
© 2023 Fimsol. All Rights Reserved.