
        function reappear(element)
        {
          new Effect.Appear(element);
        }

        function resize(e)
        {
          if(e.style.height != '50px')
          {
            e.style.height = '50px';
            e.style.width = '50px';
            e.style.left = '255px';
            e.style.top = '10px';
          }
        }
      
        Droppables.add('remove',
      	{
	  accept: "inbin",
	  onDrop: function(element)
	  {
	    Droppables.remove(element);
	    new Effect.Puff(document.getElementById('remove'));
	    element.parentNode.removeChild(element);
	    window.setTimeout("reappear(document.getElementById('remove'))",1000);
	    window.setTimeout("resize(document.getElementById('remove'))",1500);
	  }
	});
        var handlerFunc = function(t)
        {
          new Insertion.Top('bin', t.responseText); //OTHER t.properties??
        }      
      
        Droppables.add
        (
      	  'bin', 
      	  {
	    accept: "dragme",
      	    onDrop: function(element)
	    {
	      newel = 'bin-'+element.id;
	      if(document.getElementById(newel) != null)
	      {
	        p = document.getElementById('bin');
	        Droppables.remove(document.getElementById(newel));
                p.removeChild(document.getElementById(newel));
	      }
	      new Ajax.Request
	      (
	        'dbd/textadder.php', 
	        { 
		  asynchronous:true, parameters:'word='+element.id, onSuccess:handlerFunc
	        }
	      );
	    }
          }
        );
