11. Operating costs

for the year ended

Note 31 December 2012 31 December 2011
(restated)
Programming costs 360,311 414,742
Distribution, marketing, customer relation management and retention costs 312,723 312,018
Cost of internal and external TV production and amortization of sport rights 351,489 270,567
Depreciation, amortization and impairment 243,066 174,880
Salaries and employee-related costs 178,373 148,811
Broadcasting and signal transmission costs 149,731 114,736
Amortization of purchased film licenses 112,107 93,226
Cost of equipment sold 36,152 33,548
Cost of settlements with mobile network operators and interconnection charges 44,110 25,374
Cost of debt collection services and bad debt allowance and receivables written off 27,457 74,254
Other costs 156,144 137,465
Total costs by kind 1,971,663 1,799,621

for the year ended

31 December 2012 31 December 2011
(restated)
Cost of services, products, goods and materials sold 1,530,301 1,396,237
Selling expenses 247,073 243,493
General and administrative expenses 194,289 159,891
Total costs by function 1,971,663 1,799,621

a) Salaries and employee-related costs

for the year ended

31 December 2012 31 December 2011
Salaries 151,880 128,638
Social security contributions 19,667 14,531
Other employee-related costs 6,826 5,642
Total 178,373 148,811

Average headcount

for the year ended

31 December 2012 31 December 2011
Number of employees – employment contracts 1,454 1,267