function hideTab(A,B){if($(A).style.display!="none"){$(A).style.display="none";$(A+"Tab").src=B+"/tab_"+A+"_off.gif"}}function showTab(A,B){var C=$(A);if(C!=null){C.style.display="block";$(A+"Tab").src=B+"/tab_"+A+".gif"}}function switchTo(C,A,B){var D=document.getElementById("imageUrl").value;if(C==panes[0]){hideTab(panes[1],D);showTab(panes[0],D)}else{if(C==panes[1]){hideTab(panes[0],D);showTab(panes[1],D)}}if(A!=null){A(C)}}function fetchMetrics(){new Ajax.Updater("metrics_section","Metrics.action",{parameters:{key:$F("researcherPk")}})}function fetchOtherResearcherMetrics(){new Ajax.Updater("metrics_section","Metrics.action",{parameters:{key:$F("researcherPk"),publicProfile:true}})}function fetchPublications(){new Ajax.Updater("institute_section","InstituteUploadedPublications.action",{parameters:{key:$F("researcherPk")}})}function fetchManagePublications(){eval("window.location = 'ManagePublications.action'")};