$(function(){
  $(".dropdown").hover(function(){
	var submenu = $(this).children(".submenu");
	submenu.css({
	  top: $(this).offset().top + $(this).height() + 'px',
	  left: ($(this).offset().left) + 'px'
	});
	submenu.stop(true, true).slideDown();
  },function(){
	$(this).children(".submenu").stop(true, true).slideUp();
  });
  
  $(".diy_icon").stop(true,false).hover(function(){
    $(this).animate({
      "opacity": "0.4"
    });
  }, function(){
    $(this).stop(true,false).animate({
      "opacity": "1"
    });
  });
  
  $(".diy_icon").click(function(){
    window.open( 'http://www.diynetwork.com/brothers-on-call/show/index.html' , '_blank' );
  });
});
