true';
                                }
                            }).on('shown.bs.collapse', function() {
                                if (this.id) {
                                    localStorage.removeItem(this.id + cookie_name);
                                }
                            }).each(function() {
                                if (this.id && localStorage[this.id + cookie_name] == 'true' ) {
                                    $(this).collapse('hide');
                              