IE6,7,8 BUG Fixed & Code Refactor