Fixed cookie bug and style bug in IE.