var hAdj;

jQuery(document).ready(function(){
    //jQuery("td#sidebar-right").attr("height", (document.body.clientHeight -150) + "px");
    hAdj = setTimeout("heightAdj();", 10);

    var sibCount = jQuery("#block-block-32").siblings();
    if(sibCount.length == 0){

       //jQuery("#sidebar-right").hide();
       jQuery("#block-block-32").parent().parent().parent().hide();
    }
    else if(sibCount.length > 0){
        jQuery("#block-block-32").hide();
    }
});

function heightAdj(){
	jQuery("td#sidebar-right").attr("height", (document.body.clientHeight -170) + "px");
	clearTimeout(hAdj);
}
