 dojo.addOnUnload(dojox.cometd,"disconnect"); 
	this.finishInit = function(data){		data = data[0];		this.handshakeReturn = data;		// pick a transport		if (data["advice"]){			this.advice = data.advice;		}		// TODO remove authSuccessful when all clients updated to the spec		if((!data.successful)&&(!data.authSuccessful)){			console.debug("cometd init failed");			// TODO follow advice			return;		}		if(data.version < this.minimumVersion){			console.debug("cometd protocol version mismatch. We wanted", this.minimumVersion, "but got", data.version);			return;		}		this.currentTransport = this.connectionTypes.match(			data.supportedConnectionTypes,			data.version,			this._isXD		);		this.currentTransport._cometd = this;		this.currentTransport.version = data.version;		this.clientId = data.clientId;		this.tunnelInit = dojo.hitch(this.currentTransport, "tunnelInit");		this.tunnelCollapse = dojo.hitch(this.currentTransport, "tunnelCollapse");		this.currentTransport.startup(data);		dojo.addOnUnload(dojox.cometd,"disconnect");	}
5168	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5168/cc204486907533a1a55d8dd5e73f9d3e25e2d0b1/cometd.js/clean/_cometd/cometd.js