var Bauer = ( Bauer || {} )

Bauer.UserBar = {
  addStylesheetTag: function(src) {
    var link 	= document.createElement('link');
    link.rel 	= 'stylesheet';
    link.href = src;
    $("head").append(link);
  },

  inject: function(users) {
	  $('#bsso-user-bar').append(users);
    setTimeout(function(){
      $('#bsso-user-bar').fadeIn('fast');
    }, 200);
  }
}

Bauer.UserBar.addStylesheetTag('http://profile.abc.soapsindepth.com/assets/user_bar.css?v2');
document.write('<div id="bsso-user-bar" style="display: none;">');
document.write('</div>'); /* end #bsso-user-bar */

$(function() {
  Bauer.UserBar.inject("  <div id=\"network-nav\">\n  </div>\n  <div id=\"social-media-buttons\">\n    \n  </div>\n  <div id=\"user-info\">\n      <a href=\"http://profile.abc.soapsindepth.com/log_in\">Log in</a>\n      <span class=\"sep\">&bull;</span>\n      <a href=\"http://profile.abc.soapsindepth.com/auth/facebook/setup\" class=\"bauer-fb-login\">fb login</a>\n      <span class=\"sep\">&bull;</span>\n      <a href=\"http://profile.abc.soapsindepth.com/sign_up\">Sign up</a>\n  </div>\n");
})

