/* -*- c++ -*- */

function age() {
	var birth = new Date(1982, 4, 28);
	var auj = new Date();

	var delta = new Date();
	delta.setTime(auj.getTime()-birth.getTime());
	return delta.getFullYear()-1970;
}

function set_age(ident) {
	var age_to_replace=document.getElementById(ident).firstChild;

	age_to_replace.nodeValue = age();
}
