if (Drupal.jsEnabled){

//Prepare a reusable function, who knows someday a left_ear region is needed with the same method  
  jQuery.fn.slideFadeToggle = function(speed, easing, callback) {
  return this.animate({opacity: 'toggle', width: 'toggle'}, speed, easing, callback);
  };

$( function() {

//toggle login block horizontally
  $(".login-toggle").click(function(){
  $("#right-ear-inner").slideFadeToggle("slow");
  $(this).toggleClass("login-toggle-close"); return false;
  });

}); //function closed I missed. Thanks to Chris.

}

