function placeChannelNavLogo() {
var Registration = function(){}

Registration.REGISTRATION_COOKIE = "wpniuser";

Registration.prototype.getEditProfileLink = function( txt )
{
  return '<a href="/ac2/wp-dyn?node=admin/registration/manage&destination=manage&nextstep=gather">'+txt+'</a>';
}
Registration.prototype.getSignInLink = function( txt )
{
  return '<a href="/ac2/wp-dyn?node=admin/registration/register&destination=login&nextstep=gather&application=reg30-globalnav&applicationURL=http://www.washingtonpost.com">'+txt+'</a>';
}
Registration.prototype.getSignOutLink = function( txt )
{
  return '<a href="/ac2/wp-dyn?node=admin/registration/login&destination=logout&nextstep=confirm">'+txt+'</a>';
}
Registration.prototype.getRegisterLink = function( txt )
{
  return '<a href="/ac2/wp-dyn?node=admin/registration/register&destination=register&nextstep=gather&application=reg30-globalnav&applicationURL=http://www.washingtonpost.com">'+txt+'</a>';
}
Registration.prototype.isSignedIn = function()
{
  if( typeof this.signedIn == 'undefined' )
  {
    this.signedIn = ( document.cookie.indexOf( Registration.REGISTRATION_COOKIE ) != -1 );
  }
  return this.signedIn;
}
Registration.prototype.getUserName = function()
{
  if( typeof this.username == 'undefined' )
  {
    if (document.cookie.indexOf(Registration.REGISTRATION_COOKIE) != -1)
    {
      var start = (document.cookie.indexOf(Registration.REGISTRATION_COOKIE) + Registration.REGISTRATION_COOKIE.length + 1);
      var end = (document.cookie.indexOf(";",start)) == -1 ? document.cookie.length : document.cookie.indexOf(";",start);
      this.username = document.cookie.substring(start,end);
      if( this.username.indexOf( "@" ) != -1 ) this.username = this.username.substring(0,this.username.indexOf("@"));
    }
  }
  return this.username;
}

// ******************************


var reg = new Registration();

parseUrl = "";

ourUrl = document.location.href;

if( ourUrl.indexOf("blog.washingtonpost.com") != -1) parseUrl = "http://www.washingtonpost.com";



document.write('<link href="http://www.washingtonpost.com/wp-srv/ssi/globalnav/css/wp_global_nav.css" rel="stylesheet" media="all"/>');  

document.write('<div id="wp_header_top"> <div class="wp_logo"><a href="http://www.washingtonpost.com/?nav=globaltop"><img src="http://media.washingtonpost.com/wp-srv/article/pieces/postcom_logo.gif" width="280" height="60" border="0" alt="washingtonpost.com" /></a></div> <div class="regis"> <div id="signedIn"> <div class="greeting"> Hello '+ reg.getUserName() +'</div> <div class="link"> <a href="'+parseUrl+'/ac2/wp-dyn?node=admin/registration/manage&destination=manage&nextstep=gather">Edit Preferences</a> | <a href="'+parseUrl+'/ac2/wp-dyn?node=admin/registration/login&destination=logout&nextstep=confirm">Sign Out</a> </div> </div> <div id="signedOut"> <div style="float:left;"></div> <div class="signIn"> <b><a href="'+parseUrl+'/ac2/wp-dyn?node=admin/registration/register&destination=login&nextstep=gather&application=reg30-globalnav&applicationURL=http://www.washingtonpost.com">Sign In</a></b> | <a href="'+parseUrl+'/ac2/wp-dyn?node=admin/registration/register&destination=register&nextstep=gather&application=reg30-globalnav&applicationURL=http://www.washingtonpost.com">Register Now</a> </div> </div> </div> <div class="wp_print_subscribe" style="top:3px; left:460px; font-weight:bold; color:#666; width:138px;"><a href="https://subscription.washpost.com/subscriberservices/subscriber.portal?state=welcome&oscode=rpwc"><img src="http://media.washingtonpost.com/wp-srv/article/pieces/twp_logo.gif" width="120" height="20" border="0" alt="The Washington Post" /></a><br><a href="http://www.washingtonpost.com/wp-dyn/content/print/?nav=globetop">Print Edition</a> | <a href="https://subscription.washpost.com/subscriberservices/subscriber.portal?state=welcome&oscode=rpwc">Subscribe</a></div><div id="adTiff" style="display:none"><table cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right:1px"><img src="http://www.washingtonpost.com/wp-srv/hp/img/ad_vert.gif" border="0" alt="" /></td><td id="tiffTD"><script language="javascript" type="text/javascript" src="http://www.washingtonpost.com/wp-srv/ad/tiffany_manager.js"></script></td></tr></table></div></div>');


if( reg.isSignedIn() )
{
	document.getElementById('signedIn').style.display = 'block';
}
else
{
	document.getElementById('signedOut').style.display = 'block';
}
}