Note:
Replaces one element node with another.
Syntax:
document.getElementById("elementID").replaceChild(param1, param2)
document.all.elementID.replaceChild(param1, param2) // IE only
Parameters:
param1 Required; the replacement element node.
param2 Required; the element node to be replaced.