'); } }); location.hash = "#m1"; } }); } function load_person(url) { jQuery.ajax({ url: url, success: function (data) { // jQuery('#search-results').css('background-color','white'); // jQuery('#content .section').css('background-color','white !important'); // jQuery('#content .section').removeClass('background-color'); jQuery('#search-results').html(''); //jQuery('#search-results').show(); jQuery.each(jQuery(data), function(k,v) { //if(v.tagName == 'TABLE') { jQuery('#search-results').append(v); //jQuery('#search-results').append(''); //} }); location.hash = "#m1"; } }); } jQuery(function() { console.log( "ready!" ); if(GetURLParameter('person') == null) { load_page('/exist/cocoon/juel/juel_one?'+window.location.search.substring(1).split('#')[0]); } else { load_person('/academical_db/people/public?no_layout=true&id='+GetURLParameter('person')); } }); //-->