<script language="javascript">
<!--
var oTimerId;
function Timeout(){
alert("/n您好/n您可能已離開!/n很抱歉!!請重新進入課程/n謝謝!!");
return true;
}
function ReCalculate(){
oTimerId = setTimeout('Timeout()', 2000);
if (!top.frames[i].document.all && Timeout())
clearTimeout(oTimerId);
}
document.onmousedown = ReCalculate();
document.onmousemove = ReCalculate();
//-->
</script>
<!--
var oTimerId;
function Timeout(){
alert("/n您好/n您可能已離開!/n很抱歉!!請重新進入課程/n謝謝!!");
return true;
}
function ReCalculate(){
oTimerId = setTimeout('Timeout()', 2000);
if (!top.frames[i].document.all && Timeout())
clearTimeout(oTimerId);
}
document.onmousedown = ReCalculate();
document.onmousemove = ReCalculate();
//-->
</script>