GALiRe
GScript command (docClose)
Function:
docClose will close the window when it is executed. i.e. -
<button onClick:docClose;>
This works outside of GALiRe Script, as long as it is within an event tag (ex. onLoad:;).