-
- /*$('.cloudbar .profile ul').mouseover(function(){
- $(this).parents('.profile').css('backgroundColor','#000');
-
- });
- $('.cloudbar .profile ul').mouseout(function(){
- $(this).parents('.profile').css('backgroundColor','#01A1AE');
-
- });*/
- $('.cloudbar .profile .full>a').live('click', function(e){
- e.preventDefault();
+ $('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'));