Are you trying to parse the UTM cookies? Unfortunately Google Analytics Universal no longer stores the referral or campaign info in a cookie, it is saved inside of GA itself.
You should however be able to grab referral information from the HTTP stream - http://stackoverflow.com/questions/3420031/how-do-i-get-the-referrers-domain-host-name-using-javascr... might give you some ideas.
Ben