c.y}px; background-color: ${c.color}"></div>`);
		    		var o = $('#' + c.id);
		    		o.draggable({
		    			drag: function(){
							socket.send(JSON.stringify({
								act: 'move',
								id: $(this).attr('id'),
								x: $(this).css('left').replace('px', ''),
								y: $(this).css('top').replace('px', '')
							}));		    				
		    			}
		    		});
					o.mousedown(function(event) {
						if (event.which == 3) {
							socket.send(JSON.stringify({
								act: 'changecolor',
							