anchor.diff:   			output.update('<span class="status_red">Transport closed (code: ' + code + ')</span>');
    			//try to reconnect
    			// stomp.connect(document.domain, 61613, 'UNIQUE_ID_PER_CLIENT', '');
  -			stomp.connect('<%=STOMP_HOST%>', <%=STOMP_PORT%>, '<%=current_user.id%>', '');
  +			setTimeout("stomp.connect('<%=STOMP_HOST%>', <%=STOMP_PORT%>, '<%=current_user.id%>', '');", 3000);
   			// stomp.subscribe('CONVERSATION_CHANNEL_<%=@conversation.id%>', {exchange:''});
   	 		
  -	 		setTimeout("stomp.subscribe('CONVERSATION_CHANNEL_<%=@conversation.id%>', {exchange:''})",5000);
  +	 		// setTimeout("stomp.subscribe('CONVERSATION_CHANNEL_<%=@conversation.id%>', {exchange:''})",5000);
   
    		};
    		stomp.onerror = function(error) {
  
positive.code: 
   		};
  		stomp.connect('<%=STOMP_HOST%>', <%=STOMP_PORT%>, 'user_<%=current_user.id%>', '');
  		// stomp.subscribe('CONVERSATION_CHANNEL_<%=@conversation.id%>', {exchange:''});
   		setTimeout("stomp.subscribe('CONVERSATION_CHANNEL_<%=@conversation.id%>', {exchange:''})", 5000);
  
   	};
  
  
negative.code:  		};
   		stomp.onconnectedframe = function() {
   			output.update('<span class="status_green">Connected</span>');
  			stomp.subscribe('CONVERSATION_CHANNEL_<%=@conversation.id%>', {exchange:''});
   		};
   		stomp.onmessageframe = function(frame) {
   			var message_output = $('messages');
  