cleaned up code. hopefully fixed fade andand ajax