The following code worked perfectly when I was using a normal window, but now that I have changed it to a frameset, it does not work. I have been reading as much as I can find on the subject and I realize that there are a different set of rules with "parent" etc. Please advise.
<SCRIPT language="JavaScript">
<!--
// reset timer
var timer = window.setTimeout('closeWindow()',1800000);
function resetTimer()
{
window.opener.resetTimer();
window.clearTimeout(timer);
timer = window.setTimeout('closeWindow()',1800000);
}
function closeWindow()
{
window.close();
}
//-->
</SCRIPT>
<BODY onFocus="resetTimer()">