rem: tmp = children[i+1]; toParent.insertBefore(children[i+1]); 
add: toParent.insertBefore(from,children[i+1]); 
context: function dragable_moveContent(from, to,position) {    if (from!=to && from && to) {            var fromParent = from.parentNode;        fromParent.removeChild(from);        if (dragable_getElementChildren(fromParent).length == 0) {            dragable_appendBlankRow(fromParent);        }        var toParent = to.parentNode;        var toChildren = dragable_getElementChildren(toParent);                if (toChildren[0].id.indexOf("blank") != -1) {            toParent.removeChild(document.getElementById(toChildren[0].id));            toParent.appendChild(from);        }else if (position == "top"){            toParent.insertBefore( from, to );        }else {            children = dragable_getElementChildren(toParent);            i=0;            while(children[i] != to && i < children.length) {                i++;            }            if (i == children.length - 1) {                toParent.appendChild(from);                            }else {                tmp = children[i+1];                toParent.insertBefore(children[i+1]);            }        }    }}
meta: 5314	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5314/97d254ea98c5bab27686f86e4f6c9c82f8b3ead3/draggable.js/clean/www/extras/draggable.js