The krpano object exports this 3 functions to javascript:
set(variable,value) ... sets the variable to the value get(variable) ... returns the value of the variable call(action) ... calls a action
variable - can be any of the API varibles descriped in here: API
value - the value of / for this variable
action - any of the actions descriped in here: Actions