document.addEventListener('DOMContentLoaded', function() { const tables = document.querySelectorAll('table'); tables.forEach(table => { const elements = table.querySelectorAll('*'); elements.forEach(element => { const bgcolor = element.getAttribute('bgcolor'); if (bgcolor) { // Convert bgcolor to RGB const r = parseInt(bgcolor.slice(1,3), 16); const g = parseInt(bgcolor.slice(3,5), 16); const b = parseInt(bgcolor.slice(5,7), 16); // Calculate luminance const luminance = (0.299 * r + 0.587 * g + 0.114 * b) / 255; // Find all spans within this element const spans = element.querySelectorAll('span'); spans.forEach(span => { // Set text color based on background luminance span.style.color = luminance > 0.5 ? '#000000' : '#FFFFFF'; }); } }); }); });

hydraulic fittings

What is a NPSM Thread and How Does it Work?

What is a NPSM Thread and How Does it Work?

May 8, 2024

If you want to ensure the smooth operation and safety of your equipment, it goes without saying that…

hydraulic fittings

By blog admin

Fit in to Tight Spaces with our Pan Cake Cylinder Kit!

Fit in to Tight Spaces with our Pan Cake Cylinder Kit!

December 11, 2016

This is a 4-in-1 pan cake cylinder kit    You have the ability to fit into a space…

hydraulic fittings, hydraulic repairs, hydraulics, Uncategorized

By webadmin

How to get your vane pump pumping

How to get your vane pump pumping

September 11, 2016

Here is an issue I heard about that came up recently on getting a vane pump pumping: “There…

hydraulic fittings, hydraulic pumps, hydraulics

By webadmin

Our hydraulic testing beast

Our hydraulic testing beast

August 14, 2016

Say hello to our “beast”! Okay so it isn’t exactly a beast BUT it is a huge bench…

hydraulic fittings, hydraulic hoses, hydraulic pumps, hydraulic repairs, hydraulics

By webadmin

Hose Ends Guaranteed to be Inserted Properly and Crimped per Spec

Hose Ends Guaranteed to be Inserted Properly and Crimped per Spec

May 29, 2014

Do your hose ends look like these? Not long ago the major manufactures claimed their hose, ends, and…

crimpers, hose ends, hydraulic fittings, hydraulic hoses

By webadmin

Coming on location to help you out!

Coming on location to help you out!

May 15, 2014

A monster machine that bends 10″ pipe. This machine is being built to bend 10″ round pipe. Tim…

hydraulic fittings, hydraulic hoses, hydraulic machine, hydraulic pumps, hydraulics

By webadmin

Copyright © 2024. All Rights Reserved.