Extending the Scripting Object Model Across Pages
getState Method
setState Method
setproperty Method