function year() {
var d = new Date()
document.write(d.getFullYear())
}