Used Heavy Construction Equipment & Trucks For Sale
Posted on: Tuesday, February 1st, 2022 | ID: #135

0) { jcarouselHero.jcarousel(‘visible’).each(function () { $(this).trigger(‘jcarousel:visiblein’); }); } jcarouselHero.jcarouselAutoscroll({ interval: 8000 }); $(‘#jc_hero_control_prev’).jcarouselControl({ target: ‘-=1’ }).on(‘click’, function(e) { eventTrackingGTM.carouselEvent(‘hero-carousel’, ‘click’, ‘left’); }); $(‘#jc_hero_control_next’).jcarouselControl({ target: ‘+=1’ }).on(‘click’, function(e) { eventTrackingGTM.carouselEvent(‘hero-carousel’, ‘click’, ‘right’); }); $(‘#jc_hero_pagination’) .on(‘jcarouselpagination:active’, ‘a’, function() { $(this).addClass(‘active’); }) .on(‘jcarouselpagination:inactive’, ‘a’, function() { $(this).removeClass(‘active’); }) .on(‘click’, function(e) { e.preventDefault(); eventTrackingGTM.carouselEvent(‘hero-carousel’, ‘click’, ‘pagination’); }) .jcarouselPagination({ perPage: 1, item: function(page) { return ‘Page ‘ + page + ”; } }); jcarouselHero.swipe({ swipeLeft: function(event, direction, distance, duration, fingerCount) { jcarouselHero.jcarousel(‘scroll’, ‘+=1’); eventTrackingGTM.carouselEvent(‘hero-carousel’, ‘click’, ‘left’); }, swipeRight: function(event, direction, distance, duration, fingerCount) { jcarouselHero.jcarousel(‘scroll’, ‘-=1’); eventTrackingGTM.carouselEvent(‘hero-carousel’, ‘click’, ‘right’); } }); if(jcarouselHero.jcarousel(‘items’).length ‘); ]]>

 

Always-on marketplace for used construction equipment, agricultural machinery, trucks & more. ‘+alg+’
‘); } } }); $(‘#previously_viewed_items’).each(function() { loadRecommender($(this).attr(‘id’), ‘/jsp/p13n/previously-viewed-items.jsp?pagetype=home&rand=’+Math.random()); }); $(‘#featured_items’).each(function() { loadRecommender($(this).attr(‘id’), ‘/jsp/p13n/featured-items.jsp?epv=false&pagetype=home&rand=’+Math.random()+”); }); $(‘#ending_soon_items’).each(function() { loadRecommender($(this).attr(‘id’), ‘/jsp/p13n/ending-soon-items.jsp?epv=false&pagetype=home&rand=’+Math.random()+”); }); } function clickAlg() { $(‘#preset-algs’).css(‘visibility’,’visible’); var algName = $(‘#algName’).html(); $(‘#alg’).html(”); $(‘#alg-input’).focus(); return false; } function loadRecommender(divId, recommendUrl) { $.ajax({ url: recommendUrl, dataType: “json”, data: {sourcePageUrl: document.URL}, success: function(data) { var a = algs[data.jsonData.alg] ? algs[data.jsonData.alg] : {algId:data.jsonData.alg, algDesc:”}; if( getCookie(“roles”) == “sa” ) { $(‘#alg’).html(‘‘+data.jsonData.alg+”); } $(‘#preset-algs’).css(‘visibility’,’hidden’); if(data.jsonData.items.length > 0) { $(‘#c_’+divId).css(“display”,”block”); buildCubes(data.jsonData, divId); } } }); } function buildCubes(data ,divId) { var cObj = $(‘#’+divId); var carouselName = cObj.attr(‘name’); try{cObj.jcarousel(‘destroy’);cObj.find(‘div’).first().empty();}catch(err){} var targetScalable = 1; cObj.on(‘jcarousel:create jcarousel:reload’, function () { var width = cObj.innerWidth(); if (width >= 992) { targetScalable = 6; } else if (width >= 768) { targetScalable = 4; } else if (width >= 480) { targetScalable = 3; } else { targetScalable = 2; } width = width / targetScalable; visible: targetScalable; cObj.jcarousel(‘items’).css(‘width’, width + ‘px’); }) .jcarousel({ wrap: ‘circular’ }); var tile=”; for (var i = 0; i = 992) { targetScalable = 6; } else if (width >= 768) { targetScalable = 4; } else if (width >= 480) { targetScalable = 3; } else { targetScalable = 2; } width = width / targetScalable; visible: targetScalable; tile = ”; tile = tile + ”; var photoUrl = tileData.photo; if(tileData.photo.indexOf(“-small.jpg”) > -1) { photoUrl = tileData.photo.slice(0,tileData.photo.indexOf(“-small.jpg”)); photoUrl = photoUrl + “-full-nowater.jpg”; } if(tileData.noPhoto == true) { photoUrl = “/n_images/logo-bw-“+tileData.itemRealmInteger+”.png”; } tile = tile + ”; if(parseInt(tileData.equipStatus) > 31) { tile = tile + ‘]]>

SOLD

‘; } tile = tile + ‘‘; if(divId == ‘ending_soon_items’ && tileData.noPhoto == true){ photoUrl = “/images/open_phv_div_bkg.png”; tile = tile + ‘

View All

‘; } tile = tile + ‘' + tileData.description + '‘; tile = tile + ‘‘; tile = tile + ”; tile = tile + ”; tile = tile + ”; tile = tile + ”; tile = tile + ‘

