On January 17, 2017, the Company closed on its agreement with Nexstar Broadcasting Group, Inc. and Media General, Inc. to acquire WCWJ, a CW affiliate television station in Jacksonville, FL and WSLS, an NBC affiliate television station in Roanoke, VA for $60 million in cash and the assumption of certain pension obligations. The Company continues to operate both stations under their current network affiliations.
In the third quarter of 2017, the Company's televisions stations in Texas and Florida ran extensive news programming coverage of hurricanes Harvey and Irma; this adversely impacted revenues by an estimated $2.1 million and resulted in $0.6 million in additional expenses during the third quarter of 2017.
Revenue at the television broadcasting division decreased 10% to $101.3 million in the third quarter of 2017, from $112.4 million in the same period of 2016. Excluding revenue from the two newly acquired stations, revenue declined 15% due to $13.1 million in third quarter 2016 incremental summer Olympics-related advertising revenue at the Company's NBC affiliates, an $8.1 million decrease in political advertising revenue, lower network revenue and the adverse impact of the hurricanes, offset by $6.0 million in higher retransmission revenues. As previously disclosed, the Company’s NBC affiliates in Houston and Detroit are operating under a new contract with NBC effective January 1, 2017 that has resulted in a significant increase in network fees in 2017, compared to 2016. Operating income for the third quarter of 2017 decreased 44% to $32.9 million, from $59.2 million in the same period of 2016 due to lower revenues and the significantly higher network fees.
Revenue at the television broadcasting division decreased 1% to $298.9 million in the first nine months of 2017, from $300.9 million in the same period of 2016. Excluding revenue from the two newly acquired stations, revenue declined 7% due to $13.1 million in third quarter 2016 incremental summer Olympic-related advertising revenue at the Company's NBC affiliates, a $13.4 million decrease in political advertising revenue, lower network revenue and the adverse impact of the hurricanes, offset by $14.7 million in higher retransmission revenues. Operating income for the first nine months of 2017 decreased 32% to $98.2 million from $144.6 million in the same period of 2016, due to lower revenues and the significantly higher network fees.
Manufacturing includes four businesses: Dekko, a manufacturer of electrical workspace solutions, architectural lighting and electrical components and assemblies; Joyce/Dayton Corp., a manufacturer of screw jacks and other linear motion systems; Forney, a global supplier of products and systems that control and monitor combustion processes in electric utility and industrial applications; and Hoover Treated Wood Products, Inc., a supplier of pressure impregnated kiln-dried lumber and plywood products for fire retardant and preservative applications that the Company acquired in April 2017. In September 2016, Dekko acquired Electri-Cable Assemblies (ECA), a manufacturer of power, data and electrical solutions for the office furniture industry.
In the second quarter of 2017, the Company recorded a $9.2 million goodwill and other long-lived asset impairment charge at Forney, due to lower than expected revenues resulting from sluggish overall demand for its energy products. Excluding this impairment charge, manufacturing revenues and operating income increased in the first nine months of 2017 due to the Hoover acquisition and growth and improved results at Dekko, including the ECA acquisition, offset by a decline in results at Forney, which included $1.2 million in expense related to a separation incentive program implemented in the third quarter of 2017 that will be mostly funded from the assets of the Company's pension plan.
The Graham Healthcare Group (GHG) provides home health and hospice services in three states. In June 2016, the Company acquired the outstanding 20% redeemable noncontrolling interest in Residential Healthcare (Residential). Also in June 2016, Celtic Healthcare (Celtic) and Residential combined their business operations and the Company now owns 90% of the combined entity. The company incurred approximately $2.0 million in expense in conjunction with these transactions in the second quarter of 2016. At the end of June 2017, GHG acquired Hometown Home Health and Hospice, a Lapeer, MI-based healthcare services provider. Healthcare revenues increased 5% in the first nine months of 2017, while operating results were down, due largely to increased bad debt expense and higher information systems and other integration costs.
In June 2016, Residential and a Michigan hospital formed a joint venture to provide home health services to West Michigan patients. Residential manages the operations of the joint venture and holds a 40% interest. The pro rata operating results of the joint venture are included in the Company’s equity in earnings of affiliates. In connection with this June 2016 transaction, the Company recorded a pre-tax gain of $3.2 million in the second quarter of 2016 that is included in other non-operating income.
SocialCode is a provider of marketing solutions on social, mobile and video platforms. SocialCode revenue declined 4% in the third quarter of 2017 due to lower digital advertising spend from its clients in the retail and consumer packaged goods sectors. SocialCode revenue increased 8% for the first nine months of 2017, due to growth in