	id: $(this).attr('id')
							}));						
						}
					});
		    	}

		    	var o = $('#' + c.id);
		    	
		    	if (!o.hasClass('ui-draggable-dragging'))
			    	o.css({
			    		"left": c.x + 'px',
			    		"top": c.y + 'px',
			    		"background-color": c.color
			    	});

		    }
		});

		$('#background').click(function(){
			socket.send(JSON.stringify({
				act: 'create',
				x: currentMousePos.x,
				y: currentMousePos.y,
				color: 'gray'
			}));
		});

		jQuery(function(