function year() {  
var data = new Date();  
var now_year = data.getFullYear();  
document.write(now_year);  
}