+
+ // ie fix
+ user.hover(function(){$(this).addClass("hover")}, function(){$(this).removeClass("hover")});
+ $('html').live('click', function(e){
+ $('.cloudbar .profile .full>a').removeClass('open');
+ $('.cloudbar .profile .full>a').siblings('ul').hide();
+ });
+
+
+ $('.cloudbar .profile .full>a').live('click', function(e){
+
+ e.stopPropagation();
+ e.preventDefault();
+ equalWidths ( $('.cloudbar .profile ul'), $('.cloudbar .profile'));
+ $(this).siblings('ul').toggle();
+ $(this).toggleClass('open');
+
+ });
+
+
+});
+
+$(window).resize(function() {
+ equalWidths ( $('.cloudbar .profile ul'), $('.cloudbar .profile'));