function nameDirectoryButtonClicked(a,b){writeActivityIndicator(b,"",true);document.location.href=a}function getIndividualResearchInfo(a,c){var b=["origin=nameDirectory","lastName="+a,"lang="+c].join("&");jQuery.ajax({url:"/FP/API/IndividualResearch/getIndividualResearchInfoByName.php",data:b,cache:false,dataType:"json",success:function(d){getIndividualResearchInfoCallback(d)},error:function(d,f){}})}function getIndividualResearchInfoCallback(a){if(a.researchResults>0){setButtonSprite2Text("recordsFoundButton",a.formattedResearchResults);showRecordsFoundButton()}}function showRecordsFoundButton(){jQuery("#NDrecordsFoundContainer").animate({height:"show"})}function openDNAProject(a){writeActivityIndicator(ACTIVITY_FTDNA_VIEWS,SCENARIO_FTDNA_CLICK_PROJECT_BUTTON_IN_LAST_NAME,false);location.href=a};

