
function topline()
{ 
      now = new Date;   
      var day = now.getDate();
      var month = now.getMonth() + 1; 
      var year = now.getFullYear();  
      document.write("Today is  " + day + " / "+ month + " / " + year + " ---- ");

if (navigator.appName != "Netscape") // ie other browsers eg IE
   {
      if(document.lastModified.substring(3,4)!="0")         
	day=document.lastModified.substring(3,5);   
      else	day = document.lastModified.substring(4,5);  
      if(document.lastModified.substring(0,1)!="0")         
	month = document.lastModified.substring(0,2);  
      else	month = document.lastModified.substring(1,2);   
      year = document.lastModified.substring(6,10);   
      document.write("This page was updated  " + day + " / "+ month + " / " + year + " ---- ");
      document.write( "Copyright &copy; "  + year + " OLO");

  }
else // ie a Netscape browser
   {
    var i=0;
    while (document.lastModified[i] != ':')  i++ ; // find the first colon 

    var moddate = document.lastModified.substring(0, i-3); // trim off three chars before colon
     if (moddate[i-11] != '0')
    {
    document.write("This page was updated " + moddate);
    }
  else
    {
     document.write("This page was updated " ); 
     document.write(moddate.substring(0,i-11));
     document.write(moddate.substring(i-10,i-3));
     }
    document.write( "Copyright &copy; "  + year + " OLO");

    document.write( " ---- Text and images copyright");
     }
 }
