4px; height: 100px; position: relative; }
#subbtn { display: block; margin-top: 5px; }
#draggableSmall { position: absolute; width: 20px; height: 20px; padding: 3px; border: 1px solid black; background-color: red; z-index: 20;}
#draggableLarge { position: absolute; width: 50px; height: 50px; padding: 3px; border: 1px solid black; background-color: blue; z-index: 2;}
</style>

<script>
var SMALL_BOX_SIDE = 20;
var LARGE_BOX_SIDE = 50;
var SIDE_DIFF = LARGE_BOX_SIDE - SMALL_BOX_SIDE;
var DRAGGABLE_HEIGHT = 10