Switch Register button with js lightbox