//informational pop-up text jQuery(function() { var moveLeft = 20; var moveDown = 10; //online $('.online').hover(function(e) { $('div#online-pop-up').show(); }, function() { $('div#online-pop-up').hide(); }); $('.online').mousemove(function(e) { $("div#online-pop-up").css('top', e.pageY + moveDown).css('left', e.pageX + moveLeft); }); //kit $('.kit').hover(function(e) { $('div#kit-text-pop-up').show(); }, function() { $('div#kit-text-pop-up').hide(); }); $('.kit').mousemove(function(e) { $("div#kit-text-pop-up").css('top', e.pageY + moveDown).css('left', e.pageX + moveLeft); }); //ttt $('.ttt').hover(function(e) { $('div#ttt-text-pop-up').show(); }, function() { $('div#ttt-text-pop-up').hide(); }); $('.ttt').mousemove(function(e) { $("div#ttt-text-pop-up").css('top', e.pageY + moveDown).css('left', e.pageX + moveLeft); }); //pre-op $('.preop').hover(function(e) { $('div#pre-op-text-pop-up').show(); }, function() { $('div#pre-op-text-pop-up').hide(); }); $('.preop').mousemove(function(e) { $("div#pre-op-text-pop-up").css('top', e.pageY + moveDown).css('left', e.pageX + moveLeft); }); //video $('.video').hover(function(e) { $('div#video-text-pop-up').show(); }, function() { $('div#video-text-pop-up').hide(); }); $('.video').mousemove(function(e) { $("div#video-text-pop-up").css('top', e.pageY + moveDown).css('left', e.pageX + moveLeft); }); }); //Toggle functions const collectionAll = document.getElementsByClassName("product_cat-online"); for (let i = 0; i < collectionAll.length; i++) { collectionAll[i].style.display = "block"; } const collectionVideo = document.getElementsByClassName("product_cat-full-training-video"); for (let i = 0; i < collectionVideo.length; i++) { collectionVideo[i].style.display = "block"; } const collectionAg = document.getElementsByClassName("product_cat-ag"); for (let i = 0; i < collectionAg.length; i++) { collectionAg[i].style.display = "block"; } const collectionMed = document.getElementsByClassName("product_cat-med"); for (let i = 0; i < collectionMed.length; i++) { collectionMed[i].style.display = "block"; } const collectionAtHeights = document.getElementsByClassName("product_cat-at-heights"); for (let i = 0; i < collectionAtHeights.length; i++) { collectionAtHeights[i].style.display = "block"; } const collectionCommunity = document.getElementsByClassName("product_cat-community-awareness"); for (let i = 0; i < collectionCommunity.length; i++) { collectionCommunity[i].style.display = "block"; } const collectionCompetent = document.getElementsByClassName("product_cat-competent-person"); for (let i = 0; i < collectionCompetent.length; i++) { collectionCompetent[i].style.display = "block"; } const collectionCrane = document.getElementsByClassName("product_cat-cranes"); for (let i = 0; i < collectionCrane.length; i++) { collectionCrane[i].style.display = "block"; } const collectionEarthmover = document.getElementsByClassName("product_cat-earthmover"); for (let i = 0; i < collectionEarthmover.length; i++) { collectionEarthmover[i].style.display = "block"; } const collectionElectric = document.getElementsByClassName("product_cat-electrical"); for (let i = 0; i < collectionElectric.length; i++) { collectionElectric[i].style.display = "block"; } const collectionEnv = document.getElementsByClassName("product_cat-environment"); for (let i = 0; i < collectionEnv.length; i++) { collectionEnv[i].style.display = "block"; } const collectionFire = document.getElementsByClassName("product_cat-fire"); for (let i = 0; i < collectionFire.length; i++) { collectionFire[i].style.display = "block"; } const collectionForklift = document.getElementsByClassName("product_cat-forklift"); for (let i = 0; i < collectionForklift.length; i++) { collectionForklift[i].style.display = "block"; } const collectionHealth = document.getElementsByClassName("product_cat-health"); for (let i = 0; i < collectionHealth.length; i++) { collectionHealth[i].style.display = "block"; } const collectionHr = document.getElementsByClassName("product_cat-hr"); for (let i = 0; i < collectionHr.length; i++) { collectionHr[i].style.display = "block"; } const collectionIndus = document.getElementsByClassName("product_cat-industrial-hygiene"); for (let i = 0; i < collectionIndus.length; i++) { collectionIndus[i].style.display = "block"; } const collectionLands = document.getElementsByClassName("product_cat-landscaping"); for (let i = 0; i < collectionLands.length; i++) { collectionLands[i].style.display = "block"; } const collectionMaritime = document.getElementsByClassName("product_cat-maritime"); for (let i = 0; i < collectionMaritime.length; i++) { collectionMaritime[i].style.display = "block"; } const collectionMobile = document.getElementsByClassName("product_cat-mobile-equipment"); for (let i = 0; i < collectionMobile.length; i++) { collectionMobile[i].style.display = "block"; } const collectionRoad = document.getElementsByClassName("product_cat-road-work"); for (let i = 0; i < collectionRoad.length; i++) { collectionRoad[i].style.display = "block"; } const collectionSmall = document.getElementsByClassName("product_cat-small-equipment"); for (let i = 0; i < collectionSmall.length; i++) { collectionSmall[i].style.display = "block"; } const collectionOther = document.getElementsByClassName("product_cat-other"); for (let i = 0; i < collectionOther.length; i++) { collectionOther[i].style.display = "block"; } const collectionTitle = document.getElementsByClassName("title"); for (let i = 0; i < collectionTitle.length; i++) { collectionTitle[i].style.display = "none"; } console.log("catalog filter script loaded2"); function triggerAll() { jQuery(".filter-tabs").removeClass("active-tab"); jQuery(".filter-tabs-span").removeClass("active-tab-span"); jQuery(".filter-tabs-cal").removeClass("active-tab-cal"); jQuery(".filter-tabs-can").removeClass("active-tab-can"); jQuery(".filter-tabs:first-of-type").addClass("active-tab"); jQuery(".filter-tabs-span:first-of-type").addClass("active-tab-span"); jQuery(".filter-tabs-cal:first-of-type").addClass("active-tab-cal"); jQuery(".filter-tabs-can:first-of-type").addClass("active-tab-can"); for (let i = 0; i < collectionVideo.length; i++) { collectionVideo[i].style.display = "block"; } for (let i = 0; i < collectionAg.length; i++) { collectionAg[i].style.display = "block"; } for (let i = 0; i < collectionMed.length; i++) { collectionMed[i].style.display = "block"; } for (let i = 0; i < collectionCommunity.length; i++) { collectionCommunity[i].style.display = "block"; } for (let i = 0; i < collectionCompetent.length; i++) { collectionCompetent[i].style.display = "block"; } for (let i = 0; i < collectionCrane.length; i++) { collectionCrane[i].style.display = "block"; } for (let i = 0; i < collectionEarthmover.length; i++) { collectionEarthmover[i].style.display = "block"; } for (let i = 0; i < collectionElectric.length; i++) { collectionElectric[i].style.display = "block"; } for (let i = 0; i < collectionEnv.length; i++) { collectionEnv[i].style.display = "block"; } for (let i = 0; i < collectionFire.length; i++) { collectionFire[i].style.display = "block"; } for (let i = 0; i < collectionForklift.length; i++) { collectionForklift[i].style.display = "block"; } for (let i = 0; i < collectionHealth.length; i++) { collectionHealth[i].style.display = "block"; } for (let i = 0; i < collectionHr.length; i++) { collectionHr[i].style.display = "block"; } for (let i = 0; i < collectionIndus.length; i++) { collectionIndus[i].style.display = "block"; } for (let i = 0; i < collectionLands.length; i++) { collectionLands[i].style.display = "block"; } for (let i = 0; i < collectionMaritime.length; i++) { collectionMaritime[i].style.display = "block"; } for (let i = 0; i < collectionMobile.length; i++) { collectionMobile[i].style.display = "block"; } for (let i = 0; i < collectionRoad.length; i++) { collectionRoad[i].style.display = "block"; } for (let i = 0; i < collectionSmall.length; i++) { collectionSmall[i].style.display = "block"; } for (let i = 0; i < collectionOther.length; i++) { collectionOther[i].style.display = "block"; } for (let i = 0; i < collectionAtHeights.length; i++) { collectionAtHeights[i].style.display = "block"; } for (let i = 0; i < collectionTitle.length; i++) { collectionTitle[i].style.display = "none"; } } function triggerVideo() { for (let i = 0; i < collectionAg.length; i++) { collectionAg[i].style.display = "none"; } for (let i = 0; i < collectionMed.length; i++) { collectionMed[i].style.display = "none"; } for (let i = 0; i < collectionCommunity.length; i++) { collectionCommunity[i].style.display = "none"; } for (let i = 0; i < collectionCompetent.length; i++) { collectionCompetent[i].style.display = "none"; } for (let i = 0; i < collectionCrane.length; i++) { collectionCrane[i].style.display = "none"; } for (let i = 0; i < collectionEarthmover.length; i++) { collectionEarthmover[i].style.display = "none"; } for (let i = 0; i < collectionElectric.length; i++) { collectionElectric[i].style.display = "none"; } for (let i = 0; i < collectionEnv.length; i++) { collectionEnv[i].style.display = "none"; } for (let i = 0; i < collectionFire.length; i++) { collectionFire[i].style.display = "none"; } for (let i = 0; i < collectionForklift.length; i++) { collectionForklift[i].style.display = "none"; } for (let i = 0; i < collectionHealth.length; i++) { collectionHealth[i].style.display = "none"; } for (let i = 0; i < collectionHr.length; i++) { collectionHr[i].style.display = "none"; } for (let i = 0; i < collectionIndus.length; i++) { collectionIndus[i].style.display = "none"; } for (let i = 0; i < collectionLands.length; i++) { collectionLands[i].style.display = "none"; } for (let i = 0; i < collectionMaritime.length; i++) { collectionMaritime[i].style.display = "none"; } for (let i = 0; i < collectionMobile.length; i++) { collectionMobile[i].style.display = "none"; } for (let i = 0; i < collectionRoad.length; i++) { collectionRoad[i].style.display = "none"; } for (let i = 0; i < collectionSmall.length; i++) { collectionSmall[i].style.display = "none"; } for (let i = 0; i < collectionOther.length; i++) { collectionOther[i].style.display = "none"; } for (let i = 0; i < collectionAtHeights.length; i++) { collectionAtHeights[i].style.display = "none"; } for (let i = 0; i < collectionVideo.length; i++) { collectionVideo[i].style.display = "block"; } } function triggerAtHeights() { for (let i = 0; i < collectionVideo.length; i++) { collectionVideo[i].style.display = "none"; } for (let i = 0; i < collectionAg.length; i++) { collectionAg[i].style.display = "none"; } for (let i = 0; i < collectionMed.length; i++) { collectionMed[i].style.display = "none"; } for (let i = 0; i < collectionCommunity.length; i++) { collectionCommunity[i].style.display = "none"; } for (let i = 0; i < collectionCompetent.length; i++) { collectionCompetent[i].style.display = "none"; } for (let i = 0; i < collectionCrane.length; i++) { collectionCrane[i].style.display = "none"; } for (let i = 0; i < collectionEarthmover.length; i++) { collectionEarthmover[i].style.display = "none"; } for (let i = 0; i < collectionElectric.length; i++) { collectionElectric[i].style.display = "none"; } for (let i = 0; i < collectionEnv.length; i++) { collectionEnv[i].style.display = "none"; } for (let i = 0; i < collectionFire.length; i++) { collectionFire[i].style.display = "none"; } for (let i = 0; i < collectionForklift.length; i++) { collectionForklift[i].style.display = "none"; } for (let i = 0; i < collectionHealth.length; i++) { collectionHealth[i].style.display = "none"; } for (let i = 0; i < collectionHr.length; i++) { collectionHr[i].style.display = "none"; } for (let i = 0; i < collectionIndus.length; i++) { collectionIndus[i].style.display = "none"; } for (let i = 0; i < collectionLands.length; i++) { collectionLands[i].style.display = "none"; } for (let i = 0; i < collectionMaritime.length; i++) { collectionMaritime[i].style.display = "none"; } for (let i = 0; i < collectionMobile.length; i++) { collectionMobile[i].style.display = "none"; } for (let i = 0; i < collectionRoad.length; i++) { collectionRoad[i].style.display = "none"; } for (let i = 0; i < collectionSmall.length; i++) { collectionSmall[i].style.display = "none"; } for (let i = 0; i < collectionOther.length; i++) { collectionOther[i].style.display = "none"; } for (let i = 0; i < collectionAtHeights.length; i++) { collectionAtHeights[i].style.display = "block"; } } function triggerAg() { for (let i = 0; i < collectionVideo.length; i++) { collectionVideo[i].style.display = "none"; } for (let i = 0; i < collectionMed.length; i++) { collectionMed[i].style.display = "none"; } for (let i = 0; i < collectionCommunity.length; i++) { collectionCommunity[i].style.display = "none"; } for (let i = 0; i < collectionCompetent.length; i++) { collectionCompetent[i].style.display = "none"; } for (let i = 0; i < collectionCrane.length; i++) { collectionCrane[i].style.display = "none"; } for (let i = 0; i < collectionEarthmover.length; i++) { collectionEarthmover[i].style.display = "none"; } for (let i = 0; i < collectionElectric.length; i++) { collectionElectric[i].style.display = "none"; } for (let i = 0; i < collectionEnv.length; i++) { collectionEnv[i].style.display = "none"; } for (let i = 0; i < collectionFire.length; i++) { collectionFire[i].style.display = "none"; } for (let i = 0; i < collectionForklift.length; i++) { collectionForklift[i].style.display = "none"; } for (let i = 0; i < collectionHealth.length; i++) { collectionHealth[i].style.display = "none"; } for (let i = 0; i < collectionHr.length; i++) { collectionHr[i].style.display = "none"; } for (let i = 0; i < collectionIndus.length; i++) { collectionIndus[i].style.display = "none"; } for (let i = 0; i < collectionLands.length; i++) { collectionLands[i].style.display = "none"; } for (let i = 0; i < collectionMaritime.length; i++) { collectionMaritime[i].style.display = "none"; } for (let i = 0; i < collectionMobile.length; i++) { collectionMobile[i].style.display = "none"; } for (let i = 0; i < collectionRoad.length; i++) { collectionRoad[i].style.display = "none"; } for (let i = 0; i < collectionSmall.length; i++) { collectionSmall[i].style.display = "none"; } for (let i = 0; i < collectionOther.length; i++) { collectionOther[i].style.display = "none"; } for (let i = 0; i < collectionAtHeights.length; i++) { collectionAtHeights[i].style.display = "none"; } for (let i = 0; i < collectionAg.length; i++) { collectionAg[i].style.display = "block"; } } function triggerMed() { for (let i = 0; i < collectionVideo.length; i++) { collectionVideo[i].style.display = "none"; } for (let i = 0; i < collectionAg.length; i++) { collectionAg[i].style.display = "none"; } for (let i = 0; i < collectionCommunity.length; i++) { collectionCommunity[i].style.display = "none"; } for (let i = 0; i < collectionCompetent.length; i++) { collectionCompetent[i].style.display = "none"; } for (let i = 0; i < collectionCrane.length; i++) { collectionCrane[i].style.display = "none"; } for (let i = 0; i < collectionEarthmover.length; i++) { collectionEarthmover[i].style.display = "none"; } for (let i = 0; i < collectionElectric.length; i++) { collectionElectric[i].style.display = "none"; } for (let i = 0; i < collectionEnv.length; i++) { collectionEnv[i].style.display = "none"; } for (let i = 0; i < collectionFire.length; i++) { collectionFire[i].style.display = "none"; } for (let i = 0; i < collectionForklift.length; i++) { collectionForklift[i].style.display = "none"; } for (let i = 0; i < collectionHealth.length; i++) { collectionHealth[i].style.display = "none"; } for (let i = 0; i < collectionHr.length; i++) { collectionHr[i].style.display = "none"; } for (let i = 0; i < collectionIndus.length; i++) { collectionIndus[i].style.display = "none"; } for (let i = 0; i < collectionLands.length; i++) { collectionLands[i].style.display = "none"; } for (let i = 0; i < collectionMaritime.length; i++) { collectionMaritime[i].style.display = "none"; } for (let i = 0; i < collectionMobile.length; i++) { collectionMobile[i].style.display = "none"; } for (let i = 0; i < collectionRoad.length; i++) { collectionRoad[i].style.display = "none"; } for (let i = 0; i < collectionSmall.length; i++) { collectionSmall[i].style.display = "none"; } for (let i = 0; i < collectionOther.length; i++) { collectionOther[i].style.display = "none"; } for (let i = 0; i < collectionAtHeights.length; i++) { collectionAtHeights[i].style.display = "none"; } for (let i = 0; i < collectionMed.length; i++) { collectionMed[i].style.display = "block"; } } function triggerCommunity() { for (let i = 0; i < collectionVideo.length; i++) { collectionVideo[i].style.display = "none"; } for (let i = 0; i < collectionAg.length; i++) { collectionAg[i].style.display = "none"; } for (let i = 0; i < collectionMed.length; i++) { collectionMed[i].style.display = "none"; } for (let i = 0; i < collectionAtHeights.length; i++) { collectionAtHeights[i].style.display = "none"; } for (let i = 0; i < collectionCompetent.length; i++) { collectionCompetent[i].style.display = "none"; } for (let i = 0; i < collectionCrane.length; i++) { collectionCrane[i].style.display = "none"; } for (let i = 0; i < collectionEarthmover.length; i++) { collectionEarthmover[i].style.display = "none"; } for (let i = 0; i < collectionElectric.length; i++) { collectionElectric[i].style.display = "none"; } for (let i = 0; i < collectionEnv.length; i++) { collectionEnv[i].style.display = "none"; } for (let i = 0; i < collectionFire.length; i++) { collectionFire[i].style.display = "none"; } for (let i = 0; i < collectionForklift.length; i++) { collectionForklift[i].style.display = "none"; } for (let i = 0; i < collectionHealth.length; i++) { collectionHealth[i].style.display = "none"; } for (let i = 0; i < collectionHr.length; i++) { collectionHr[i].style.display = "none"; } for (let i = 0; i < collectionIndus.length; i++) { collectionIndus[i].style.display = "none"; } for (let i = 0; i < collectionLands.length; i++) { collectionLands[i].style.display = "none"; } for (let i = 0; i < collectionMaritime.length; i++) { collectionMaritime[i].style.display = "none"; } for (let i = 0; i < collectionMobile.length; i++) { collectionMobile[i].style.display = "none"; } for (let i = 0; i < collectionRoad.length; i++) { collectionRoad[i].style.display = "none"; } for (let i = 0; i < collectionSmall.length; i++) { collectionSmall[i].style.display = "none"; } for (let i = 0; i < collectionOther.length; i++) { collectionOther[i].style.display = "none"; } for (let i = 0; i < collectionCommunity.length; i++) { collectionCommunity[i].style.display = "block"; } } function triggerCompetent() { for (let i = 0; i < collectionVideo.length; i++) { collectionVideo[i].style.display = "none"; } for (let i = 0; i < collectionAg.length; i++) { collectionAg[i].style.display = "none"; } for (let i = 0; i < collectionMed.length; i++) { collectionMed[i].style.display = "none"; } for (let i = 0; i < collectionAtHeights.length; i++) { collectionAtHeights[i].style.display = "none"; } for (let i = 0; i < collectionCommunity.length; i++) { collectionCommunity[i].style.display = "none"; } for (let i = 0; i < collectionCrane.length; i++) { collectionCrane[i].style.display = "none"; } for (let i = 0; i < collectionEarthmover.length; i++) { collectionEarthmover[i].style.display = "none"; } for (let i = 0; i < collectionElectric.length; i++) { collectionElectric[i].style.display = "none"; } for (let i = 0; i < collectionEnv.length; i++) { collectionEnv[i].style.display = "none"; } for (let i = 0; i < collectionFire.length; i++) { collectionFire[i].style.display = "none"; } for (let i = 0; i < collectionForklift.length; i++) { collectionForklift[i].style.display = "none"; } for (let i = 0; i < collectionHealth.length; i++) { collectionHealth[i].style.display = "none"; } for (let i = 0; i < collectionHr.length; i++) { collectionHr[i].style.display = "none"; } for (let i = 0; i < collectionIndus.length; i++) { collectionIndus[i].style.display = "none"; } for (let i = 0; i < collectionLands.length; i++) { collectionLands[i].style.display = "none"; } for (let i = 0; i < collectionMaritime.length; i++) { collectionMaritime[i].style.display = "none"; } for (let i = 0; i < collectionMobile.length; i++) { collectionMobile[i].style.display = "none"; } for (let i = 0; i < collectionRoad.length; i++) { collectionRoad[i].style.display = "none"; } for (let i = 0; i < collectionSmall.length; i++) { collectionSmall[i].style.display = "none"; } for (let i = 0; i < collectionOther.length; i++) { collectionOther[i].style.display = "none"; } for (let i = 0; i < collectionCompetent.length; i++) { collectionCompetent[i].style.display = "block"; } } function triggerCrane() { for (let i = 0; i < collectionVideo.length; i++) { collectionVideo[i].style.display = "none"; } for (let i = 0; i < collectionAg.length; i++) { collectionAg[i].style.display = "none"; } for (let i = 0; i < collectionMed.length; i++) { collectionMed[i].style.display = "none"; } for (let i = 0; i < collectionAtHeights.length; i++) { collectionAtHeights[i].style.display = "none"; } for (let i = 0; i < collectionCommunity.length; i++) { collectionCommunity[i].style.display = "none"; } for (let i = 0; i < collectionCompetent.length; i++) { collectionCompetent[i].style.display = "none"; } for (let i = 0; i < collectionEarthmover.length; i++) { collectionEarthmover[i].style.display = "none"; } for (let i = 0; i < collectionElectric.length; i++) { collectionElectric[i].style.display = "none"; } for (let i = 0; i < collectionEnv.length; i++) { collectionEnv[i].style.display = "none"; } for (let i = 0; i < collectionFire.length; i++) { collectionFire[i].style.display = "none"; } for (let i = 0; i < collectionForklift.length; i++) { collectionForklift[i].style.display = "none"; } for (let i = 0; i < collectionHealth.length; i++) { collectionHealth[i].style.display = "none"; } for (let i = 0; i < collectionHr.length; i++) { collectionHr[i].style.display = "none"; } for (let i = 0; i < collectionIndus.length; i++) { collectionIndus[i].style.display = "none"; } for (let i = 0; i < collectionLands.length; i++) { collectionLands[i].style.display = "none"; } for (let i = 0; i < collectionMaritime.length; i++) { collectionMaritime[i].style.display = "none"; } for (let i = 0; i < collectionMobile.length; i++) { collectionMobile[i].style.display = "none"; } for (let i = 0; i < collectionRoad.length; i++) { collectionRoad[i].style.display = "none"; } for (let i = 0; i < collectionSmall.length; i++) { collectionSmall[i].style.display = "none"; } for (let i = 0; i < collectionOther.length; i++) { collectionOther[i].style.display = "none"; } for (let i = 0; i < collectionCrane.length; i++) { collectionCrane[i].style.display = "block"; } } function triggerEarthmover() { for (let i = 0; i < collectionVideo.length; i++) { collectionVideo[i].style.display = "none"; } for (let i = 0; i < collectionAg.length; i++) { collectionAg[i].style.display = "none"; } for (let i = 0; i < collectionMed.length; i++) { collectionMed[i].style.display = "none"; } for (let i = 0; i < collectionAtHeights.length; i++) { collectionAtHeights[i].style.display = "none"; } for (let i = 0; i < collectionCommunity.length; i++) { collectionCommunity[i].style.display = "none"; } for (let i = 0; i < collectionCompetent.length; i++) { collectionCompetent[i].style.display = "none"; } for (let i = 0; i < collectionCrane.length; i++) { collectionCrane[i].style.display = "none"; } for (let i = 0; i < collectionElectric.length; i++) { collectionElectric[i].style.display = "none"; } for (let i = 0; i < collectionEnv.length; i++) { collectionEnv[i].style.display = "none"; } for (let i = 0; i < collectionFire.length; i++) { collectionFire[i].style.display = "none"; } for (let i = 0; i < collectionForklift.length; i++) { collectionForklift[i].style.display = "none"; } for (let i = 0; i < collectionHealth.length; i++) { collectionHealth[i].style.display = "none"; } for (let i = 0; i < collectionHr.length; i++) { collectionHr[i].style.display = "none"; } for (let i = 0; i < collectionIndus.length; i++) { collectionIndus[i].style.display = "none"; } for (let i = 0; i < collectionLands.length; i++) { collectionLands[i].style.display = "none"; } for (let i = 0; i < collectionMaritime.length; i++) { collectionMaritime[i].style.display = "none"; } for (let i = 0; i < collectionMobile.length; i++) { collectionMobile[i].style.display = "none"; } for (let i = 0; i < collectionRoad.length; i++) { collectionRoad[i].style.display = "none"; } for (let i = 0; i < collectionSmall.length; i++) { collectionSmall[i].style.display = "none"; } for (let i = 0; i < collectionOther.length; i++) { collectionOther[i].style.display = "none"; } for (let i = 0; i < collectionEarthmover.length; i++) { collectionEarthmover[i].style.display = "block"; } } function triggerElectric() { for (let i = 0; i < collectionVideo.length; i++) { collectionVideo[i].style.display = "none"; } for (let i = 0; i < collectionAg.length; i++) { collectionAg[i].style.display = "none"; } for (let i = 0; i < collectionMed.length; i++) { collectionMed[i].style.display = "none"; } for (let i = 0; i < collectionAtHeights.length; i++) { collectionAtHeights[i].style.display = "none"; } for (let i = 0; i < collectionCommunity.length; i++) { collectionCommunity[i].style.display = "none"; } for (let i = 0; i < collectionCompetent.length; i++) { collectionCompetent[i].style.display = "none"; } for (let i = 0; i < collectionCrane.length; i++) { collectionCrane[i].style.display = "none"; } for (let i = 0; i < collectionEarthmover.length; i++) { collectionEarthmover[i].style.display = "none"; } for (let i = 0; i < collectionEnv.length; i++) { collectionEnv[i].style.display = "none"; } for (let i = 0; i < collectionFire.length; i++) { collectionFire[i].style.display = "none"; } for (let i = 0; i < collectionForklift.length; i++) { collectionForklift[i].style.display = "none"; } for (let i = 0; i < collectionHealth.length; i++) { collectionHealth[i].style.display = "none"; } for (let i = 0; i < collectionHr.length; i++) { collectionHr[i].style.display = "none"; } for (let i = 0; i < collectionIndus.length; i++) { collectionIndus[i].style.display = "none"; } for (let i = 0; i < collectionLands.length; i++) { collectionLands[i].style.display = "none"; } for (let i = 0; i < collectionMaritime.length; i++) { collectionMaritime[i].style.display = "none"; } for (let i = 0; i < collectionMobile.length; i++) { collectionMobile[i].style.display = "none"; } for (let i = 0; i < collectionRoad.length; i++) { collectionRoad[i].style.display = "none"; } for (let i = 0; i < collectionSmall.length; i++) { collectionSmall[i].style.display = "none"; } for (let i = 0; i < collectionOther.length; i++) { collectionOther[i].style.display = "none"; } for (let i = 0; i < collectionElectric.length; i++) { collectionElectric[i].style.display = "block"; } } function triggerEnviromental() { for (let i = 0; i < collectionVideo.length; i++) { collectionVideo[i].style.display = "none"; } for (let i = 0; i < collectionAg.length; i++) { collectionAg[i].style.display = "none"; } for (let i = 0; i < collectionMed.length; i++) { collectionMed[i].style.display = "none"; } for (let i = 0; i < collectionAtHeights.length; i++) { collectionAtHeights[i].style.display = "none"; } for (let i = 0; i < collectionCommunity.length; i++) { collectionCommunity[i].style.display = "none"; } for (let i = 0; i < collectionCompetent.length; i++) { collectionCompetent[i].style.display = "none"; } for (let i = 0; i < collectionCrane.length; i++) { collectionCrane[i].style.display = "none"; } for (let i = 0; i < collectionEarthmover.length; i++) { collectionEarthmover[i].style.display = "none"; } for (let i = 0; i < collectionElectric.length; i++) { collectionElectric[i].style.display = "none"; } for (let i = 0; i < collectionFire.length; i++) { collectionFire[i].style.display = "none"; } for (let i = 0; i < collectionForklift.length; i++) { collectionForklift[i].style.display = "none"; } for (let i = 0; i < collectionHealth.length; i++) { collectionHealth[i].style.display = "none"; } for (let i = 0; i < collectionHr.length; i++) { collectionHr[i].style.display = "none"; } for (let i = 0; i < collectionIndus.length; i++) { collectionIndus[i].style.display = "none"; } for (let i = 0; i < collectionLands.length; i++) { collectionLands[i].style.display = "none"; } for (let i = 0; i < collectionMaritime.length; i++) { collectionMaritime[i].style.display = "none"; } for (let i = 0; i < collectionMobile.length; i++) { collectionMobile[i].style.display = "none"; } for (let i = 0; i < collectionRoad.length; i++) { collectionRoad[i].style.display = "none"; } for (let i = 0; i < collectionSmall.length; i++) { collectionSmall[i].style.display = "none"; } for (let i = 0; i < collectionOther.length; i++) { collectionOther[i].style.display = "none"; } for (let i = 0; i < collectionEnv.length; i++) { collectionEnv[i].style.display = "block"; } } function triggerFire() { for (let i = 0; i < collectionVideo.length; i++) { collectionVideo[i].style.display = "none"; } for (let i = 0; i < collectionAg.length; i++) { collectionAg[i].style.display = "none"; } for (let i = 0; i < collectionMed.length; i++) { collectionMed[i].style.display = "none"; } for (let i = 0; i < collectionAtHeights.length; i++) { collectionAtHeights[i].style.display = "none"; } for (let i = 0; i < collectionCommunity.length; i++) { collectionCommunity[i].style.display = "none"; } for (let i = 0; i < collectionCompetent.length; i++) { collectionCompetent[i].style.display = "none"; } for (let i = 0; i < collectionCrane.length; i++) { collectionCrane[i].style.display = "none"; } for (let i = 0; i < collectionEarthmover.length; i++) { collectionEarthmover[i].style.display = "none"; } for (let i = 0; i < collectionElectric.length; i++) { collectionElectric[i].style.display = "none"; } for (let i = 0; i < collectionEnv.length; i++) { collectionEnv[i].style.display = "none"; } for (let i = 0; i < collectionForklift.length; i++) { collectionForklift[i].style.display = "none"; } for (let i = 0; i < collectionHealth.length; i++) { collectionHealth[i].style.display = "none"; } for (let i = 0; i < collectionHr.length; i++) { collectionHr[i].style.display = "none"; } for (let i = 0; i < collectionIndus.length; i++) { collectionIndus[i].style.display = "none"; } for (let i = 0; i < collectionLands.length; i++) { collectionLands[i].style.display = "none"; } for (let i = 0; i < collectionMaritime.length; i++) { collectionMaritime[i].style.display = "none"; } for (let i = 0; i < collectionMobile.length; i++) { collectionMobile[i].style.display = "none"; } for (let i = 0; i < collectionRoad.length; i++) { collectionRoad[i].style.display = "none"; } for (let i = 0; i < collectionSmall.length; i++) { collectionSmall[i].style.display = "none"; } for (let i = 0; i < collectionOther.length; i++) { collectionOther[i].style.display = "none"; } for (let i = 0; i < collectionFire.length; i++) { collectionFire[i].style.display = "block"; } } function triggerForklift() { for (let i = 0; i < collectionVideo.length; i++) { collectionVideo[i].style.display = "none"; } for (let i = 0; i < collectionAg.length; i++) { collectionAg[i].style.display = "none"; } for (let i = 0; i < collectionMed.length; i++) { collectionMed[i].style.display = "none"; } for (let i = 0; i < collectionAtHeights.length; i++) { collectionAtHeights[i].style.display = "none"; } for (let i = 0; i < collectionCommunity.length; i++) { collectionCommunity[i].style.display = "none"; } for (let i = 0; i < collectionCompetent.length; i++) { collectionCompetent[i].style.display = "none"; } for (let i = 0; i < collectionCrane.length; i++) { collectionCrane[i].style.display = "none"; } for (let i = 0; i < collectionEarthmover.length; i++) { collectionEarthmover[i].style.display = "none"; } for (let i = 0; i < collectionElectric.length; i++) { collectionElectric[i].style.display = "none"; } for (let i = 0; i < collectionEnv.length; i++) { collectionEnv[i].style.display = "none"; } for (let i = 0; i < collectionFire.length; i++) { collectionFire[i].style.display = "none"; } for (let i = 0; i < collectionHealth.length; i++) { collectionHealth[i].style.display = "none"; } for (let i = 0; i < collectionHr.length; i++) { collectionHr[i].style.display = "none"; } for (let i = 0; i < collectionIndus.length; i++) { collectionIndus[i].style.display = "none"; } for (let i = 0; i < collectionLands.length; i++) { collectionLands[i].style.display = "none"; } for (let i = 0; i < collectionMaritime.length; i++) { collectionMaritime[i].style.display = "none"; } for (let i = 0; i < collectionMobile.length; i++) { collectionMobile[i].style.display = "none"; } for (let i = 0; i < collectionRoad.length; i++) { collectionRoad[i].style.display = "none"; } for (let i = 0; i < collectionSmall.length; i++) { collectionSmall[i].style.display = "none"; } for (let i = 0; i < collectionOther.length; i++) { collectionOther[i].style.display = "none"; } for (let i = 0; i < collectionForklift.length; i++) { collectionForklift[i].style.display = "block"; } } function triggerHealth() { for (let i = 0; i < collectionVideo.length; i++) { collectionVideo[i].style.display = "none"; } for (let i = 0; i < collectionAg.length; i++) { collectionAg[i].style.display = "none"; } for (let i = 0; i < collectionMed.length; i++) { collectionMed[i].style.display = "none"; } for (let i = 0; i < collectionAtHeights.length; i++) { collectionAtHeights[i].style.display = "none"; } for (let i = 0; i < collectionCommunity.length; i++) { collectionCommunity[i].style.display = "none"; } for (let i = 0; i < collectionCompetent.length; i++) { collectionCompetent[i].style.display = "none"; } for (let i = 0; i < collectionCrane.length; i++) { collectionCrane[i].style.display = "none"; } for (let i = 0; i < collectionEarthmover.length; i++) { collectionEarthmover[i].style.display = "none"; } for (let i = 0; i < collectionElectric.length; i++) { collectionElectric[i].style.display = "none"; } for (let i = 0; i < collectionEnv.length; i++) { collectionEnv[i].style.display = "none"; } for (let i = 0; i < collectionFire.length; i++) { collectionFire[i].style.display = "none"; } for (let i = 0; i < collectionForklift.length; i++) { collectionForklift[i].style.display = "none"; } for (let i = 0; i < collectionHr.length; i++) { collectionHr[i].style.display = "none"; } for (let i = 0; i < collectionIndus.length; i++) { collectionIndus[i].style.display = "none"; } for (let i = 0; i < collectionLands.length; i++) { collectionLands[i].style.display = "none"; } for (let i = 0; i < collectionMaritime.length; i++) { collectionMaritime[i].style.display = "none"; } for (let i = 0; i < collectionMobile.length; i++) { collectionMobile[i].style.display = "none"; } for (let i = 0; i < collectionRoad.length; i++) { collectionRoad[i].style.display = "none"; } for (let i = 0; i < collectionSmall.length; i++) { collectionSmall[i].style.display = "none"; } for (let i = 0; i < collectionOther.length; i++) { collectionOther[i].style.display = "none"; } for (let i = 0; i < collectionHealth.length; i++) { collectionHealth[i].style.display = "block"; } } function triggerHr() { for (let i = 0; i < collectionVideo.length; i++) { collectionVideo[i].style.display = "none"; } for (let i = 0; i < collectionAg.length; i++) { collectionAg[i].style.display = "none"; } for (let i = 0; i < collectionMed.length; i++) { collectionMed[i].style.display = "none"; } for (let i = 0; i < collectionAtHeights.length; i++) { collectionAtHeights[i].style.display = "none"; } for (let i = 0; i < collectionCommunity.length; i++) { collectionCommunity[i].style.display = "none"; } for (let i = 0; i < collectionCompetent.length; i++) { collectionCompetent[i].style.display = "none"; } for (let i = 0; i < collectionCrane.length; i++) { collectionCrane[i].style.display = "none"; } for (let i = 0; i < collectionEarthmover.length; i++) { collectionEarthmover[i].style.display = "none"; } for (let i = 0; i < collectionElectric.length; i++) { collectionElectric[i].style.display = "none"; } for (let i = 0; i < collectionEnv.length; i++) { collectionEnv[i].style.display = "none"; } for (let i = 0; i < collectionFire.length; i++) { collectionFire[i].style.display = "none"; } for (let i = 0; i < collectionForklift.length; i++) { collectionForklift[i].style.display = "none"; } for (let i = 0; i < collectionHealth.length; i++) { collectionHealth[i].style.display = "none"; } for (let i = 0; i < collectionIndus.length; i++) { collectionIndus[i].style.display = "none"; } for (let i = 0; i < collectionLands.length; i++) { collectionLands[i].style.display = "none"; } for (let i = 0; i < collectionMaritime.length; i++) { collectionMaritime[i].style.display = "none"; } for (let i = 0; i < collectionMobile.length; i++) { collectionMobile[i].style.display = "none"; } for (let i = 0; i < collectionRoad.length; i++) { collectionRoad[i].style.display = "none"; } for (let i = 0; i < collectionSmall.length; i++) { collectionSmall[i].style.display = "none"; } for (let i = 0; i < collectionOther.length; i++) { collectionOther[i].style.display = "none"; } for (let i = 0; i < collectionHr.length; i++) { collectionHr[i].style.display = "block"; } } function triggerIndust() { for (let i = 0; i < collectionVideo.length; i++) { collectionVideo[i].style.display = "none"; } for (let i = 0; i < collectionAg.length; i++) { collectionAg[i].style.display = "none"; } for (let i = 0; i < collectionMed.length; i++) { collectionMed[i].style.display = "none"; } for (let i = 0; i < collectionAtHeights.length; i++) { collectionAtHeights[i].style.display = "none"; } for (let i = 0; i < collectionCommunity.length; i++) { collectionCommunity[i].style.display = "none"; } for (let i = 0; i < collectionCompetent.length; i++) { collectionCompetent[i].style.display = "none"; } for (let i = 0; i < collectionCrane.length; i++) { collectionCrane[i].style.display = "none"; } for (let i = 0; i < collectionEarthmover.length; i++) { collectionEarthmover[i].style.display = "none"; } for (let i = 0; i < collectionElectric.length; i++) { collectionElectric[i].style.display = "none"; } for (let i = 0; i < collectionEnv.length; i++) { collectionEnv[i].style.display = "none"; } for (let i = 0; i < collectionFire.length; i++) { collectionFire[i].style.display = "none"; } for (let i = 0; i < collectionForklift.length; i++) { collectionForklift[i].style.display = "none"; } for (let i = 0; i < collectionHealth.length; i++) { collectionHealth[i].style.display = "none"; } for (let i = 0; i < collectionHr.length; i++) { collectionHr[i].style.display = "none"; } for (let i = 0; i < collectionLands.length; i++) { collectionLands[i].style.display = "none"; } for (let i = 0; i < collectionMaritime.length; i++) { collectionMaritime[i].style.display = "none"; } for (let i = 0; i < collectionMobile.length; i++) { collectionMobile[i].style.display = "none"; } for (let i = 0; i < collectionRoad.length; i++) { collectionRoad[i].style.display = "none"; } for (let i = 0; i < collectionSmall.length; i++) { collectionSmall[i].style.display = "none"; } for (let i = 0; i < collectionOther.length; i++) { collectionOther[i].style.display = "none"; } for (let i = 0; i < collectionIndus.length; i++) { collectionIndus[i].style.display = "block"; } } function triggerLandscaping() { for (let i = 0; i < collectionVideo.length; i++) { collectionVideo[i].style.display = "none"; } for (let i = 0; i < collectionAg.length; i++) { collectionAg[i].style.display = "none"; } for (let i = 0; i < collectionMed.length; i++) { collectionMed[i].style.display = "none"; } for (let i = 0; i < collectionAtHeights.length; i++) { collectionAtHeights[i].style.display = "none"; } for (let i = 0; i < collectionCommunity.length; i++) { collectionCommunity[i].style.display = "none"; } for (let i = 0; i < collectionCompetent.length; i++) { collectionCompetent[i].style.display = "none"; } for (let i = 0; i < collectionCrane.length; i++) { collectionCrane[i].style.display = "none"; } for (let i = 0; i < collectionEarthmover.length; i++) { collectionEarthmover[i].style.display = "none"; } for (let i = 0; i < collectionElectric.length; i++) { collectionElectric[i].style.display = "none"; } for (let i = 0; i < collectionEnv.length; i++) { collectionEnv[i].style.display = "none"; } for (let i = 0; i < collectionFire.length; i++) { collectionFire[i].style.display = "none"; } for (let i = 0; i < collectionForklift.length; i++) { collectionForklift[i].style.display = "none"; } for (let i = 0; i < collectionHealth.length; i++) { collectionHealth[i].style.display = "none"; } for (let i = 0; i < collectionHr.length; i++) { collectionHr[i].style.display = "none"; } for (let i = 0; i < collectionIndus.length; i++) { collectionIndus[i].style.display = "none"; } for (let i = 0; i < collectionMaritime.length; i++) { collectionMaritime[i].style.display = "none"; } for (let i = 0; i < collectionMobile.length; i++) { collectionMobile[i].style.display = "none"; } for (let i = 0; i < collectionRoad.length; i++) { collectionRoad[i].style.display = "none"; } for (let i = 0; i < collectionSmall.length; i++) { collectionSmall[i].style.display = "none"; } for (let i = 0; i < collectionOther.length; i++) { collectionOther[i].style.display = "none"; } for (let i = 0; i < collectionLands.length; i++) { collectionLands[i].style.display = "block"; } } function triggerMaritime() { for (let i = 0; i < collectionVideo.length; i++) { collectionVideo[i].style.display = "none"; } for (let i = 0; i < collectionAg.length; i++) { collectionAg[i].style.display = "none"; } for (let i = 0; i < collectionMed.length; i++) { collectionMed[i].style.display = "none"; } for (let i = 0; i < collectionAtHeights.length; i++) { collectionAtHeights[i].style.display = "none"; } for (let i = 0; i < collectionCommunity.length; i++) { collectionCommunity[i].style.display = "none"; } for (let i = 0; i < collectionCompetent.length; i++) { collectionCompetent[i].style.display = "none"; } for (let i = 0; i < collectionCrane.length; i++) { collectionCrane[i].style.display = "none"; } for (let i = 0; i < collectionEarthmover.length; i++) { collectionEarthmover[i].style.display = "none"; } for (let i = 0; i < collectionElectric.length; i++) { collectionElectric[i].style.display = "none"; } for (let i = 0; i < collectionEnv.length; i++) { collectionEnv[i].style.display = "none"; } for (let i = 0; i < collectionFire.length; i++) { collectionFire[i].style.display = "none"; } for (let i = 0; i < collectionForklift.length; i++) { collectionForklift[i].style.display = "none"; } for (let i = 0; i < collectionHealth.length; i++) { collectionHealth[i].style.display = "none"; } for (let i = 0; i < collectionHr.length; i++) { collectionHr[i].style.display = "none"; } for (let i = 0; i < collectionIndus.length; i++) { collectionIndus[i].style.display = "none"; } for (let i = 0; i < collectionLands.length; i++) { collectionLands[i].style.display = "none"; } for (let i = 0; i < collectionMobile.length; i++) { collectionMobile[i].style.display = "none"; } for (let i = 0; i < collectionRoad.length; i++) { collectionRoad[i].style.display = "none"; } for (let i = 0; i < collectionSmall.length; i++) { collectionSmall[i].style.display = "none"; } for (let i = 0; i < collectionOther.length; i++) { collectionOther[i].style.display = "none"; } for (let i = 0; i < collectionMaritime.length; i++) { collectionMaritime[i].style.display = "block"; } } function triggerMobile() { for (let i = 0; i < collectionVideo.length; i++) { collectionVideo[i].style.display = "none"; } for (let i = 0; i < collectionAg.length; i++) { collectionAg[i].style.display = "none"; } for (let i = 0; i < collectionMed.length; i++) { collectionMed[i].style.display = "none"; } for (let i = 0; i < collectionAtHeights.length; i++) { collectionAtHeights[i].style.display = "none"; } for (let i = 0; i < collectionCommunity.length; i++) { collectionCommunity[i].style.display = "none"; } for (let i = 0; i < collectionCompetent.length; i++) { collectionCompetent[i].style.display = "none"; } for (let i = 0; i < collectionCrane.length; i++) { collectionCrane[i].style.display = "none"; } for (let i = 0; i < collectionEarthmover.length; i++) { collectionEarthmover[i].style.display = "none"; } for (let i = 0; i < collectionElectric.length; i++) { collectionElectric[i].style.display = "none"; } for (let i = 0; i < collectionEnv.length; i++) { collectionEnv[i].style.display = "none"; } for (let i = 0; i < collectionFire.length; i++) { collectionFire[i].style.display = "none"; } for (let i = 0; i < collectionForklift.length; i++) { collectionForklift[i].style.display = "none"; } for (let i = 0; i < collectionHealth.length; i++) { collectionHealth[i].style.display = "none"; } for (let i = 0; i < collectionHr.length; i++) { collectionHr[i].style.display = "none"; } for (let i = 0; i < collectionIndus.length; i++) { collectionIndus[i].style.display = "none"; } for (let i = 0; i < collectionLands.length; i++) { collectionLands[i].style.display = "none"; } for (let i = 0; i < collectionMaritime.length; i++) { collectionMaritime[i].style.display = "none"; } for (let i = 0; i < collectionRoad.length; i++) { collectionRoad[i].style.display = "none"; } for (let i = 0; i < collectionSmall.length; i++) { collectionSmall[i].style.display = "none"; } for (let i = 0; i < collectionOther.length; i++) { collectionOther[i].style.display = "none"; } for (let i = 0; i < collectionMobile.length; i++) { collectionMobile[i].style.display = "block"; } } function triggerRoad() { for (let i = 0; i < collectionVideo.length; i++) { collectionVideo[i].style.display = "none"; } for (let i = 0; i < collectionAg.length; i++) { collectionAg[i].style.display = "none"; } for (let i = 0; i < collectionMed.length; i++) { collectionMed[i].style.display = "none"; } for (let i = 0; i < collectionAtHeights.length; i++) { collectionAtHeights[i].style.display = "none"; } for (let i = 0; i < collectionCommunity.length; i++) { collectionCommunity[i].style.display = "none"; } for (let i = 0; i < collectionCompetent.length; i++) { collectionCompetent[i].style.display = "none"; } for (let i = 0; i < collectionCrane.length; i++) { collectionCrane[i].style.display = "none"; } for (let i = 0; i < collectionEarthmover.length; i++) { collectionEarthmover[i].style.display = "none"; } for (let i = 0; i < collectionElectric.length; i++) { collectionElectric[i].style.display = "none"; } for (let i = 0; i < collectionEnv.length; i++) { collectionEnv[i].style.display = "none"; } for (let i = 0; i < collectionFire.length; i++) { collectionFire[i].style.display = "none"; } for (let i = 0; i < collectionForklift.length; i++) { collectionForklift[i].style.display = "none"; } for (let i = 0; i < collectionHealth.length; i++) { collectionHealth[i].style.display = "none"; } for (let i = 0; i < collectionHr.length; i++) { collectionHr[i].style.display = "none"; } for (let i = 0; i < collectionIndus.length; i++) { collectionIndus[i].style.display = "none"; } for (let i = 0; i < collectionLands.length; i++) { collectionLands[i].style.display = "none"; } for (let i = 0; i < collectionMaritime.length; i++) { collectionMaritime[i].style.display = "none"; } for (let i = 0; i < collectionMobile.length; i++) { collectionMobile[i].style.display = "none"; } for (let i = 0; i < collectionSmall.length; i++) { collectionSmall[i].style.display = "none"; } for (let i = 0; i < collectionOther.length; i++) { collectionOther[i].style.display = "none"; } for (let i = 0; i < collectionRoad.length; i++) { collectionRoad[i].style.display = "block"; } } function triggerSmall() { for (let i = 0; i < collectionVideo.length; i++) { collectionVideo[i].style.display = "none"; } for (let i = 0; i < collectionAg.length; i++) { collectionAg[i].style.display = "none"; } for (let i = 0; i < collectionMed.length; i++) { collectionMed[i].style.display = "none"; } for (let i = 0; i < collectionAtHeights.length; i++) { collectionAtHeights[i].style.display = "none"; } for (let i = 0; i < collectionCommunity.length; i++) { collectionCommunity[i].style.display = "none"; } for (let i = 0; i < collectionCompetent.length; i++) { collectionCompetent[i].style.display = "none"; } for (let i = 0; i < collectionCrane.length; i++) { collectionCrane[i].style.display = "none"; } for (let i = 0; i < collectionEarthmover.length; i++) { collectionEarthmover[i].style.display = "none"; } for (let i = 0; i < collectionElectric.length; i++) { collectionElectric[i].style.display = "none"; } for (let i = 0; i < collectionEnv.length; i++) { collectionEnv[i].style.display = "none"; } for (let i = 0; i < collectionFire.length; i++) { collectionFire[i].style.display = "none"; } for (let i = 0; i < collectionForklift.length; i++) { collectionForklift[i].style.display = "none"; } for (let i = 0; i < collectionHealth.length; i++) { collectionHealth[i].style.display = "none"; } for (let i = 0; i < collectionHr.length; i++) { collectionHr[i].style.display = "none"; } for (let i = 0; i < collectionIndus.length; i++) { collectionIndus[i].style.display = "none"; } for (let i = 0; i < collectionLands.length; i++) { collectionLands[i].style.display = "none"; } for (let i = 0; i < collectionMaritime.length; i++) { collectionMaritime[i].style.display = "none"; } for (let i = 0; i < collectionMobile.length; i++) { collectionMobile[i].style.display = "none"; } for (let i = 0; i < collectionRoad.length; i++) { collectionRoad[i].style.display = "none"; } for (let i = 0; i < collectionOther.length; i++) { collectionOther[i].style.display = "none"; } for (let i = 0; i < collectionSmall.length; i++) { collectionSmall[i].style.display = "block"; } } function triggerOther() { for (let i = 0; i < collectionVideo.length; i++) { collectionVideo[i].style.display = "none"; } for (let i = 0; i < collectionAg.length; i++) { collectionAg[i].style.display = "none"; } for (let i = 0; i < collectionMed.length; i++) { collectionMed[i].style.display = "none"; } for (let i = 0; i < collectionAtHeights.length; i++) { collectionAtHeights[i].style.display = "none"; } for (let i = 0; i < collectionCommunity.length; i++) { collectionCommunity[i].style.display = "none"; } for (let i = 0; i < collectionCompetent.length; i++) { collectionCompetent[i].style.display = "none"; } for (let i = 0; i < collectionCrane.length; i++) { collectionCrane[i].style.display = "none"; } for (let i = 0; i < collectionEarthmover.length; i++) { collectionEarthmover[i].style.display = "none"; } for (let i = 0; i < collectionElectric.length; i++) { collectionElectric[i].style.display = "none"; } for (let i = 0; i < collectionEnv.length; i++) { collectionEnv[i].style.display = "none"; } for (let i = 0; i < collectionFire.length; i++) { collectionFire[i].style.display = "none"; } for (let i = 0; i < collectionForklift.length; i++) { collectionForklift[i].style.display = "none"; } for (let i = 0; i < collectionHealth.length; i++) { collectionHealth[i].style.display = "none"; } for (let i = 0; i < collectionHr.length; i++) { collectionHr[i].style.display = "none"; } for (let i = 0; i < collectionIndus.length; i++) { collectionIndus[i].style.display = "none"; } for (let i = 0; i < collectionLands.length; i++) { collectionLands[i].style.display = "none"; } for (let i = 0; i < collectionMaritime.length; i++) { collectionMaritime[i].style.display = "none"; } for (let i = 0; i < collectionMobile.length; i++) { collectionMobile[i].style.display = "none"; } for (let i = 0; i < collectionRoad.length; i++) { collectionRoad[i].style.display = "none"; } for (let i = 0; i < collectionSmall.length; i++) { collectionSmall[i].style.display = "none"; } for (let i = 0; i < collectionOther.length; i++) { collectionOther[i].style.display = "block"; } }