Duemilanove and potentiometers

I am not at home right now, but i have tested the function in PHP and i think it will do the hob. Will try it when i get home. Thank you.