Enabling map with a script

I want to disable the map in my game with a script during longer passages so there is more room to display text, is there a way to use a script to activate the map or maybe move it to one of the panes?


You can hide the map with
JS.ShowGrid (1)

Best ist to save the original size with
game.originalsize=game.mapsize

and then restore it with
JS.ShowGrid (game.originalsize)