add: /*    http.setTimeouts = 1000;                                         */  
context: function hop_inner( method, service, success, failure, sync ) {   var http = new XMLHttpRequest();      http.open( method, service, (sync != true) );   http.onreadystatechange = function() {      if( http.readyState == 4 ) {	 var status;	 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 {		     var t = http.responseText;		     t = t.replace( /<[^>]+>/g, " " );		     t = t.replace( /&lt;/g, "<" );		     t = t.replace( /&gt;/g, ">" );		     t = t.replace( /&quot;/g, "\"" );		     alert( "*** Hop Error " + http.status + ": " + t );		  }	       }	 }      }   }   http.setRequestHeader( 'Content-Type', 'application/x-www-form-urlencoded; charset=ISO-8859-1' );   http.send( null );   return http;}
meta: 4636	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/0b5e8609acb4f24b22922d6ae27f863e30f1d091/hop.js/clean/share/hop.js