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'; }); } }); }); });

Privacy Policy & Data Usage:

This Privacy Policy describes how Hoseandfittings.com Inc. collects, uses, and discloses your personal information when you visit, use our services, or
make a purchase from hoseandfittings.com (the “Site”) or otherwise communicate with us
(collectively, the “Services”). For purposes of this Privacy Policy, “you” and “yours” means you as
the user of the Services, whether you are a customer, website visitor, or another individual
whose information we have collected pursuant to this Privacy Policy.
Please read this Privacy Policy carefully. By using and accessing any of the Services, you agree
to the collection, use, and disclosure of your information as described in this Privacy Policy. If
you do not agree to this Privacy Policy, please do not use or access any of the Services.

Power Components Corp is committed to providing a website that is accessible to the widest possible audience, regardless of technology or ability. We are in the process of working towards complying with all applicable standards, including WCAG 2.0 accessibility standards up to level AA. If you experience any difficulty in accessing any part of this website, please feel free to call us at (260) 426-4673 or email us.
We will work with you to provide the information you seek through an alternate communication method or one that is accessible for you consistent with applicable law (for example, through telephone support).

Cookies

   Like many websites, we use Cookies on our Site. For specific information about the Cookies
that we use related to powering our store, see our Cookie Policy. We use Cookies to power and
improve our Site and our Services (including to remember your actions and preferences), to run
analytics and better understand user interaction with the Services (in our legitimate interests to
administer, improve, and optimize the Services). We may also permit third parties and service

providers to use Cookies on our Site to better tailor the services, products, and advertising on
our Site and other websites.
Most browsers automatically accept Cookies by default, but you can choose to set your browser
to remove or reject Cookies through your browser controls. Please keep in mind that removing
or blocking Cookies can negatively impact your user experience and may cause some of the
Services, including certain features and general functionality, to work incorrectly or no longer be
available.

Additionally, blocking Cookies may not completely prevent how we share information
with third parties such as our advertising partners.

 

Be Sociable, Share!

Copyright © 2024. All Rights Reserved.