[%assign var="CURRENT_BUTTON" value="SHOW2"%] [%if $ACTION == $ACTION_SHOW %] [%assign var="CURRENT_STATE" value="ON"%] [%else%] [%assign var="CURRENT_STATE" value="OFF"%] [%/if%] [%assign var="CURRENT_BUTTON" value="NEW2"%] [%if $ACTION == $ACTION_NEW || $ACTION == $ACTION_NEW_WRITE %] [%assign var="CURRENT_STATE" value="ON"%] [%else%] [%assign var="CURRENT_STATE" value="OFF"%] [%/if%] [%assign var="CURRENT_BUTTON" value="DETAILS2"%] [%if $ACTION == $ACTION_DETAILS %] [%assign var="CURRENT_STATE" value="ON"%] [%else%] [%assign var="CURRENT_STATE" value="OFF"%] [%/if%]