  /* This script publishes the current year for the page*/    // establish a current date variable for the new Date      var curdate = new Date();    // year variable      var year = curdate.getFullYear();    // write results for the current year      document.write(year);  