// END OF PAGE STUFF

// Start of LAST-MODIFIED DATE AND COPYRIGHT
document.writeln('<table width=770 border=0 cellpadding=0 cellspacing=0 align="center">');
document.writeln('<tr><td><div class="smalltext">');
lastmoddate=Date.parse(document.lastModified);  // get string of last modified date, convert modified string to # millisecs since epoch
if (lastmoddate != 0)  // 0 is unknown date (or January 1, 1970 GMT)
{
  if (lastmoddate < 0) lastmoddate=lastmoddate+3155763600000;  // MSIE doesn't get this right! so add a thousand years in millisecs
  month=["January","February","March","April","May","June","July","August","September","October","November","December"]
  wdy=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];
  when=new Date(lastmoddate);  // Make Date object with that date
  mdate=when.getDate();
  ordinal="th";
  if (mdate==1 || mdate==21 || mdate==31) ordinal="st";
  if (mdate==2 || mdate==22) ordinal="nd";
  if (mdate==3 || mdate==23) ordinal="rd";
  mins=when.getMinutes();
  minstr=((mins<10)?'0':'')+mins.toString();
  document.write('Last updated: '+when.getHours()+':'+minstr+' '+wdy[when.getDay()]+' '+mdate+ordinal+' '+month[when.getMonth()]+' '+when.getFullYear());
}

document.writeln('<br></div></td><td align="right"><div class="smalltext">');
// Put CONTACT E-mail here if any
if (location.pathname != "/guide/mailform.html") {
  send="";
  home=location.pathname.split("/")[1];
  if (home == "appl") send="?send=0";
  if (home == "tech") send="?send=2";
  if (home == "psmsl") send="?send=3";
  document.write('<a href="http://cobs.pol.ac.uk/guide/mailform.html'+send+'" class="smalltext" onMouseOver="window.status='+"'"+'Send us your comments');
  document.writeln("'"+'; return true" onMouseOut="window.status='+"''"+'; return true" >Send us your comments</a>');
}
document.writeln('<br></div></td></tr></table>');

