$(document).ready(function(){
    $('#sharecontainer').mouseenter(function(e){
    $("#insideshare").children().show();
    $("#insideshare").stop(true, true).show(150);
 
  });
  $('#sharecontainer').mouseleave(function(e){
    $("#insideshare").children().hide();
    $("#insideshare").stop(true, true).hide(100);
  });
 
  $('.firstfire').mouseenter(function(){
    $(this).find("span").stop(true, true).show(10);
  });
  $('.firstfire').mouseleave(function(){
    $(this).find("span").stop(true, true).hide(50);
  });
  $('.mainNavigation tr td').mouseenter(function(){
    if (!($(this).hasClass("selectednav"))){
      $(this).css("background-position", "0 -37px");
    }
  });
  $('.mainNavigation tr td').mouseleave(function(){
    $(this).css("background-position", "0 0");
  });
 
  $('.themedrop').mouseenter(function(){
    $(this).find('ul').slideDown(150);
  });
  $('.themedrop').mouseleave(function(){
    $(this).find('ul').stop(true, true).slideUp(150);
  });
 
 
 
  $('.barboxes').mouseenter(function(){
    $(this).find('div.favup').stop(true, true).show();
  });
  $('.barboxes').mouseleave(function(){
    $(this).find('div.favup').stop(true, true).hide();
  });
 
  var $favheight = jQuery(".favup").height();
  $(".favup").css('top',-6-$favheight+"px");
 
 
 
 
  $('.favup ul.intop li.intopheads').mouseenter(function(){
    $('.inners').hide();
    $(this).find('ul').stop(true, true).show();
    var $favheightin = jQuery(".intop ul").height();
    $('.intop ul').css('height',$favheightin+"px");
    $(".favup").css('top',-11-$favheight-$favheightin+"px");
  });
 
  var $themedropw = jQuery(".themedrop1").width();
  $(".dp1").width($themedropw+30+"px");
  $themedropw = jQuery(".themedrop2").width();
  $(".dp2").width($themedropw+30+"px");
});
