<!--- Tag Attributes --->
<CFPARAM NAME="ATTRIBUTES.Command" TYPE="string">
<CFPARAM NAME="ATTRIBUTES.ArgsVariable" TYPE="variableName" DEFAULT="args">

<!--- If this tag is being called as a pair, and we have reached closing tag --->
<CFIF ThisTag.HasEndTag AND ThisTag.ExecutionMode EQ "End">
  <CFOUTPUT>
    if (command == "#JSStringFormat(ATTRIBUTES.Command)#") {
      <CFIF Compare(ATTRIBUTES.ArgsVariable, "args") NEQ 0>
      var #ATTRIBUTES.ArgsVariable# = args;
      </CFIF>
      #ThisTag.GeneratedContent#
    };
  </CFOUTPUT>
  <CFSET ThisTag.GeneratedContent = "">
</CFIF>