i have a html page like this:
<frameset rows="30,*" frameborder="0" framespacing="0" border="0">
<frame name="hltoolbar" src="hltoolbar_c.html" marginwidth="0" marginheight="0" scrolling="no" noresize>
<frameset cols="220,*" frameborder="0" framespacing="0" border="0">
<frame name="hltoc" src="toc.html" marginwidth="10" marginheight="10" scrolling="auto">
<frame name="hlmain" src="Frontend/SchedulesPlus/Intro.htm" marginwidth="10" marginheight="10" scrolling="auto">
</frameset>在另一个页面上有个函数:
function changeUrl(url)
{
elmWind = window.open(url,"wdwHelp","center=yes,toolbar=no,scrollbars=yes,");
if (!vHltoc=='')
the_timeout = setTimeout("elmWind.top.hltoc.location.href ='"+ vHltoc +"';", 100);
if (!vHlmain=='')
the_timeout = setTimeout("elmWind.top.hlmain.location.href ='"+ vHlmain +"';", 100);
}
当我点击一个连接的时候调用这个函数 先打开前面的一个页面
window.open(url);
当新窗口打开后,改变新窗口页面中的frame的连接地址,重新刷新打开的页面
 现在的问题是:
本地操作的时候 这样操作是正确的,当我远程操作的时候就出现JAVASCRIPT错误
是由于远程操作时新窗口出来的比较慢, frame对象还没来得及生成于是就找不到
elmWind.top.hlmain和elmWind.top.hltoc对象,
有人能告诉我怎么解决这个问题吗