');
w.writeln('');
w.writeln('');
w.writeln('<'+'!--');
w.writeln('setTimeout("window.blur();",5000);');
w.writeln('var uh,um,us,wina,winname;');
w.writeln('wina=new Object();');
w.writeln('uh='+uh+';');
w.writeln('if (uh>11) uh=uh-12;');
w.writeln('if (uh==0) uh=12;');
w.writeln('um='+um+';');
w.writeln('us='+us+';');
w.writeln('winname="'+winname+'";');
w.writeln('wina=window.open("",winname);');
w.writeln('function show()');
w.writeln('{');
w.writeln('var d,h,m,s,dh,dm,ds,winb,winname;');
w.writeln('winb=new Object();');
w.writeln('d=new Date();');
w.writeln('h=d.getHours();');
w.writeln('if (h>11) h=h-12;');
w.writeln('if (h==0) h=12;');
w.writeln('m=d.getMinutes();');
w.writeln('s=d.getSeconds();');
w.writeln('dh=uh-h;');
w.writeln('dm=um-m;');
w.writeln('ds=us-s;');
w.writeln('if (ds<0)');
w.writeln('{');
w.writeln(' ds=ds+60;');
w.writeln(' dm=dm-1;');
w.writeln('}');
w.writeln('if (dm<0)');
w.writeln('{');
w.writeln(' dm=dm+60;');
w.writeln(' dh=dh-1;');
w.writeln('}');
w.writeln('if (dh<0)');
w.writeln('{');
w.writeln(' dh=dh+12;');
w.writeln('}');
w.writeln('if (((dh==0)&&(dm==0)&&(ds==0))||((dh==11)&&(dm>50)))');
w.writeln('{');
w.writeln(' uh=""+uh;');
w.writeln(' um=""+um;');
w.writeln(' us=""+us;');
w.writeln(' if (um.length==1) um="0"+um;');
w.writeln(' if (us.length==1) us="0"+us;');
w.writeln(';');
w.writeln(' winname="alerter_message_"+h+"_"+m+"_"+s;');
w.writeln(' winb=window.open("",winname,"width=400,height=480,resizable");');
w.writeln(' winb.document.open("text/html");');
w.writeln(' w=winb.document;');
w.writeln(' w.writeln("");');
w.writeln(' w.writeln("");');
w.writeln(' w.writeln(winname);');
w.writeln(' w.writeln("");');
w.writeln(' w.writeln(\'
\');');
w.writeln(' w.writeln(\' The time of alert (\'+uh+\':\'+um+\':\'+us+\') was reached.
\');');
if (''!=document.forms[0].elements[elemmessage].value)
{
w.writeln(' w.writeln(\'The message :
\');');
w.writeln(' w.writeln(\'\');');
w.writeln(" w.writeln(unescape('"+escape(HTMLEncode(document.forms[0].elements[elemmessage].value))+"')+'
');");
w.writeln(' w.writeln("");');
}
w.writeln(' w.writeln(\'\');');
w.writeln(' w.writeln("");');
w.writeln(' w.writeln("");');
w.writeln(' w.writeln("");');
w.writeln(' w.writeln(
");');
w.writeln(' w.writeln("
");');
w.writeln(' w.close();');
w.writeln('}');
w.writeln('else');
w.writeln('{');
w.writeln(' document.forms[0].elements[0].value=dh;');
w.writeln(' document.forms[0].elements[1].value=dm;');
w.writeln(' document.forms[0].elements[2].value=ds;');
w.writeln(' setTimeout("show();",999);');
w.writeln('}');
w.writeln('}');
w.writeln('show();');
w.writeln('/'+'/-->');
w.writeln('');
w.writeln(' |