A Mysterious Code Found in My Website Header. Is My Site Compromised?

There was a javascript code in the header of my website from very long time. Only today I saw it and commented it out.

Can someone please check the code and tell me what it has been doing. Is it some malicious code?

The code is too big to paste here so I have kept it commented in the header of my website.

Please check – My Website Link

I have tried search on the net but found nothing