‘; tile = tile + tileData.locationString+’  ‘; tile = tile + ”+tileData.distanceString+”; tile = tile + ‘

‘; if(tileData.countdownDate) { tile = tile + ‘

‘; tile = tile + ” + tileData.countdownDate + ”; tile = tile + ‘

‘; } tile = tile + ‘

‘+tileData.priceString+’

‘; tile = tile + ”; tile = tile + ”; tile = tile + ”; tile = tile + ”; cObj.find(‘div’).first().append(tile); } cObj.jcarousel(‘reload’); cObj.on(‘jcarousel:visiblein’, ‘div’, function() { if($(this).data(‘impression-done’) != ‘done’ ) { var label = $(this).children().find(‘img’).first().data(“impression-label”); eventTrackingGTM.carouselEvent(carouselName, ‘impression’, label); $(this).data(‘impression-done’, ‘done’); } var img = $(this).find(‘img’); if(img.data(‘src’) && !img.data(‘loaded’)) { img.attr(‘src’, img.data(‘src’)).data(‘loaded’, true); } return false; }); if(cObj.jcarousel(‘items’).length > 0) { cObj.jcarousel(‘visible’).each(function () { $(this).trigger(‘jcarousel:visiblein’); }); } $(‘#jc_’+divId+’_control_prev’) .on(‘jcarouselcontrol:active’, function() { $(this).removeClass(‘inactive’); }) .on(‘jcarouselcontrol:inactive’, function() { $(this).addClass(‘inactive’); }) .on(‘click’, function(e) { eventTrackingGTM.carouselEvent(carouselName, ‘click’, ‘left’); }) .jcarouselControl({ target: ‘-=’+targetScalable }); $(‘#jc_’+divId+’_control_next’) .on(‘jcarouselcontrol:active’, function() { $(this).removeClass(‘inactive’); }) .on(‘jcarouselcontrol:inactive’, function() { $(this).addClass(‘inactive’); }) .on(‘click’, function(e) { eventTrackingGTM.carouselEvent(carouselName, ‘click’, ‘right’); }) .jcarouselControl({ target: ‘+=’+targetScalable }); $(‘#jc_’+divId+’_pagination’) .on(‘jcarouselpagination:active’, ‘a’, function() { $(this).addClass(‘active’); }) .on(‘jcarouselpagination:inactive’, ‘a’, function() { $(this).removeClass(‘active’); }) .on(‘click’, function(e) { e.preventDefault(); eventTrackingGTM.carouselEvent(carouselName, ‘click’, ‘pagination’); }) .jcarouselPagination({ carousel: cObj, item: function(page, carouselItems) { return ‘Page ‘ + page + ‘‘; } }); cObj.swipe({ swipeLeft: function(event, direction, distance, duration, fingerCount) { cObj.jcarousel(‘scroll’, ‘+=1’); eventTrackingGTM.carouselEvent(carouselName, ‘click’, ‘left’); }, swipeRight: function(event, direction, distance, duration, fingerCount) { cObj.jcarousel(‘scroll’, ‘-=1’); eventTrackingGTM.carouselEvent(carouselName, ‘click’, ‘right’); } }); $(‘#jc_’+divId+’_pagination’).jcarouselPagination(‘reloadCarouselItems’); if(cObj.jcarousel(‘items’).length = 992) { targetScalable = 6; } else if (width >= 768) { targetScalable = 4; } else if (width >= 480) { targetScalable = 3; } else { targetScalable = 2; } visible: targetScalable; $(‘#jc_’+divId+’_control_prev’).jcarouselControl(‘reload’, { target: ‘-=’+targetScalable }); $(‘#jc_’+divId+’_control_next’) .jcarouselControl(‘reload’, { target: ‘+=’+targetScalable }); if(cObj.jcarousel(‘items’).length

Source