'; } }); }); })(jQuery); });	if($("#aspect_artifactbrowser_ItemViewer_div_item-view .ds-referenceSet-list li").html()!=undefined){ arreglo=$("#aspect_artifactbrowser_ItemViewer_div_item-view .ds-referenceSet-list li" ).html().split('/a'); if(arreglo[1]!=undefined){	$("#aspect_artifactbrowser_ItemViewer_div_item-view .ds-referenceSet-list li" ).html(arreglo[0]+"/a>") } } url=window.location.href array_url=url.split("/"); if($('#aspect_artifactbrowser_CollectionViewer_div_collection-home').html()!= undefined){ if($('#aspect_discovery_CollectionRecentSubmissions_div_collection-recent-submission').html()==undefined){ $('#aspect_discovery_CollectionSearch_div_collection-search').hide() } $('.first-page-header').addClass('patineta') } if($('#aspect_artifactbrowser_CommunityViewer_div_community-home').html()!= undefined){ $('.first-page-header').addClass('cafe') $('#aspect_discovery_CommunityRecentSubmissions_div_community-recent-submission').hide() $('#aspect_artifactbrowser_CommunityViewer_div_community-home .ds-div-head').hide() } if($('#aspect_artifactbrowser_CommunityBrowser_referenceSet_community-browser').html()!= undefined){ $('h2.first-page-header').addClass('cafe') $('.community-browser-row').addClass('borrar') $('.sub-tree-wrapper .row a').addClass('linea') $('.ds-paragraph').hide(); var set = $('#aspect_artifactbrowser_CommunityBrowser_referenceSet_community-browser').children('.borrar'); var length = set.length; set.each(function(index, element) { if (index === (length - 1)) { $(this).hide(); } }); } $('#aspect_discovery_CollectionRecentSubmissions_div_collection-recent-submission').load('/tipoDocumento/annio.jsp?handle='+array_url[array_url.length-1], function(response, status, xhr) { $( ".source" ).change(function() { $('#annioCollection').load('/tipoDocumento/annio.jsp?handle='+array_url[array_url.length-1]+'&source='+encodeURIComponent($(this).val().trim()) ); }); }); });