I have a page where I need to read a cookie and pass it's value in my href.
The cookie name is 'psid' and I can see it's value from the browser when l am on the page.
What is the best way to do this?

Here is the sample href:

<li><a href=""
title="My Custom reports)."
target="_blank">Reports <span style="color:#339933;">. *Custom*</span> </li>