$(function() {
  // Search
  $('html[@xml:lang=es] input#search-string[@value=]').attr('value','escribe lo que buscas');
  $('html[@xml:lang=es] input#search-string').blur( function() { if(this.value=='') { this.value='escribe lo que buscas'; } } ).focus( function () { if(this.value=='escribe lo que buscas') { this.value=''; } } );
});
// iconos de links
$(document).ready(function() {
  $('a.external-link-new-window').filter(function() {
	return this.hostname && this.hostname !== location.hostname;
  }).after(' <img src="/fileadmin/images/external.png" alt="link externo">');

  $('a.external-link').filter(function() {
	return this.hostname && this.hostname !== location.hostname;
  }).after(' <img src="/fileadmin/images/external.png" alt="link externo">');
  
  $('a.download ').after(' <img src="/fileadmin/images/download.png" alt="descarga">');

});