$( ".advField" ).each( function() { if( this.value && this.value != "" ) { keywordBuffer = keywordBuffer + this.value + " "; } } ); 
function() {  $( "#citationCountDisplay" ).html( document.getElementById( "citationCount" ).value ); } 
  $( ".advField" ).each( function() {    if( this.value && this.value != "" ) {      keywordBuffer = keywordBuffer + this.value + " ";    }  } );
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