<% if(chk) { %>
OK, I got it. Don't show me this again.
<% } %>
<% if(close) { %>
<% } %>