the 'variable' would need to be set before the xml parsing. That means before the loadpano() call or when embedding, then by using the 'initvars' setting (the normal vars will be passed after the xml parsing). Since version 1.19 it's also possible the pass the initvars via query parameters.