" features = "dialogWidth:" + warnWidth + "px; dialogHeight:" + warnHeight + "px; dialogTop: px; dialogLeft: px; center:yes; help:no; status:no; resizable:no;"; window.showModalDialog(warnContent, 0, features); } else { timerWindow = window.open("","timer","width=" + warnWidth + ",height=" + warnHeight + ",resizable=yes"); message = warnMessage; window.setTimeout('DoMessage(timerWindow,message);',200); window.setTimeout('CloseWindow(timerWindow);',warnTime); } } window.setTimeout('DoTimer()',1000); } else { // give time limit reached message and submit the page if (isIE) { warnContent = "about:" + warnHead + warnBody + warnTitle + finishMessage + "\" features = "dialogWidth:" + warnWidth + "px; dialogHeight:" + warnHeight + "px; dialogTop: px; dialogLeft: px; center:yes; help:no; status:no; resizable:no;"; window.showModalDialog(warnContent, 0, features); if (QMJava) { CheckApplets(); } document.forms[0].FINISH.value = "TIMER"; document.forms[0].submit(); } else { timerWindow = window.open("","timer","width=" + warnWidth + ",height=" + warnHeight + ",resizable=yes"); message = finishMessage; window.setTimeout('DoMessage(timerWindow,message)',200); window.setTimeout('Finish(timerWindow)',warnTime); } } } // open a pop-up window for messages function DoMessage(msgWindow,msg) { msgWindow.document.open(); msgWindow.document.write(warnHead); msgWindow.document.write(warnBody); msgWindow.document.write(warnTitle); msgWindow.document.write(msg); msgWindow.document.write('