You must create mylayer1Div before creating mychild1Div

create mylayer1Div
create mychild1Div

destroy myLayer1Div
destroy mychild1Div

Check existance:
mylayer1Div
mylayer1 (DynLayer)
mychild1Div
mychild1 (DynLayer)