);

		$('#btnSendMultiple').click(function(){
		  for (var i = 1; i <= 20; i++) {
				sendMessage('message' + i);
			}
		});

		$('#btnLogin').click(function(){
			var username = $('#username').val();
			username = username.replace(" ","").replace(",","").replace("-",""); //only chars without spaces
			if (username == 'yourusername' || username == '') {
			  alert('Please, enter your username');
				return false;
			}
			if (enterInChat(username)) {
				$('.beforelogin').hide();
				$('.afterlogin').show();