$().ready(function() {  
 jQuery('.blinds .window').each(function(i,item) {jQuery(item).attr('rel',jQuery(this).height());});
  jQuery('.blinds .window').not(':first').css({height:0,overflow:'hidden'});
  jQuery('.blinds li').click(function() {
    var item=jQuery('.window',this);
    if(item.height()<=0)
      item.animate({height:item.attr('rel')},function() {jQuery(this).css('overflow','visible');});
    jQuery(this).parent().children('li').children('.window').not(item).css('overflow','hidden').animate({height:0});
  });
}); 