add: img.classname = "hop-busy-anim"; 
context: function hop_inner( method, service, success, failure, sync, mute ) {   var http = new XMLHttpRequest();   var vis = false;   if( !mute ) {      vis = document.createElement( "div" );      vis.style.setProperty( "position", "absolute", "" );      vis.style.setProperty( "top", "5", "" );      vis.style.setProperty( "right", "5", "" );      vis.style.setProperty( "z-index", "100", "" );      vis.style.setProperty( "background", "#eeeeee", "" );      vis.style.setProperty( "-moz-opacity", "0.7", "" );      vis.style.setProperty( "border-color", "black", "" );      vis.style.setProperty( "border-style", "outset", "" );      vis.style.setProperty( "border-width", "1px", "" );      vis.style.setProperty( "padding", "2px", "" );      vis.title = service;      var img = document.createElement( "img" );      img.src = hop_busy_anim;            vis.appendChild( img );      document.body.appendChild( vis );   }   http.open( method, service, (sync != true) );   http.onreadystatechange = function() {      if( http.readyState == 4 ) {	 var status;	 if( !mute ) {	    document.body.removeChild( vis );	 }	 try {	    status = http.status;	 } catch( e ) {	    if( failure ) {	       failure( http );	    } else {	       throw( e );	    }	 }	 switch( status ) {	    case 200: 	      if( success ) {	         success( http );  	      } else {	         hop_js_eval( http );	      }	      break;	    case 204:	       break;	    case 257:	       hop_js_eval( http );	       break;	    case 258:	       if( http.responseText != null ) eval( http.responseText );	       break;	    case 259:	       hop_set_cookie( http );	       break;	    case 407:	       alert( "*** Hop Authentication Error " + http.status + ": `"			 + http.responseText + "'" );	       break;	    	    default:	       if( (status > 200) && (status < 300) ) { 	          if( success ) {	            success( http );  	          }	       } else {		  if( failure ) {		     failure( http );		  } else {		     hop_default_failure( http );		  }	       }	 }      }   }   http.setRequestHeader( 'Content-Type', 'application/x-www-form-urlencoded; charset=ISO-8859-1' );/*    http.setTimeouts = 1000;                                         */   http.send( null );   return http;}
meta: 4636	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/bcfa4f343ff45889efe9eb4c8a1b60d9bf1a46bb/hop.js/clean/share/hop.js