Functioning code. Yay!
Page is very ugly; maybe start thinking about css.