Event.observe(window, 'load', function() {
  new Draggable('drag1', {handle: 'dragHeader'});
  new SimpleWindow('drag2');
  new SimpleWindow('drag3', {dragOptions: {handle:'dragHeader'}});
  new SimpleWindow('drag4', {constraint:'vertical', snap:[0,50], dragOptions: {constraint:'horizontal',snap:[50,0], handle:'dragHeader'}});
}
Draggable
nothing
Draggable & Resizeable
Draggable
Resizeable
Draggable
Resize vertical and drag horizontal + snaps every 50px