function() {  document.getElementById( citationButton.id ).id = document.getElementById( "addedCitationId" ).value;   $( "#citationCountDisplay" ).html( document.getElementById( "citationCount" ).value );   $( "#" + spinnerId ).hide(); $( "#" + citationButton.id ).show();   citationButton.value = removeLabel;   highlightButtonSelections( removeLabel );   $( "input" ).attr( "disabled", "" ); } ); 
$( ".toggleIcon" ).each( function() { this.src = "/library/image/sakai/expand.gif?panel=Main"; this.alt = altShow; } ); 
        function() {          // update the button's id using the value from the AJAX response          document.getElementById( citationButton.id ).id = document.getElementById( "addedCitationId" ).value;                    // update the citation list count using the value from the AJAX response          $( "#citationCountDisplay" ).html( document.getElementById( "citationCount" ).value );                    // hide the spinner          $( "#" + spinnerId ).hide();          $( "#" + citationButton.id ).show();                    // change label to remove          citationButton.value = removeLabel;                    // change highlighting          highlightButtonSelections( removeLabel );                    // enable inputs          $( "input" ).attr( "disabled", "" );        } );
7162	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7162/5b3f63815dcd51e3b94b3629a48d197aab4f9f46/citationscript.js/buggy/citations-tool/tool/src/webapp/js/citationscript.js