
 var ThisPageAddress=document.location.href;

function ShowSelectEncoding()
{
 var L=ThisPageAddress.length;
 var AddrBegin=ThisPageAddress.substring(0,L-8);
 var EncSuffix=ThisPageAddress.substring(L-8,L-5);

 var EncArray=new Array(
 ['win',	'WIN-1251'],
 ['koi',	'KOI8-R'],
 ['dos',	'DOS (CP-866)'],
 ['iso',	'ISO 8859-1'],
 ['utf',	'UTF-8'],
 ['uni',	'UNICODE'] );

document.writeln(
 '<table border=0 width=100%><tr><td align=left>'+
 '<a target=_self href="rus_transl.html" style="font-size:12pt">'+
 '&#1044;&#1088;&#1091;&#1075;&#1080;&#1077; '+
 '&#1087;&#1077;&#1088;&#1077;&#1074;&#1086;&#1076;&#1099;</a>'+
 '<td align=right>'+
 '<span style="font-size:12pt">Select encoding: </span>'+
 '<select onChange="document.location.replace(this.options[selectedIndex].value)">');

 for(var i=0;i<EncArray.length;i++)
 document.writeln(
 '<option'+ ((EncSuffix==EncArray[i][0])? ' selected ' : ' ' ) +
 'value="'+AddrBegin+
  EncArray[i][0]+'.html">'+
  EncArray[i][1]+'</option>');


 document.writeln('</select></table>');
}

var MyHomePage=
'http://cascade.man.ac.uk/cgi-bin/index.pl' +
'?cmd=user&action=show&display=item&cat=private' +
'&group=img&item=ezolin'+'@'+'cs.man.ac.uk' +
'&back=http://img.cs.man.ac.uk/people.shtml' +
'&next=http://img.cs.man.ac.uk/people.shtml' +
'&template=imgcs/supporting/ptemplate.shtml';

 var LM=new Date(document.lastModified);

       yy = LM.getYear();
       mm = LM.getMonth(); // JAN=0; FEB=1; ...
       dd = LM.getDate();

       hour  = LM.getHours();
       mins = LM.getMinutes();
       secs = LM.getSeconds();

       DD = ((dd<10)? "0" : "")+dd;
       MM = ((mm<9)? "0" : "")+ (mm+1);
       YYYY = 0+yy;

       Hour = ((hour<10)? "0" : "") + hour;
       Mins = ((mins<10)? "0" : "") + mins;
       Secs = ((secs<10)? "0" : "") + secs;

       DateString = DD + "." + MM + "." + YYYY;
       TimeString= Hour + ":" + Mins; // + ":" + Secs;

 var CounterImage='<img src="/cgi-bin/Count.cgi?ft=0&dd=A&df=ezolin.pisem.net.dat" align=absmiddle>';

function PrintEZSignature()
{
var EZSignature=
'&#1055;&#1077;&#1088;&#1077;&#1074;&#1086;&#1076;: '+
'<a target=_blank href="'+MyHomePage+'">&#1045;&#1074;&#1075;&#1077;&#1085;&#1080;&#1081; &#1047;&#1086;&#1083;&#1080;&#1085;</a>'+
'<br>&#1055;&#1086;&#1089;&#1083;&#1077;&#1076;&#1085;&#1080;&#1077; &#1080;&#1079;&#1084;&#1077;&#1085;&#1077;&#1085;&#1080;&#1103;: '+DateString+'&nbsp;'+TimeString +
'<BR>&#1050;&#1086;&#1084;&#1084;&#1077;&#1085;&#1090;&#1072;&#1088;&#1080;&#1080; &#1087;&#1088;&#1080;&#1089;&#1099;&#1083;&#1072;&#1081;&#1090;&#1077; &#1085;&#1072; e-mail: '+
'<A><U>ezolin&nbsp;[&#1089;&#1086;&#1073;&#1072;&#1082;&#1072;]&nbsp;cs.man.ac.uk</U></A>';

if(document.location.hostname=='ezolin.pisem.net')

 EZSignature +=
 '<br>&#1040;&#1076;&#1088;&#1077;&#1089; '+
 '&#1089;&#1090;&#1072;&#1090;&#1100;&#1080;: <A>'+
 ThisPageAddress + '</A>'+'<br>'+
 '&#1057;&#1095;&#1105;&#1090;&#1095;&#1080;&#1082; &#1095;&#1080;&#1089;&#1083;&#1072; &#1087;&#1086;&#1089;&#1077;&#1097;&#1077;&#1085;&#1080;&#1081;: '+
 CounterImage;

document.writeln('<H5 style="FONT-SIZE: 10pt" align=right>'+EZSignature+'</H5>');

}