optimize show/hide siteName function