2007-06-20 insilmaril Added center function