The price of gold hit an all-time high Wednesday for the second straight day. The dollar's decline has been one of the main factors behind gold's rise. Analysts say many investors are buying gold as a hedge against the possibility of further declines in the dollar.