This is a javascript program that is helpfull for those who doesn't want to calculate there dives themself