Javascript: window.setTimeout permission denied

Why does an HTML page that uses Window.SetTimeout work on my home development server, but not Dreamhosts’s production server?

The javascript is: ed.contentWindow.setTimeout("…");

The error is: uncaught exception: Permission denied to get property Window.setTimeout

I understand that different server settings may be in effect, but I didn’t think it’s possible that they could restrict javascript functions. Is there a workaround? Is there a different method I can use?

problem = solved

reason for original posting = i’m an idiot