You can also add your own scripting code to a mashup script using the <script> statement. Your user-defined code is executed within mashup processing wherever <script> appears.
Note:
You can disable the <script> command to prevent anyone from using scripts in a mashup. See Disable Mashup Features for more information.