Get PHP Cookie for mp_globalcart


I am needing to know exactly how much money is the total of the shopping cart at the time the site loads so I can display it via custom code in the heading bar.

I recognize this is stored in the wp_globalcart cookie.

So I need to know how best to access this cookie value, OR whether you have a JavaScript snippet to access this same value upon site load.

Thank you.