Thanks Dear jbot for trying to help.
What you have noted is correct and I know it, but by changing the statement:
the script still fails on NS7, giving me the following error message - which I am not able to benefit thereof:
Error: uncaught exception: [Exception... "Not enough arguments [nsIDOMHTMLIFrameElement.cloneNode]"!
Do you know what should I do accordingly?