rem: 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", "" ); } ); 
add: $( ".toggleIcon" ).each( function() { this.src = "/library/image/sakai/expand.gif?panel=Main"; this.alt = altShow; } ); 
context:         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", "" );        } );
meta: 1235	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1235/085769ac0ad9db2d4c4b3f351ccbdc1b5802d427/citationscript.js/buggy/citations/citations-tool/tool/src/webapp/js/citationscript.js