if( readystate === 0 ) readystate = 1; register( p ); 
pending_events++; 
function hop_servevt_proxy_flash_init() {   /* if we are here, we are sure that Flash v8 or better is running */   hop_flash_minversion_set( 8 );      var readystate = 0;   hop_servevt_proxy = document.getElementById( hop_servevt_id );   var abort = function( id ) {      var svc = "/hop/server-event-unregister?event=" + id      + "&key=" + hop_servevt_proxy.key;      hop_servevt_proxy.httpreq = hop_send_request( svc, false,						    function() {;}, false,						    false, [] );   }         var failure = function( e ) {      hop_servevt_onclose();            for( var p in hop_servevt_table ) {	 if( hop_servevt_table[ p ].hop_servevt ) {	    abort( p );	 }      }   }   var register = function( id ) {      var svc = "/hop/server-event-register?event=" + id         + "&key=" + hop_servevt_proxy.key + "&flash=true";            var success = function( e ) {	 if( readystate === 1 ) {	    hop_trigger_serverready_event( new HopServerReadyEvent() );	    readystate = 2;	 }      }      hop_servevt_proxy.httpreq = hop_send_request( svc,						    // asynchronous call						    false,						    // success callback						    success,						    // failure callback						    failure,						    // no anim						    false,						    // no environment						    [] );   }   hop_servevt_proxy.register = register;   hop_servevt_proxy.unregister = function( id ) {      // This function does not close the socket, otherwise, no event      // could take place because they all share the same socket.      abort( id );   }   // scan all the previously registered events an register on the server   for( var p in hop_servevt_table ) {      if( hop_servevt_table[ p ].hop_servevt ) {	 if( readystate === 0 ) readystate = 1;	 register( p );      }   }   // register the event event deregistration   hop_window_onunload_add( failure );   // in any case, we the server is now ready to get event registration   if( readystate === 0 ) {      readystate = 2;      hop_trigger_serverready_event( new HopServerReadyEvent() );   }}
4636	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4636/80e80e4ea5dcc4d357d202e8b2ef792213ad49c6/hop-event.js/buggy/share/hop-event.js