added flash and Jquery close