Code Efficiency

Code Efficiency

Hey! Is there anyone who could help me make this code more efficient?

   
  1. $("a.more_info").toggle(function(){
  2.       var itemid = $(this).parent().parent().parent().parent().attr('id');
  3.       var itemid_hash = "#" + itemid + " .details_exp";
  4.       var itemid_tog_more = "#" + itemid + " a.more_info";       $(itemid_tog_more).addClass("less_info").removeClass("more_info");
  5.       $(itemid_hash).fadeIn();
  6. }, function () {
  7.       var itemid = $(this).parent().parent().parent().parent().attr('id');
  8.       var itemid_hash = "#" + itemid + " .details_exp";
  9.       var itemid_tog_less = "#" + itemid + " a.less_info";
  10.       $(itemid_tog_less).addClass("more_info").removeClass("less_info");
  11.       $(itemid_hash).fadeOut();
  12. });
First, is there a way to go up four levels in the DOM without stacking up .parent() four times?
Second, is there a better way to define the "itemid" and "itemid_hash" variables so I don't have to redefine them for the second half of the toggle function?
The code is working great as is, but I just want to make sure I've doing things in the most correct way.
Thanks!