public static void insertAfter ( Element newElement , Element after ) { after . parentNode . insertBefore ( newElement , after . nextSibling ) ; }
Inserts the specified element into the parent of the after element .