lastmoddate = new Date()
lastmoddate.setTime(
                   Date.parse(document.lastModified))
if(lastmoddate > 0) { 
  var month = lastmoddate.getMonth() + 1
  var day = lastmoddate.getDate()
  document.writeln("Senast uppdaterad " + (lastmoddate.getYear() + 0000) +
((month < 10) ? "-0" : "-") + month +
((day   < 10) ? "-0" : "-") + day)
}

