if( this.citationsHelperMode == "ADD_CITATIONS" ) { document.getElementById('sakai_action').value='doAddCitations'; this.submitform( this.formname ); } else if( this.citationsHelperMode == "LIST" ) { document.getElementById('sakai_action').value='doList'; this.submitform( this.formname ); 
if( this.mode == "LIST" ) {  window.location.assign( this.baseUrl + "&sakai_action=doList" ); } else {  if( document.getElementById( "messageDiv" ) ) {  if( ! this.baseUrl.match( "panel\=null" ) ) { this.baseUrl += "?panel=null"; }  $( "#messageDiv" ).load( this.baseUrl + "&sakai_action=doMessageFrame&operation=refreshCount", function() {  $( "#citationCountDisplay" ).html( document.getElementById( "citationCount" ).value ); } ); } 
function refreshCitationsHelper() {  if( this.citationsHelperMode == "ADD_CITATIONS" ) {    document.getElementById('sakai_action').value='doAddCitations';    this.submitform( this.formname );  } else if( this.citationsHelperMode == "LIST" ) {    document.getElementById('sakai_action').value='doList';    this.submitform( this.formname );  }}
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