//$("#biblio-header a:not([title='Click to download the BibTEX formatted file'], [title='Click to download the EndNote XML formatted file'], [title='Click to download the EndNote Tagged formatted file']), #biblio-header img").not('.ctools-dropdown-link.ctools-dropdown-text-link').wrapAll('<div id="newlinks"></div>');
$('#biblio-header').append($('#newlinks'));
$("#biblio-header a:not([title='Click to download the BibTEX formatted file'], [title='Click to download the EndNote XML formatted file'], [title='Click to download the EndNote Tagged formatted file']), #biblio-header img").not('.ctools-dropdown-link.ctools-dropdown-text-link').wrapAll('<div id="newlinks"></div>');
//var newhtml = '<fieldset class="collapsible form-wrapper collapse-processed" id="edit-sort-form"><legend><span class="fieldset-legend"><a class="fieldset-title" href="#"><span class="fieldset-legend-prefix element-invisible">Hide</span> Sort</a><span class="summary"></span></span></legend>' + $("#biblio-header a:not([title='Click to download the BibTEX formatted file'], [title='Click to download the EndNote XML formatted file'], [title='Click to download the EndNote Tagged formatted file']), #biblio-header img").not('.ctools-dropdown-link.ctools-dropdown-text-link').insertAfter('.biblio-export') + '</fieldset>'
//$('#biblio-search-form').after($("#biblio-header a:not([title='Click to download the BibTEX formatted file'], [title='Click to download the EndNote XML formatted file'], [title='Click to download the EndNote Tagged formatted file']), #biblio-header img").not('.ctools-dropdown-link.ctools-dropdown-text-link'));
//console.log($("#biblio-header a[title!="Click to download the BibTEX formatted file"], #biblio-header img").not('.ctools-dropdown-link.ctools-dropdown-text-link [title="Click to download the BibTEX formatted file"]'));
//$("#biblio-header a:not([title='Click to download the BibTEX formatted file'], [title='Click to download the EndNote XML formatted file'], [title='Click to download the EndNote Tagged formatted file']), #biblio-header img").not('.ctools-dropdown-link.ctools-dropdown-text-link').insertAfter('.biblio-export');