These will eventually be replaced with jQuery, so I'm not going to bother changing them.