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'; }); } }); }); });
When it comes to tightening taper-thread connections, you must exercise a degree of caution.

Not enough torque and the joint will leak.

But excessive torque can result in broken housings on pumps and valves - due to the force developed by the wedge action of the tapered adaptor.

This Parker document, provides a guide for torquing tapered-thread adaptors - based on the 'turns from finger tight' (TFFT) method:

tapered threads guide

And when it comes to taper-threads, this is about as scientific as it gets.   Craig Cook

Copyright © 2024. All Rights Reserved.