trade some nasty css and ugly buttons for a little tighter coupling with javascript...meh