var $j = jQuery.noConflict();
$j(document).ready(function() {
  var author_val = $j('#author').val();
  if( author_val !='' && $j('#email').val() !='' ) {
    $j('#author-data').hide();
    $j('#author-data').before('<div id="welcome">С возвращением, <span style="font-size: large;"><span style="color: red;">'+author_val+'</span></span>! <a href="#">Войти под другим именем &raquo;</a></div>')
    $j('#welcome a').toggle(
      function() {
        $j('#author-data').show(300);
        $j(this).html('Свернуть &raquo;');
        return false;
      },
      function() {
        $j('#author-data').hide(300);
        $j(this).html('Войти под другим именем &raquo;');
        return false;
      }
    );
  }
})
