array( "title" => "About Us", "url" => HTTP_SERVER."about-us", "file" => "about.php", "meta_keywords" => "Essex, About Us, Essex About Us, Essex, Fasteners, MSC, Industrial Supply, Authorized Distributor, leading high tech, innovative manufacturers, stocking, Distributor, Rotor Clip, Brighton-Best International, UNICORP, Electronic, Hardware, Essex, essexindustrialgroup.com, www.essexindustrialgroup.com", "meta_desc" => "Since 1993, Essex has been a leading distribution company, supplying various industries with precision electronic hardware, fasteners, and various other products. Essex is a supplier to MSC Industrial Supply and an authorized distributor to many of the industries leading high-tech and innovative manufacturers. Essex is an authorized stocking distributor for Rotor Clip, Brighton-Best International, and UNICORP Essex and Fasteners." ), "contact-us" => array( "title" => "Contact Us", "url" => HTTP_SERVER."contact-us", "file" => "contact.php", "meta_keywords" => "Essex, Contact Us, Essex Contact Us, Contacts, Address, Shipping Address, Unicorp, Cleveland Street, Essex, Orange, New Jersey, 07050, USA, Mailing, Mailing Address, P.O. Box 356, Florham Park, New Jersey, 07932, Phone, 973 443-9696, Fax, 862 930-4405, Email, sales@essexindustrialgroup.com, Office Hours, Open 5 days a week, Monday to Friday, 8 AM to 5 PM (Eastern Standard Time) www.essexindustrialgroup.com", "meta_desc" => "Shipping Address: Essex, c/o Unicorp, 291 Cleveland Street, Orange, New Jersey 07050 USA Mailing Address: Essex, P.O. Box 356, Florham Park, New Jersey 07932 USA. Phone: 973 443-9696, Fax: 862 930-4405 Essex Office Hours: Open 5 days a week, Monday to Friday 8 AM to 5 PM (Eastern Standard Time) Email: sales@essexindustrialgroup.com, Website: www.essexindustrialgroup.com" ), "copyright" => array( "title" => "Copyright", "url" => HTTP_SERVER."copyright", "file" => "copyright_page.php", "meta_keywords" => "Essex, Copyright, Copyrights, All Rights Reserved, Trademarks, portfolio, registered, Essex, essexindustrialgroup.com, www.essexindustrialgroup.com", "meta_desc" => "Copyright ©2016 Essex All Rights Reserved. All materials available from this website are protected by copyright and trademark laws of the United States and international treaties. Essex, and its respective logo as well as corporate and product identity used herein, are trademarks of Essex, www.essexindustrialgroup.com, and may not be used or linked without written permission. Essex are registered trademarks of Essex, P.O. Box 356, Florham Park, New Jersey 07932 USA." ), "feedback" => array( "title" => "Feedback", "url" => HTTP_SERVER."feedback", "file" => "feedback_page.php", "meta_keywords" => "Essex, Feedback, Send Feedback, Submit Feedback, Essex, essexindustrialgroup.com, www.essexindustrialgroup.com", "meta_desc" => "Submit your Feedback. All information will be held strictly confidential." ), "home" => array( "title" => "Home", "url" => HTTP_SERVER."home", "file" => "index.php", "meta_keywords" => "Essex, Home, Index, Default, Landing, Essex, essexindustrialgroup.com, www.essexindustrialgroup.com, " . FetchPartsKeywords(), "meta_desc" => "The Essex has been a leading distribution company, supplying various industries with precision electronic hardware, fasteners, and various other products. Essex is a supplier to MSC Industrial Supply and an authorized distributor to many of the industries leading high-tech and innovative manufacturers. Essex is an authorized stocking distributor for Rotor Clip, Brighton-Best International, and UNICORP Essex and Fasteners." ), "legal-notice" => array( "title" => "Legal Notice", "url" => HTTP_SERVER."legal-notice", "file" => "legal.php", "meta_keywords" => "Essex, Legal Notice, Legal, Terms, Limitation of Liability,Trademark, Third Party, Essex, essexindustrialgroup.com, www.essexindustrialgroup.com", "meta_desc" => "Linking to Essex Website / www.essexindustrialgroup.com We encourage companies to link to Essex's website, if you falsely represent yourself as an authorized affiliate of Essex with your link you will be liable for any lost business or damages." ), "privacy-statement" => array( "title" => "Privacy Statement", "url" => HTTP_SERVER."privacy-statement", "file" => "privacy.php", "meta_keywords" => "Essex, Privacy, Policy, Statement, Privacy Policy, Permission, Essex, essexindustrialgroup.com, www.essexindustrialgroup.com", "meta_desc" => "Essex will never sell or provide any personal information to anyone without your permission. Essex is committed to protecting the privacy of visitors to our web site. Essex will never use any personal information collected at this site for any purpose other than internal use unless the registrant chooses to be added to the Essex mailing list (this is a choice made by the registrant on the Registration form). Essex is committed to providing customers with the best valued products in the field and online. " ), "quality" => array( "title" => "Quality", "url" => HTTP_SERVER."quality", "file" => "quality_page.php", "meta_keywords" => "Essex, Quality, RoHS, RoHS Compliance Statement, R.E.A.C.H, DFARS, WEEE, Conflict-Free Minerals, Opposition to Human Trafficking, GOVT CODES, Essex, essexindustrialgroup.com, www.essexindustrialgroup.com", "meta_desc" => "RoHS Compliance Statement: In an effort to reduce or eliminate environmental pollution and improve the quality of human health the European Union (EU) has adopted Directive 2011/65/EU of the European Parliament which will restrict the use of the following hazardous substance for electronic equipment effective June 8, 2011: " ), "reps" => array( "title" => "REPS", "url" => HTTP_SERVER."reps", "file" => "reps_page.php", "meta_keywords" => "REPS, Essex, essexindustrialgroup.com, www.essexindustrialgroup.com", "meta_desc" => "George Recentio Vice President Sales P.O. Box 241 Milton, DE 19968 Telephone: 317.523.7775 (mobile) Direct Fax: 973.672.2201 Email: george@essexindustrialgroup.com, Rob Rundle R.W. Rundle Associates, Inc. 233 Rock Road, #219 Glen Rock, NJ 07452. Telephone: 201.670.4151 Direct Fax: 201.612.0638 Email: rwrundle@verizon.net Web: www.rwrundle.com Territory: NJ, Eastern PA, DE, NY" ), "request-a-quote" => array( "title" => "Request A Quote", "url" => HTTP_SERVER."request-a-quote", "file" => "request_quote.php", "meta_keywords" => "Request A Quote, Request, Quote, Essex, essexindustrialgroup.com, www.essexindustrialgroup.com", "meta_desc" => "Request A Quote. All information will be held strictly confidential." ), "search" => array( "title" => "Search", "url" => HTTP_SERVER."search", "file" => "request_quote.php", "meta_keywords" => "Search, Essex, essexindustrialgroup.com, www.essexindustrialgroup.com", "meta_desc" => "Search" ), "terms" => array( "title" => "Terms & Conditions", "url" => HTTP_SERVER."terms", "file" => "terms_page.php", "meta_keywords" => "Terms, Conditions, Terms and Conditions, Essex, essexindustrialgroup.com, www.essexindustrialgroup.com", "meta_desc" => "Essex maintains this website as a service to its customers and those wishing to learn more about our products and services. Unless otherwise stated, this website is for information only. Essex has used all reasonable care and skill in compiling the content of this website and cannot accept liability for any errors or omissions. We make sure that the information is updated on a regular basis. Essex Inc. shall not be liable to any person for any loss or damage that may arise from the use of any of the information contained in any of the materials on this website. Permission to use materials from this website is subject to the restrictions set forth below. By viewing or using any of the materials published on this website, you agree to these Terms of Use." ),);$pages_json = (json_encode($pages, JSON_FORCE_OBJECT));$basename = basename($_SERVER["REQUEST_URI"]);if(strpos($basename, "?")) { $basename = substr($basename, 0, strpos($basename, "?"));}try { $page_title = ""; $meta_keywords = ""; $meta_description = ""; if($basename != "" && $basename != "website") { $page_title = $title_prefix. " - ".$pages[$basename]["title"]; $meta_keywords = preg_replace(array("/\r|\n/", "/\s+/"), " ", $pages[$basename]["meta_keywords"]); $meta_description = preg_replace(array("/\r|\n/", "/\s+/"), " ", $pages[$basename]["meta_desc"]); } else { $page_title = $title_prefix. " - ".$pages["home"]["title"]; $meta_keywords = preg_replace(array("/\r|\n/", "/\s+/"), " ", $pages["home"]["meta_keywords"]); $meta_description = preg_replace(array("/\r|\n/", "/\s+/"), " ", $pages["home"]["meta_desc"]); } } catch (Exception $e) { $page_title = ucwords(str_replace("-", " ", $basename)); $meta_keywords = ""; $meta_description = ""; }function FetchPartsKeywords() { $relative_path = ""; $keywords = array(); $msc_json = json_decode(file_get_contents($relative_path."includes/company/msc.json")); foreach ($msc_json->msc as $mscObj) { foreach ($mscObj->items as $msc_item) { $keywords[] = $msc_item->name; } } $rotor_json = json_decode(file_get_contents($relative_path."includes/company/rotor.json")); foreach ($rotor_json->rotor as $rotorObj) { $keywords[] = $rotorObj->name; } $brighton_json = json_decode(file_get_contents($relative_path."includes/company/brighton.json")); foreach ($brighton_json->brighton as $brightonObj) { foreach ($brightonObj->items as $brighton_item) { $keywords[] = $brighton_item->name; } } $microplastics_json = json_decode(file_get_contents($relative_path."includes/company/microplastics.json")); foreach ($microplastics_json->microplastics as $microplasticsObj) { foreach ($microplasticsObj->items as $microplastics_item) { $keywords[] = $microplastics_item->name; } } $unicorp_json = json_decode(file_get_contents($relative_path."includes/company/unicorp.json")); foreach ($unicorp_json->unicorp as $unicorpObj) { foreach ($unicorpObj->items as $unicorp_item) { $keywords[] = $unicorp_item->name; } } return str_replace("
", " ", preg_replace(array("/\r|\n/", "/\s+/"), " ", implode(", ", $keywords) ));}/* echo str_replace("
", " ", preg_replace(array("/\r|\n/", "/\s+/"), " ", implode(", ", FetchPartsKeywords()) )); */?>