__removeChild__ = function(nodelist, refChildIndex) {
    var ret = null;

    if (refChildIndex > -1) {
        // found it!
        // return removed node
        ret = nodelist[refChildIndex];

        // rebuild array without removed child
        Array.prototype.splice.apply(nodelist,[refChildIndex, 1]);
    }
    // return removed node
    return ret;
}
@method __removeChild__
     remove the specified Node in the NodeList at the specified index
     Used by Node.removeChild(). Note: Node.removeChild() is responsible
     for Node Pointer surgery __removeChild__ simply modifies the internal
     data structure (Array).
@param  refChildIndex : int - the array index holding the Node to be removed