public functions for controll jshowoff