setTimeout(function(){ transport._connect(); }, 
dojox.cometd.longPollTransport = new function(){ this._connectionType="long-polling"; this._cometd=null; this.lastTimestamp = null;  this.check = function(types, version, xdomain){ return ((!xdomain)&&(dojo.indexOf(types, "long-polling") >= 0)); }  this.tunnelInit = function(){ if(this._cometd._polling){ return; } this.openTunnelWith({ message: dojo.toJson([ { channel:	"/meta/connect", clientId:	this._cometd.clientId, connectionType: this._connectionType, id:		""+this._cometd.messageId++ } ]) }); }  this.tunnelCollapse = function(){ if(!this._cometd._polling){  this._cometd._polling = false;    if(this._cometd["advice"]){ if(this._cometd.advice["reconnect"]=="none"){ return; }  if(	(this._cometd.advice["interval"])&& (this._cometd.advice.interval>0) ){ var transport = this; setTimeout(function(){ transport._connect(); }, this._cometd.advice.interval); }else{ this._connect(); } }else{ this._connect(); } } }  this._connect = function(){ if(	(this._cometd["advice"])&& (this._cometd.advice["reconnect"]=="handshake") ){ this._cometd.init(this._cometd.url,this._cometd._props); }else if(this._cometd._connected){ this.openTunnelWith({ message: dojo.toJson([ { channel:	"/meta/connect", connectionType: this._connectionType, clientId:	this._cometd.clientId, timestamp:	this.lastTimestamp, id:		""+this._cometd.messageId++ } ]) }); } }  this.deliver = function(message){  if(message["timestamp"]){ this.lastTimestamp = message.timestamp; } }  this.openTunnelWith = function(content, url){  var d = dojo.xhrPost({ url: (url||this._cometd.url), content: content, handleAs: this._cometd.handleAs, load: dojo.hitch(this, function(data){   this._cometd._polling = false; this._cometd.deliver(data); this.tunnelCollapse(); }), error: function(err){ console.debug("tunnel opening failed:", err); dojo.cometd._polling = false;   } }); this._cometd._polling = true; }  this.sendMessages = function(messages){ for(var i=0; i<messages.length; i++){ messages[i].clientId = this._cometd.clientId; messages[i].id = ""+this._cometd.messageId++; } return dojo.xhrPost({ url: this._cometd.url||djConfig["cometdRoot"], handleAs: this._cometd.handleAs, load: dojo.hitch(this._cometd, "deliver"), content: { message: dojo.toJson(messages) } }); }  this.startup = function(handshakeData){ if(this._cometd._connected){ return; } this.tunnelInit(); }  this.disconnect = function(){ dojo.xhrPost({ url: this._cometd.url||djConfig["cometdRoot"], handleAs: this._cometd.handleAs, content: { message: dojo.toJson([{ channel:	"/meta/disconnect", clientId:	this._cometd.clientId, id:		""+this._cometd.messageId++ }]) } }); } } 
					setTimeout(function(){ transport._connect(); },
5168	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5168/d0f9ee8243dce3dfda13175ec0838eb68311844f/cometd.js/clean/_cometd/cometd.js