var x = document.links.namedItem("ContentPlaceHolder1_hplProfileEdit").href;
document.getElementById("profilelink").href = x;
and place the Profile link in the footer inside an a tag with the id of "profilelink" like so:
<a id="profilelink">My Profile</a>
It should link nicely to the profile page.