Viewer Window Event Reactive Script Example