Combined Window Event Reactive Script Example