document.write('<p id="nav_xtras">');

if(document.cookie.indexOf("capalert_v2") > -1) {
   document.write('<a href="http://data.sacbee.com/capalert/profile.html">My Profile</a> &middot; <a href="http://data.sacbee.com/capalert/logout.html">Sign Out</a> &middot; <a href="http://data.sacbee.com/capalert/support.html">Support</a> &middot; <a href="http://data.sacbee.com/capalert/advertise.html">Advertise</a>');
}
else {
   document.write('<a href="http://data.sacbee.com/capalert/register.html">Register</a> &middot; <a href="http://data.sacbee.com/capalert/login.html">Sign In</a> &middot; <a href="http://data.sacbee.com/capalert/support.html">Support</a> &middot; <a href="http://data.sacbee.com/capalert/advertise.html">Advertise</a>');
}

document.write('</p>');
